feat(czleilei240): 池州雷蕾商贸客户配置与文档
- 更新 H5 configs.js:TITLE/BASE_URL/IMG_URL/H5_URL/sn_id/appStr 至 czleilei240 值 - 修正两处 JS 中积分商城跳转 URL(leilei-jf.czchunfang.com) - 新增客户变更说明文档 resell-change-czleilei240.md - 新增签约合同 PDF/DOCX(czleilei240) - 更新 company-info-czc231.md 公司信息 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,7 +6,7 @@ host ip: 8.136.120.231
|
||||
|
||||
### 数据库 wa_options(`name` = `system_config`)
|
||||
|
||||
- 将 `value`(JSON)中的站点 **title** 改为公司名称的 **HTML 十进制实体**,
|
||||
- 将 `value`(JSON)中的站点 **title** 改为公司名称的 **HTML十进制实体**,
|
||||
- 同步修改 JSON 内与各环境相关的 URL / 路径项,与下文部署信息一致(寄卖 API、后台、H5、积分商城域名及服务器目录等)。
|
||||
|
||||
|
||||
|
||||
55
docs/resell-change-czleilei240.md
Executable file
55
docs/resell-change-czleilei240.md
Executable file
@@ -0,0 +1,55 @@
|
||||
|
||||
# 新公司(池州雷蕾商贸)项目的h5端(目录:h5) 修改任务
|
||||
|
||||
## 配置项修改
|
||||
|
||||
1.新项目公司名称,eg:池州雷蕾商贸,
|
||||
2.使用"池州雷蕾商贸"的**HTML十进制实体**编码,修改wa_options表中name=system_config中的value值里的title信息,
|
||||
3.相关配置项:
|
||||
A. **寄卖商城API地址**:https://leileiadmin.czchunfang.com/api
|
||||
B. **寄卖商城后台地址**:https://leileiadmin.czchunfang.com
|
||||
C. **寄卖商城H5地址**:https://leilei.czchunfang.com/
|
||||
D. **云服务器寄卖商城H5目录**:/www/wwwroot/leilei.czchunfang.com
|
||||
E. **云服务器寄卖商城后台目录**:/www/wwwroot/leileiadmin.czchunfang.com
|
||||
|
||||
F. **积分商城地址**:https://leilei-jf.czchunfang.com
|
||||
G. **云服务器积分商城目录**:/www/wwwroot/leilei-jf.czchunfang.com
|
||||
|
||||
4. 短信服务
|
||||
SMS_SIGNNAME = '池州雷蕾商贸'
|
||||
SMS_TEMPLATE = 'SMS_334320185'
|
||||
SMS_KEYID = 'LTAI5t7CfS15hZGdNLLEMUwG'
|
||||
SMS_KEYSECRET = 'ikfTvHbMMg5sStGgdvLNL8iuVYdner'
|
||||
|
||||
5. **webman.bin相关**
|
||||
sn_id: 17533260260517
|
||||
APP_SECRET: ZFyTNQTWEkCBczKzyUDJWE9Ecx260517
|
||||
|
||||
|
||||
## **修改任务**
|
||||
|
||||
- **已完成**新建czleilei240分支,合并sxsy80分支的最新代码到该分支,并根据上述信息修改相关需要变更项,使符合该新公司项目环境
|
||||
|
||||
### **寄卖商城H5**中需要修改的文件
|
||||
|
||||
A.修改h5/static/configs.js中如下内容
|
||||
TITLE: '池州雷蕾商贸',
|
||||
BASE_URL: 'https://leileiadmin.czchunfang.com/api',
|
||||
IMG_URL: 'https://leileiadmin.czchunfang.com',
|
||||
H5_URL: 'https://leilei.czchunfang.com',
|
||||
**sn_id**、**appStr**必须修改为webman.bin相关中的值
|
||||
|
||||
B. 修改h5/static/js/pages-personal-index.6f5415f9.js
|
||||
第270行:https://leilei-jf.czchunfang.com/pages/integral/points?username=
|
||||
|
||||
C. 修改h5/static/js/pages-sub-pages-webview-index.1042489b.js
|
||||
第15行:https://leilei-jf.czchunfang.com/?sn_id
|
||||
第43行:https://leilei-jf.czchunfang.com/?user_id=
|
||||
|
||||
### **寄卖商城后端**项目中需要修改的文件
|
||||
|
||||
- 修改houtai/.env环境变量配置文件中的短信信息、APP_SECRET。
|
||||
- mysql数据库使用阿里云rds:rm-bp1a178eq62lxba9xbo.mysql.rds.aliyuncs.com
|
||||
|
||||
|
||||
|
||||
BIN
docs/sign_contract_czleilei240.docx
Normal file
BIN
docs/sign_contract_czleilei240.docx
Normal file
Binary file not shown.
BIN
docs/sign_contract_czleilei240.pdf
Normal file
BIN
docs/sign_contract_czleilei240.pdf
Normal file
Binary file not shown.
@@ -1,12 +1,12 @@
|
||||
"use strict"
|
||||
const configs = {
|
||||
TITLE: '树英商贸',
|
||||
BASE_URL: 'https://sxsyadmin.cichude.com/api',
|
||||
IMG_URL: 'https://sxsyadmin.cichude.com',
|
||||
H5_URL: 'https://sxsy.cichude.com/',
|
||||
TITLE: '池州雷蕾商贸',
|
||||
BASE_URL: 'https://leileiadmin.czchunfang.com/api',
|
||||
IMG_URL: 'https://leileiadmin.czchunfang.com',
|
||||
H5_URL: 'https://leilei.czchunfang.com/',
|
||||
contractPage: 10012,
|
||||
// 须与积分商城 wa_options 及寄卖后台 APP_SECRET 一致;树英上线前从后台核对后填入,勿沿用他司示例值。
|
||||
sn_id: 17533260260426,
|
||||
appStr: 'ZFyTNQTWEkCBczKzyUDJWE9Ecx260426',
|
||||
// 须与积分商城 wa_options 及寄卖后台 APP_SECRET 一致;上线前从后台核对后填入,勿沿用他司示例值。
|
||||
sn_id: 17533260260517,
|
||||
appStr: 'ZFyTNQTWEkCBczKzyUDJWE9Ecx260517',
|
||||
// appKey: ,
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
// http://jf.suzhouyuqi.com/pages/integral/points?username=
|
||||
arguments[0] = e = t.$handleEvent(e),
|
||||
window.location.href =
|
||||
"https://sxsy-jf.cichude.com/pages/integral/points?username=" +
|
||||
"https://leilei-jf.czchunfang.com/pages/integral/points?username=" +
|
||||
t.userInfo.mobile + "#/pages/integral/points"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
o = {
|
||||
data: function() {
|
||||
return {
|
||||
urlSrc: "https://sxsy-jf.cichude.com/?sn_id=".concat(uni.$sn_id),
|
||||
urlSrc: "https://leilei-jf.czchunfang.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://sxsy-jf.cichude.com/?user_id=" + e.passback
|
||||
window.location.href = "https://leilei-jf.czchunfang.com/?user_id=" + e.passback
|
||||
}), 200));
|
||||
case 4:
|
||||
case "end":
|
||||
|
||||
Reference in New Issue
Block a user