docs(czc231): add 晨召春 project docs and contract assets; set H5 sn_id/appStr

- Add company-info-czc231, resell-change-czc231, rename change-hapr191 to resell-change-hapr191.
- Add sign_contract_chenzhaochun PDF/DOCX under docs.
- Update h5/static/configs.js with tenant sn_id and appStr for 晨召春.
- Trim trailing blank line in company-info.md.

Made-with: Cursor
This commit is contained in:
apple
2026-04-05 12:46:33 +08:00
parent 6b77b82230
commit 96efcd7db0
7 changed files with 113 additions and 3 deletions

View File

@@ -0,0 +1,55 @@
## 公司名称:宝应晨召春商贸
host ip: 8.136.120.231
### 数据库 wa_options`name` = `system_config`
-`value`JSON中的站点 **title** 改为公司名称的 **HTML 十进制实体**,
- 同步修改 JSON 内与各环境相关的 URL / 路径项,与下文部署信息一致(寄卖 API、后台、H5、积分商城域名及服务器目录等
### `h5/static/configs.js` 中与租户绑定的项
- **sn_id**、**appStr**:须与当前晨召春商贸环境一致(积分商城租户 / `wa_options` 与寄卖后台 `APP_SECRET` 等)。
| 配置项 | 示例 / 说明 |
|--------|-------------|
| A. 寄卖商城 API | `https://admin.chenzhaochun.com/api` |
| B. 寄卖商城后台 | `https://admin.hapengran.com` |
| C. 寄卖 H5 | `https://hapengran.com/` |
| D. 积分商城 | `https://jf.hapengran.com` |
| E. 服务器积分商城目录 | `/www/wwwroot/jf.hapengran.com` |
| F. 服务器寄卖 H5 目录 | `/www/wwwroot/hapengran.com` |
| G. 服务器寄卖后台目录 | `/www/wwwroot/admin.hapengran.com` |
### crmeb-front模块变更
- 1. profile: czc231
- 2. profile file: application-czc231.yml
- 3. PDF合同模板文件路径pdf/sign_contract_chenzhaochun.pdf
- 4. 用户合同url地址前缀/落库域名https://chenzhaochun.com/
- 5. imagePath: /www/wwwroot/chenzhaochun.com/
### uniapp前端配置变更
- 1. 积分商城domainhttps://jf.chenzhaochun.com
- 2. 抢购页面跳转地址https://chenzhaochun.com
- 2. /static/sign_contract_chenzhaochun.pdf
### **修改任务**
- 新建czc231分支合并hapr191分支的最新代码到该分支并根据上述信息修改相关需要变更项使符合该新公司项目环境
## 相关文件
- change-list.md
- 短信服务;
SMS_333805026
accessKeyId LTAI5tAivKPPT5g2gTopUdeJ
accessKeySecret FRSG1pIrWkERjCa1l7prv2GLNCvQ4j

View File

@@ -43,4 +43,3 @@ host ip: 114.55.232.191
## 相关文件
- change-list.md

56
docs/resell-change-czc231.md Executable file
View File

@@ -0,0 +1,56 @@
# 新公司宝应晨召春商贸项目的h5端目录h5 修改任务
## 配置项修改
1.新项目公司名称eg晨召春商贸
2.需要用公司名称的HTML十进制数字实体编码修改wa_options表中name=system_config中的value值里的title信息
3.相关配置项:
A. **寄卖商城API地址**eghttps://admin.chenzhaochun.com/api
B. **寄卖商城后台地址**eghttps://admin.chenzhaochun.com
C. **寄卖商城H5地址**eghttps://chenzhaochun.com/
D. **云服务器寄卖商城H5目录**eg/www/wwwroot/chenzhaochun.com
E. **云服务器寄卖商城后台目录**eg/www/wwwroot/admin.chenzhaochun.com
F. **积分商城地址**eghttps://jf.chenzhaochun.com
G. **云服务器积分商城目录**eg/www/wwwroot/jf.chenzhaochun.com
4. 短信服务
SMS_SIGNNAME = '宝应晨召春商贸'
SMS_TEMPLATE = 'SMS_333805026'
SMS_KEYID = 'LTAI5tAivKPPT5g2gTopUdeJ'
SMS_KEYSECRET = 'FRSG1pIrWkERjCa1l7prv2GLNCvQ4j'
5. webman.bin相关
sn_id: 17533260260405
APP_SECRET: ZFyTNQTWEkCBczKzyUDJWE9Ecx260405
## 需要修改文件
**寄卖商城H5**
A. **static/configs.js**
TITLE: '晨召春商贸',
BASE_URL: 'https://admin.chenzhaochun.com/api',
IMG_URL: 'https://admin.chenzhaochun.com',
H5_URL: 'https://chenzhaochun.com/',
**sn_id**、**appStr**必须修改
B. **static/js/pages-personal-index.6f5415f9.js**
第270行https://jf.chenzhaochun.com/pages/integral/points?username=
C. **static/js/pages-sub-pages-webview-index.1042489b.js**
第15行https://jf.chenzhaochun.com/?sn_id
第43行https://jf.chenzhaochun.com/?user_id=
## **修改任务**
- 新建czc231分支合并hapr191分支的最新代码到该分支并根据上述信息修改相关需要变更项使符合该新公司项目环境
## 相关文件
- docs/company-info-czc231.md

Binary file not shown.

Binary file not shown.

View File

@@ -6,7 +6,7 @@ const configs = {
H5_URL: 'https://chenzhaochun.com/',
contractPage: 10012,
// 须与积分商城 wa_options 及寄卖后台 APP_SECRET 一致;晨召春上线前从后台核对后填入,勿沿用他司示例值。
sn_id: 0,
appStr: '',
sn_id: 17533260260405,
appStr: 'ZFyTNQTWEkCBczKzyUDJWE9Ecx260405',
// appKey: ,
}