增加首页接单数据

This commit is contained in:
TOP糯米 2023-03-15 11:29:43 +08:00
parent 79136764c4
commit 7199cb6e23
2 changed files with 13 additions and 2 deletions

View File

@ -4,6 +4,11 @@ const apis = {
url: "/wxapp/index/one",
showLoading: true,
},
serviceData: {
url: "/user/workerinfo/datainfo",
showLoading: true,
auth: true,
},
},
user: {
sendCode: {
@ -28,7 +33,7 @@ const apis = {
setServiceInfo: {
url: "/user/workerinfo/setinfo",
auth: true,
}
},
},
service: {
cate: {

View File

@ -134,7 +134,13 @@ export default {
AppLayout,
},
onLoad() {},
onShow() {},
onShow() {
this.$request({
api: "system.serviceData",
}).then((response) => {
console.log(response);
});
},
onReady() {},
onReachBottom() {},
onPullDownRefresh() {},