mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
14 lines
485 B
PHP
14 lines
485 B
PHP
!(function () {
|
|
if (typeof wx === 'object') {
|
|
wx.openid = '{$fansinfo.openid|default=""}';
|
|
wx.unionid = '{$fansinfo.unionid|default=""}';
|
|
wx.getUserInfo = function () {
|
|
return eval('{$fansinfo|default=[]|json_encode=###,256|raw}');
|
|
};
|
|
wx.config(eval('({$jssdk|default=[]|json_encode=###,256|raw})'));
|
|
wx.ready(function () {
|
|
wx.hideOptionMenu();
|
|
wx.hideAllNonBaseMenuItem();
|
|
});
|
|
}
|
|
})(); |