修正接口请求
This commit is contained in:
@@ -82,7 +82,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
this.instance.post("/appfinancingdemand/queryDetailById", null, {
|
||||
this.instance.post("/app/appfinancingdemand/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
})
|
||||
},
|
||||
handleGrab() {
|
||||
this.instance.post("/appfinancingdemand/obtain", null, {
|
||||
this.instance.post("/app/appfinancingdemand/obtain", null, {
|
||||
params: {id: this.detail.id}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
@@ -102,7 +102,7 @@ export default {
|
||||
},
|
||||
handleCancel() {
|
||||
this.$confirm("是否要取消本次融资需求发布?").then(() => {
|
||||
this.instance.post("/appfinancingdemand/cancelObtain", null, {
|
||||
this.instance.post("/app/appfinancingdemand/cancelObtain", null, {
|
||||
params: {id: this.detail.id}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
|
||||
Reference in New Issue
Block a user