修改api
This commit is contained in:
parent
f5b71404ec
commit
f5a21ad39b
|
@ -6,12 +6,6 @@ export default {
|
||||||
notify: {
|
notify: {
|
||||||
url: "/index/message",
|
url: "/index/message",
|
||||||
},
|
},
|
||||||
install: {
|
|
||||||
url: "/index/category1",
|
|
||||||
},
|
|
||||||
aftermarket: {
|
|
||||||
url: "/index/category2",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
user: {
|
user: {
|
||||||
sendCode: {
|
sendCode: {
|
||||||
|
@ -31,4 +25,12 @@ export default {
|
||||||
auth: true,
|
auth: true,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
service: {
|
||||||
|
aftermarket: {
|
||||||
|
url: "/index/category2",
|
||||||
|
},
|
||||||
|
cate: {
|
||||||
|
url: "/index/category1",
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -135,7 +135,7 @@ export default {
|
||||||
});
|
});
|
||||||
// 服务
|
// 服务
|
||||||
this.$request({
|
this.$request({
|
||||||
api: "index.install",
|
api: "service.cate",
|
||||||
}).then((response) => {
|
}).then((response) => {
|
||||||
response.data.forEach((item) => {
|
response.data.forEach((item) => {
|
||||||
this.installServiceList.push({
|
this.installServiceList.push({
|
||||||
|
@ -147,7 +147,7 @@ export default {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
this.$request({
|
this.$request({
|
||||||
api: "index.aftermarket",
|
api: "service.aftermarket",
|
||||||
}).then((response) => {
|
}).then((response) => {
|
||||||
response.data.forEach((item) => {
|
response.data.forEach((item) => {
|
||||||
this.aftermarketServiceList.push({
|
this.aftermarketServiceList.push({
|
||||||
|
|
Loading…
Reference in New Issue