Commit f69a96ae by ‘sz8501’

代码更新

1 parent 2f6bfd1e
...@@ -116,11 +116,11 @@ App({ ...@@ -116,11 +116,11 @@ App({
}, },
loginSuccessCallback: function (a) { loginSuccessCallback: function (a) {
console.log(a) console.log(a)
let m = {} // let m = {}
m.merchantId = a.merchantId; // m.merchantId = a.merchantId;
m.merchantName = a.merchantName; // m.merchantName = a.merchantName;
m.merchantAccountLevel = a.merchantAccountLevel; // m.merchantAccountLevel = a.merchantAccountLevel;
a.merchant = m; // a.merchant = m;
this.globalData.userInfo = a; this.globalData.userInfo = a;
this.globalData.accountId = a.accountId; this.globalData.accountId = a.accountId;
this.userInfoReadyCallback && this.userInfoReadyCallback(a); this.userInfoReadyCallback && this.userInfoReadyCallback(a);
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"pages/upgrade/upgrade", "pages/upgrade/upgrade",
"pages/auth/login/login", "pages/auth/login/login",
"pages/login/index/index", "pages/login/index/index",
"pages/index/index",
"pages/login/accountItems/accountItems", "pages/login/accountItems/accountItems",
"pages/order/index" "pages/order/index"
], ],
......
{
"usingComponents": {
"van-field": "../../../components/vant/field/index",
"van-cell": "../../../components/vant/cell/index",
"van-cell-group": "../../../components/vant/cell-group/index",
"van-popup": "../../../components/vant/popup/index",
"van-picker": "../../../components/vant/picker/index",
"navigation-bar": "../../../components/navigationBar/navigationBar",
"auth-setting": "../../../components/authSetting/authSetting",
"share": "../../../components/share/share"
}
}
\ No newline at end of file \ No newline at end of file
{
"usingComponents": {
"navigation-bar": "../../../components/navigationBar/navigationBar",
"auth-setting": "../../../components/authSetting/authSetting",
"share": "../../../components/share/share"
}
}
\ No newline at end of file \ No newline at end of file
{
"usingComponents": {
"navigation-bar": "../../../components/navigationBar/navigationBar",
"auth-setting": "../../../components/authSetting/authSetting",
"share": "../../../components/share/share"
}
}
\ No newline at end of file \ No newline at end of file
{
"usingComponents": {
"van-icon": "../../../components/vant/icon/index",
"navigation-bar": "../../../components/navigationBar/navigationBar",
"auth-setting": "../../../components/authSetting/authSetting",
"share": "../../../components/share/share"
}
}
\ No newline at end of file \ No newline at end of file
...@@ -33,7 +33,7 @@ Page({ ...@@ -33,7 +33,7 @@ Page({
t.default.choiceAccountLogin(o, function(t) { t.default.choiceAccountLogin(o, function(t) {
console.log(t), 0 == t.returnCode ? (e.globalData.userInfo = t.data, e.globalData.filterPath && "" != e.globalData.filterPath ? wx.redirectTo({ console.log(t), 0 == t.returnCode ? (e.globalData.userInfo = t.data, e.globalData.filterPath && "" != e.globalData.filterPath ? wx.redirectTo({
url: e.globalData.filterPath url: e.globalData.filterPath
}) : wx.switchTab({ }) : wx.navigateTo({
url: "../../../pages/tab/index/index" url: "../../../pages/tab/index/index"
})) : wx.showToast({ })) : wx.showToast({
title: t.message, title: t.message,
......
{ {
"description": "项目配置文件", "description": "项目配置文件",
"packOptions": { "packOptions": {
"ignore": [] "ignore": [],
"include": []
}, },
"setting": { "setting": {
"bundle": false, "bundle": false,
...@@ -31,39 +32,20 @@ ...@@ -31,39 +32,20 @@
"packNpmRelationList": [], "packNpmRelationList": [],
"minifyWXSS": true, "minifyWXSS": true,
"showES6CompileOption": false, "showES6CompileOption": false,
"minifyWXML": true "minifyWXML": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.22.0", "libVersion": "2.22.0",
"appid": "wxf6f6f871d6c35b23", "appid": "wxf6f6f871d6c35b23",
"projectname": "eims%E5%B0%8F%E7%A8%8B%E5%BA%8F", "projectname": "eims%E5%B0%8F%E7%A8%8B%E5%BA%8F",
"debugOptions": { "condition": {},
"hidedInDevtools": [] "editorSetting": {
}, "tabIndent": "insertSpaces",
"scripts": {}, "tabSize": 4
"staticServerOptions": {
"baseURL": "",
"servePath": ""
},
"isGameTourist": false,
"condition": {
"search": {
"list": []
},
"conversation": {
"list": []
},
"game": {
"list": []
},
"plugin": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": []
}
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -42,10 +42,10 @@ function n(t) { ...@@ -42,10 +42,10 @@ function n(t) {
} }
//测试环境 //测试环境
//var o = "https://dj.test.glsx.com.cn"; var o = "https://dj.test.glsx.com.cn";
// 正式环境 // 正式环境
var o = "https://gps.cgacar.com"; //var o = "https://gps.cgacar.com";
var e = "DJ_S_"; var e = "DJ_S_";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!