修正接口请求

This commit is contained in:
aixianling
2022-08-26 14:24:34 +08:00
parent 44ca30cbf3
commit ce1fd46b7e
53 changed files with 151 additions and 151 deletions

View File

@@ -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) {