Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d17c51b07 | ||
|
|
850e2271d1 | ||
|
|
24b346df51 |
54
docs/resell-change-czrt6.md
Executable file
54
docs/resell-change-czrt6.md
Executable file
@@ -0,0 +1,54 @@
|
|||||||
|
|
||||||
|
# 新公司(池州瑞棠商贸有限公司)项目的h5端(目录:h5) 修改任务
|
||||||
|
|
||||||
|
## 配置项修改
|
||||||
|
|
||||||
|
1.新项目公司名称,eg:瑞棠商贸,
|
||||||
|
2.使用"瑞棠商贸"的**HTML十进制实体**编码,修改wa_options表中name=system_config中的value值里的title信息,
|
||||||
|
3.相关配置项:
|
||||||
|
A. **寄卖商城API地址**:eg:https://admin.czruitang.com/api
|
||||||
|
B. **寄卖商城后台地址**:eg:https://admin.czruitang.com
|
||||||
|
C. **寄卖商城H5地址**:eg:https://czruitang.com/
|
||||||
|
D. **云服务器寄卖商城H5目录**:eg:/www/wwwroot/czruitang.com
|
||||||
|
E. **云服务器寄卖商城后台目录**:eg:/www/wwwroot/admin.czruitang.com
|
||||||
|
|
||||||
|
F. **积分商城地址**:eg:https://jf.czruitang.com
|
||||||
|
G. **云服务器积分商城目录**:eg:/www/wwwroot/jf.czruitang.com
|
||||||
|
|
||||||
|
4. 短信服务
|
||||||
|
SMS_SIGNNAME = '池州瑞棠商贸'
|
||||||
|
SMS_TEMPLATE = 'SMS_333875031'
|
||||||
|
SMS_KEYID = 'LTAI5tHuFLULvQ8v6tkUNvSK'
|
||||||
|
SMS_KEYSECRET = 'lzIEXnvdmIqY8PhR6zpQxR6rJ0ON4v'
|
||||||
|
|
||||||
|
5. **webman.bin相关**
|
||||||
|
sn_id: 17533260260413
|
||||||
|
APP_SECRET: ZFyTNQTWEkCBczKzyUDJWE9Ecx260413
|
||||||
|
|
||||||
|
|
||||||
|
## **修改任务**
|
||||||
|
|
||||||
|
- 新建czrt6分支,合并czc231分支的最新代码到该分支,并根据上述信息修改相关需要变更项,使符合该新公司项目环境
|
||||||
|
|
||||||
|
### **寄卖商城H5**中需要修改的文件
|
||||||
|
|
||||||
|
A.修改h5/static/configs.js中如下内容
|
||||||
|
TITLE: '晨召春商贸',
|
||||||
|
BASE_URL: 'https://admin.czruitang.com/api',
|
||||||
|
IMG_URL: 'https://admin.czruitang.com',
|
||||||
|
H5_URL: 'https://czruitang.com/',
|
||||||
|
**sn_id**、**appStr**必须修改为webman.bin相关中的值
|
||||||
|
|
||||||
|
B. 修改h5/static/js/pages-personal-index.6f5415f9.js
|
||||||
|
第270行:https://jf.czruitang.com/pages/integral/points?username=
|
||||||
|
|
||||||
|
C. 修改h5/static/js/pages-sub-pages-webview-index.1042489b.js
|
||||||
|
第15行:https://jf.czruitang.com/?sn_id
|
||||||
|
第43行:https://jf.czruitang.com/?user_id=
|
||||||
|
|
||||||
|
### **寄卖商城后端**项目中需要修改的文件
|
||||||
|
|
||||||
|
- 修改houtai/.env环境变量配置文件中的短信信息、APP_SECRET。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
新项目需要修改项:
|
|
||||||
1.新项目公司名称,eg:聚伽源商贸,
|
|
||||||
2.需要用公司名称的HTML 数字实体编码,修改wa_options表中name=system_config中的value值里的title信息,
|
|
||||||
3.相关配置项:
|
|
||||||
A. **寄卖商城API地址**:eg:https://jjyadmin.fwxgpt.com/api
|
|
||||||
B. **寄卖商城后台地址**:eg:https://jjyadmin.fwxgpt.com
|
|
||||||
C. **H5地址**:eg:https://jjy.fwxgpt.com/
|
|
||||||
D. **积分商城地址**:eg:https://jjy-jf.fwxgpt.com
|
|
||||||
E. **云服务器积分商城目录**:eg:/www/wwwroot/jjy-jf.fwxgpt.com
|
|
||||||
F. **云服务器寄卖商城H5目录**:eg:/www/wwwroot/jjy.fwxgpt.com
|
|
||||||
G. **云服务器寄卖商城后台目录**:eg:/www/wwwroot/jjyadmin.fwxgpt.com
|
|
||||||
4. 需要修改文件
|
|
||||||
**寄卖商城H5**
|
|
||||||
A. **static/configs.js**
|
|
||||||
TITLE: '博森元',
|
|
||||||
BASE_URL: 'https://shopadmin.bosenyuan.com/api',
|
|
||||||
IMG_URL: 'https://shopadmin.bosenyuan.com',
|
|
||||||
H5_URL: 'https://shop.bosenyuan.com/',
|
|
||||||
B. **static/js/pages-personal-index.6f5415f9.js**
|
|
||||||
第270行:https://jf.bosenyuan.com/pages/integral/points?username=
|
|
||||||
C. **static/js/pages-sub-pages-webview-index.1042489b.js**
|
|
||||||
第15行:https://jf.bosenyuan.com/?sn_id
|
|
||||||
第43行:https://jf.bosenyuan.com/?user_id=
|
|
||||||
|
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
"use strict"
|
"use strict"
|
||||||
const configs = {
|
const configs = {
|
||||||
TITLE: '晨召春商贸',
|
TITLE: '瑞棠商贸',
|
||||||
BASE_URL: 'https://admin.chenzhaochun.com/api',
|
BASE_URL: 'https://admin.czruitang.com/api',
|
||||||
IMG_URL: 'https://admin.chenzhaochun.com',
|
IMG_URL: 'https://admin.czruitang.com',
|
||||||
H5_URL: 'https://chenzhaochun.com/',
|
H5_URL: 'https://czruitang.com/',
|
||||||
contractPage: 10012,
|
contractPage: 10012,
|
||||||
// 须与积分商城 wa_options 及寄卖后台 APP_SECRET 一致;晨召春上线前从后台核对后填入,勿沿用他司示例值。
|
// 须与积分商城 wa_options 及寄卖后台 APP_SECRET 一致;瑞棠上线前从后台核对后填入,勿沿用他司示例值。
|
||||||
sn_id: 17533260260405,
|
sn_id: 17533260260413,
|
||||||
appStr: 'ZFyTNQTWEkCBczKzyUDJWE9Ecx260405',
|
appStr: 'ZFyTNQTWEkCBczKzyUDJWE9Ecx260413',
|
||||||
// appKey: ,
|
// appKey: ,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -267,7 +267,7 @@
|
|||||||
// http://jf.suzhouyuqi.com/pages/integral/points?username=
|
// http://jf.suzhouyuqi.com/pages/integral/points?username=
|
||||||
arguments[0] = e = t.$handleEvent(e),
|
arguments[0] = e = t.$handleEvent(e),
|
||||||
window.location.href =
|
window.location.href =
|
||||||
"https://jf.chenzhaochun.com/pages/integral/points?username=" +
|
"https://jf.czruitang.com/pages/integral/points?username=" +
|
||||||
t.userInfo.mobile + "#/pages/integral/points"
|
t.userInfo.mobile + "#/pages/integral/points"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
o = {
|
o = {
|
||||||
data: function() {
|
data: function() {
|
||||||
return {
|
return {
|
||||||
urlSrc: "https://jf.chenzhaochun.com/?sn_id=".concat(uni.$sn_id),
|
urlSrc: "https://jf.czruitang.com/?sn_id=".concat(uni.$sn_id),
|
||||||
passback: ""
|
passback: ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
void 0 === a ?
|
void 0 === a ?
|
||||||
void 0 : a.id,
|
void 0 : a.id,
|
||||||
e.passback && setTimeout((function() {
|
e.passback && setTimeout((function() {
|
||||||
window.location.href = "https://jf.chenzhaochun.com/?user_id=" + e.passback
|
window.location.href = "https://jf.czruitang.com/?user_id=" + e.passback
|
||||||
}), 200));
|
}), 200));
|
||||||
case 4:
|
case 4:
|
||||||
case "end":
|
case "end":
|
||||||
|
|||||||
Reference in New Issue
Block a user