修正接口请求
This commit is contained in:
@@ -147,7 +147,7 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
getComments() {
|
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) {
|
if (res.code === 0) {
|
||||||
this.comments = res.data.records
|
this.comments = res.data.records
|
||||||
}
|
}
|
||||||
@@ -155,7 +155,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getInfo() {
|
getInfo() {
|
||||||
this.instance.post("/todo/queryToDoList").then(res => {
|
this.instance.post("/app/todo/queryToDoList").then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
}
|
}
|
||||||
@@ -163,7 +163,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getNewsList() {
|
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) {
|
if (res.code === 0) {
|
||||||
this.news = res.data.records
|
this.news = res.data.records
|
||||||
}
|
}
|
||||||
@@ -171,7 +171,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getList() {
|
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}
|
params: {status: 0}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user