|
|
|
@ -116,7 +116,7 @@ export function createApp () {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getAgencyInfo () {
|
|
|
|
getAgencyInfo (callback=()=>{}) {
|
|
|
|
let that = this
|
|
|
|
let that = this
|
|
|
|
G.Get("/yishoudan/agency/getInfo", {}, (res) => {
|
|
|
|
G.Get("/yishoudan/agency/getInfo", {}, (res) => {
|
|
|
|
let obj = { ...res.agency, ...res.weixinConfig }
|
|
|
|
let obj = { ...res.agency, ...res.weixinConfig }
|
|
|
|
@ -130,6 +130,7 @@ export function createApp () {
|
|
|
|
uni.setStorageSync("pgy-agency-id", res.agency.id);
|
|
|
|
uni.setStorageSync("pgy-agency-id", res.agency.id);
|
|
|
|
uni.setStorageSync("ai-name", res.agency.aiRobotName);
|
|
|
|
uni.setStorageSync("ai-name", res.agency.aiRobotName);
|
|
|
|
uni.setStorageSync("ai-logo", res.agency.aiLogo);
|
|
|
|
uni.setStorageSync("ai-logo", res.agency.aiLogo);
|
|
|
|
|
|
|
|
callback();
|
|
|
|
// app.$forceUpdate();
|
|
|
|
// app.$forceUpdate();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|