代码拉取完成,页面将自动刷新
function e(e, t, n) {
return t in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
var t;
App({
onLaunch: function() {
var e = this;
wx.cloud.init();
var t = this;
wx.getSetting({
success: function(e) {
e.authSetting["scope.userInfo"] ? t.scopeUserInfo = 1 : t.scopeUserInfo = 0;
}
}), this.globalData.myDevice = wx.getSystemInfoSync(), wx.login({
success: function(e) {}
}), wx.getSetting({
success: function(t) {
t.authSetting["scope.userInfo"] && wx.getUserInfo({
success: function(t) {
e.globalData.userInfo = t.userInfo, e.userInfoReadyCallback && e.userInfoReadyCallback(t);
}
});
}
}), wx.request({
url: "https://ishare20.net/gifmaker/appset.json",
headers: {
"Content-Type": "application/json"
},
success: function(e) {
t.globalData.appset = e.data;
}
}), wx.request({
url: "https://ishare20.net/gifmaker/wxminiset.json",
headers: {
"Content-Type": "application/json"
},
success: function(e) {
t.globalData.wxminiset = e.data;
}
});
},
globalData: (t = {
userInfo: null,
myDevice: null,
imgUrl: [],
selectImageUrl: "",
apiUrl: "https://ishare20.net/textToPic"
}, e(t, "userInfo", null), e(t, "ad", {}), e(t, "appset", {}), e(t, "appid", "wxb95c179e268861ca"),
e(t, "wxminiset", []), t)
});
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。