修改api

This commit is contained in:
TOP糯米 2023-03-08 01:08:56 +08:00
parent f5b71404ec
commit f5a21ad39b
2 changed files with 10 additions and 8 deletions

View File

@ -6,12 +6,6 @@ export default {
notify: {
url: "/index/message",
},
install: {
url: "/index/category1",
},
aftermarket: {
url: "/index/category2",
},
},
user: {
sendCode: {
@ -31,4 +25,12 @@ export default {
auth: true,
}
},
service: {
aftermarket: {
url: "/index/category2",
},
cate: {
url: "/index/category1",
},
},
}

View File

@ -135,7 +135,7 @@ export default {
});
//
this.$request({
api: "index.install",
api: "service.cate",
}).then((response) => {
response.data.forEach((item) => {
this.installServiceList.push({
@ -147,7 +147,7 @@ export default {
});
});
this.$request({
api: "index.aftermarket",
api: "service.aftermarket",
}).then((response) => {
response.data.forEach((item) => {
this.aftermarketServiceList.push({