no message

This commit is contained in:
2024-03-20 18:16:30 +08:00
parent 6fe05463fa
commit edc6a1df50
8 changed files with 106 additions and 81 deletions

View File

@@ -1,4 +1,4 @@
var e = require("../@babel/runtime/helpers/typeof"), o = (require("./common.js"),
var e = require("../@babel/runtime/helpers/typeof"), o = (require("./common.js"),
null), a = null;
function t() {
@@ -78,18 +78,18 @@ function n(a) {
}
function c(e, a) {
console.log("appstart", e), o = a, n("https://jm.v0750.com/miniprogram", {
console.log("appstart", e), o = a, n("https://jmqf.v0750.com/miniprogram", {
code: e
}, !0).then(function(e) {
var o = e.data;
console.log("总接口", o), a.globalData.user = o.user, wx.setStorageSync("session", o.user.session),
a.globalData.isUserAuthorization = o.user > 0 ? 2 : 1, a.globalData.config = o.config,
console.log("总接口", o), a.globalData.user = o.user, wx.setStorageSync("session", o.user.session),
a.globalData.isUserAuthorization = o.user > 0 ? 2 : 1, a.globalData.config = o.config,
a.globalData.servicetel = o.servicetel, a.globalData.canGetData = !0, a.globalData.protocol = o.protocol;
});
}
module.exports = {
initial_url: "https://jm.v0750.com/miniprogram",
initial_url: "https://jmqf.v0750.com/miniprogram",
login: t,
request: n,
pageStart: function(e) {
@@ -106,9 +106,9 @@ module.exports = {
c(res.code, e);
});
},
baseUrl: "https://jm.v0750.com/",
baseUrl: "https://jmqf.v0750.com/",
getDevicecode: function(e, a) {
o = e, n("https://jm.v0750.com/miniprogram/identify/reload", a, !0).then(function(e) {
o = e, n("https://jmqf.v0750.com/miniprogram/identify/reload", a, !0).then(function(e) {
var a = e.data;
console.log("onshow获取到的数据", a), o.globalData.devicecode = a.devicecode || o.globalData.devicecode;
});