fix(byhlc112): switch to h5y2c domains
This commit is contained in:
@@ -10,14 +10,14 @@
|
||||
1.新项目公司名称,eg:宝应宏煜春商贸,
|
||||
2.使用"宝应宏煜春商贸"的**HTML十进制实体**编码,修改wa_options表中name=system_config中的value值里的title信息,
|
||||
3.相关配置项:
|
||||
A. **寄卖商城API地址**:https://admin.lehoo6.com/api
|
||||
B. **寄卖商城后台地址**:https://admin.lehoo6.com
|
||||
C. **寄卖商城H5地址**:https://lehoo6.com/
|
||||
D. **云服务器寄卖商城H5目录**:/www/wwwroot/lehoo6.com
|
||||
E. **云服务器寄卖商城后台目录**:/www/wwwroot/admin.lehoo6.com
|
||||
A. **寄卖商城API地址**:https://admin.h5y2c.com/api
|
||||
B. **寄卖商城后台地址**:https://admin.h5y2c.com
|
||||
C. **寄卖商城H5地址**:https://h5y2c.com/
|
||||
D. **云服务器寄卖商城H5目录**:/www/wwwroot/h5y2c.com
|
||||
E. **云服务器寄卖商城后台目录**:/www/wwwroot/admin.h5y2c.com
|
||||
|
||||
F. **积分商城地址**:https://jf.lehoo6.com
|
||||
G. **云服务器积分商城目录**:/www/wwwroot/jf.lehoo6.com
|
||||
F. **积分商城地址**:https://jf.h5y2c.com
|
||||
G. **云服务器积分商城目录**:/www/wwwroot/jf.h5y2c.com
|
||||
|
||||
4. 短信服务
|
||||
SMS_SIGNNAME = '宝应宏煜春商贸'
|
||||
@@ -34,17 +34,17 @@
|
||||
|
||||
A.修改h5/static/configs.js中如下内容
|
||||
TITLE: '宝应宏煜春商贸',
|
||||
BASE_URL: 'https://admin.lehoo6.com/api',
|
||||
IMG_URL: 'https://admin.lehoo6.com',
|
||||
H5_URL: 'https://lehoo6.com',
|
||||
BASE_URL: 'https://admin.h5y2c.com/api',
|
||||
IMG_URL: 'https://admin.h5y2c.com',
|
||||
H5_URL: 'https://h5y2c.com',
|
||||
**sn_id**、**appStr**必须修改为webman.bin相关中的值
|
||||
|
||||
B. 修改h5/static/js/pages-personal-index.6f5415f9.js
|
||||
第270行:https://jf.lehoo6.com/pages/integral/points?username=
|
||||
第270行:https://jf.h5y2c.com/pages/integral/points?username=
|
||||
|
||||
C. 修改h5/static/js/pages-sub-pages-webview-index.1042489b.js
|
||||
第15行:https://jf.lehoo6.com/?sn_id
|
||||
第43行:https://jf.lehoo6.com/?user_id=
|
||||
第15行:https://jf.h5y2c.com/?sn_id
|
||||
第43行:https://jf.h5y2c.com/?user_id=
|
||||
|
||||
### **寄卖商城后端**项目中需要修改的文件
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
"use strict"
|
||||
const configs = {
|
||||
TITLE: '宝应宏煜春商贸',
|
||||
BASE_URL: 'https://admin.lehoo6.com/api',
|
||||
IMG_URL: 'https://admin.lehoo6.com',
|
||||
H5_URL: 'https://lehoo6.com/',
|
||||
BASE_URL: 'https://admin.h5y2c.com/api',
|
||||
IMG_URL: 'https://admin.h5y2c.com',
|
||||
H5_URL: 'https://h5y2c.com/',
|
||||
contractPage: 10012,
|
||||
// 须与积分商城 wa_options 及寄卖后台 APP_SECRET 一致;上线前从后台核对后填入,勿沿用他司示例值。
|
||||
sn_id: 17533260260529,
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
// http://jf.suzhouyuqi.com/pages/integral/points?username=
|
||||
arguments[0] = e = t.$handleEvent(e),
|
||||
window.location.href =
|
||||
"https://jf.lehoo6.com/pages/integral/points?username=" +
|
||||
"https://jf.h5y2c.com/pages/integral/points?username=" +
|
||||
t.userInfo.mobile + "#/pages/integral/points"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
o = {
|
||||
data: function() {
|
||||
return {
|
||||
urlSrc: "https://jf.lehoo6.com/?sn_id=".concat(uni.$sn_id),
|
||||
urlSrc: "https://jf.h5y2c.com/?sn_id=".concat(uni.$sn_id),
|
||||
passback: ""
|
||||
}
|
||||
},
|
||||
@@ -40,7 +40,7 @@
|
||||
void 0 === a ?
|
||||
void 0 : a.id,
|
||||
e.passback && setTimeout((function() {
|
||||
window.location.href = "https://jf.lehoo6.com/?user_id=" + e.passback
|
||||
window.location.href = "https://jf.h5y2c.com/?user_id=" + e.passback
|
||||
}), 200));
|
||||
case 4:
|
||||
case "end":
|
||||
|
||||
Reference in New Issue
Block a user