Commit f69a96ae by ‘sz8501’

代码更新

1 parent 2f6bfd1e
......@@ -116,11 +116,11 @@ App({
},
loginSuccessCallback: function (a) {
console.log(a)
let m = {}
m.merchantId = a.merchantId;
m.merchantName = a.merchantName;
m.merchantAccountLevel = a.merchantAccountLevel;
a.merchant = m;
// let m = {}
// m.merchantId = a.merchantId;
// m.merchantName = a.merchantName;
// m.merchantAccountLevel = a.merchantAccountLevel;
// a.merchant = m;
this.globalData.userInfo = a;
this.globalData.accountId = a.accountId;
this.userInfoReadyCallback && this.userInfoReadyCallback(a);
......
......@@ -7,6 +7,7 @@
"pages/upgrade/upgrade",
"pages/auth/login/login",
"pages/login/index/index",
"pages/index/index",
"pages/login/accountItems/accountItems",
"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
{
"usingComponents": {
"navigation-bar": "../../../components/navigationBar/navigationBar",
"auth-setting": "../../../components/authSetting/authSetting",
"share": "../../../components/share/share"
}
}
\ 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
{
"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
......@@ -33,7 +33,7 @@ Page({
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({
url: e.globalData.filterPath
}) : wx.switchTab({
}) : wx.navigateTo({
url: "../../../pages/tab/index/index"
})) : wx.showToast({
title: t.message,
......
{
"description": "项目配置文件",
"packOptions": {
"ignore": []
"ignore": [],
"include": []
},
"setting": {
"bundle": false,
......@@ -31,39 +32,20 @@
"packNpmRelationList": [],
"minifyWXSS": true,
"showES6CompileOption": false,
"minifyWXML": true
"minifyWXML": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"compileType": "miniprogram",
"libVersion": "2.22.0",
"appid": "wxf6f6f871d6c35b23",
"projectname": "eims%E5%B0%8F%E7%A8%8B%E5%BA%8F",
"debugOptions": {
"hidedInDevtools": []
},
"scripts": {},
"staticServerOptions": {
"baseURL": "",
"servePath": ""
},
"isGameTourist": false,
"condition": {
"search": {
"list": []
},
"conversation": {
"list": []
},
"game": {
"list": []
},
"plugin": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": []
}
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 4
}
}
\ No newline at end of file
......@@ -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_";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!