修正接口请求
This commit is contained in:
		| @@ -147,7 +147,7 @@ export default { | ||||
|  | ||||
|   methods: { | ||||
|     getComments() { | ||||
|       this.instance.post('/appleavemessage/list?current=1&size=10').then(res => { | ||||
|       this.instance.post('/app/appleavemessage/list?current=1&size=10').then(res => { | ||||
|         if (res.code === 0) { | ||||
|           this.comments = res.data.records | ||||
|         } | ||||
| @@ -155,7 +155,7 @@ export default { | ||||
|     }, | ||||
|  | ||||
|     getInfo() { | ||||
|       this.instance.post("/todo/queryToDoList").then(res => { | ||||
|       this.instance.post("/app/todo/queryToDoList").then(res => { | ||||
|         if (res?.data) { | ||||
|           this.info = res.data | ||||
|         } | ||||
| @@ -163,7 +163,7 @@ export default { | ||||
|     }, | ||||
|  | ||||
|     getNewsList() { | ||||
|       this.instance.post('/appnews/list?current=1&size=10').then(res => { | ||||
|       this.instance.post('/app/appnews/list?current=1&size=10').then(res => { | ||||
|         if (res.code === 0) { | ||||
|           this.news = res.data.records | ||||
|         } | ||||
| @@ -171,7 +171,7 @@ export default { | ||||
|     }, | ||||
|  | ||||
|     getList() { | ||||
|       this.instance.post('/appfinancingdemand/list?current=1&size=8', null, { | ||||
|       this.instance.post('/app/appfinancingdemand/list?current=1&size=8', null, { | ||||
|         params: {status: 0} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user