提交 ed6feabb authored 作者: lihuihui's avatar lihuihui

lock修改

上级 93b2013d
...@@ -42,7 +42,7 @@ Page({ ...@@ -42,7 +42,7 @@ Page({
/* 判别 是否显示 账号登录 */ /* 判别 是否显示 账号登录 */
wx.request({ wx.request({
url: util.config.URL_PATH1 + '/switch/lock', url: util.config.URL_PATH1 + '/switch/lock',
data: {}, method: 'GET', header: { tenant: util.config.tenant, apikey: 'pP5ECUqRDLDzuh4qRuJro0L1LPgjLP0N' }, success: res => { data: {}, method: 'GET', header: { tenant: 'survey', apikey: 'pP5ECUqRDLDzuh4qRuJro0L1LPgjLP0N' }, success: res => {
this.setData({ 'isUseAccountLogin': res.data.switch }) this.setData({ 'isUseAccountLogin': res.data.switch })
wx.setStorageSync('isUseAccountLogin', res.data.switch) wx.setStorageSync('isUseAccountLogin', res.data.switch)
} }
......
...@@ -10,7 +10,7 @@ const url_test = { ...@@ -10,7 +10,7 @@ const url_test = {
URL_PATH1: 'https://lms-api2.ezijing.com', // 正式域名 - 由于项目变动域名 URL_PATH1: 'https://lms-api2.ezijing.com', // 正式域名 - 由于项目变动域名
URL_PATH2: 'https://sso2.ezijing.com', // 正式域名 - 由于项目变动域名 URL_PATH2: 'https://sso2.ezijing.com', // 正式域名 - 由于项目变动域名
outSiteLink: 'https://e-learning.ezijing.com', // 正式外链 outSiteLink: 'https://e-learning.ezijing.com', // 正式外链
tenant: 'zjkelley', tenant: 'sofia',
version: '3.1.3' version: '3.1.3'
}; };
const url_online = { const url_online = {
...@@ -18,7 +18,7 @@ const url_online = { ...@@ -18,7 +18,7 @@ const url_online = {
URL_PATH1: 'https://lms-api.ezijing.com', // 正式域名 - 由于项目变动域名 URL_PATH1: 'https://lms-api.ezijing.com', // 正式域名 - 由于项目变动域名
URL_PATH2: 'https://sso.ezijing.com', // 正式域名 - 由于项目变动域名 URL_PATH2: 'https://sso.ezijing.com', // 正式域名 - 由于项目变动域名
outSiteLink: 'https://e-learning.ezijing.com', // 正式外链 outSiteLink: 'https://e-learning.ezijing.com', // 正式外链
tenant: 'zjkelley', tenant: 'sofia',
version: '3.1.3' version: '3.1.3'
} }
let config = url_online; let config = url_online;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论