mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
154ef170c6
commit
7db25b8d2b
@ -75,6 +75,14 @@ export function autoLoginWechat(options) {
|
||||
return;
|
||||
}
|
||||
|
||||
//todo 如果参数中带了wAppId
|
||||
let _wAppId = options.wAppId;
|
||||
|
||||
if(_wAppId){
|
||||
_generatorOpenId(options, _wAppId);
|
||||
return;
|
||||
}
|
||||
|
||||
let _objType = "1100"; // todo public
|
||||
// #ifdef MP-WEIXIN
|
||||
_objType = "1000";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user