Commit 20913744 by zhujian

fix:rtyuiopk

parent 8289ae1e
......@@ -15,7 +15,9 @@ import Service from '@/common/js/service';
export default class WechatApi {
static async initConfig(params = { isAgentConfig: false, url: '' }) {
if (Platform.isWorkWx()) {
return Service.Hades('anon/hades/getWxCorpJSAPISignature', {
return new Promise(async (resolve, reject) => {
Service.Hades('anon/hades/getWxCorpJSAPISignature', {
storeId: User.getStoreId(),
url: params.url,
}).then((result) => {
......@@ -58,6 +60,8 @@ export default class WechatApi {
});
})
} else {
if (params.isAgentConfig) {
console.log(32132132, 'cesgu')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment