Initial import: H5 front-end and houtai backend (exclude secrets and uploads).
Made-with: Cursor
This commit is contained in:
34
docs/change-hapr191.md
Executable file
34
docs/change-hapr191.md
Executable file
@@ -0,0 +1,34 @@
|
||||
新项目需要修改项:
|
||||
1.新项目公司名称,eg:鹏然商贸,
|
||||
2.需要用公司名称的HTML十进制数字实体编码,修改wa_options表中name=system_config中的value值里的title信息,
|
||||
3.相关配置项:
|
||||
A. **寄卖商城API地址**:eg:https://admin.hapengran.com/api
|
||||
B. **寄卖商城后台地址**:eg:https://admin.hapengran.com
|
||||
C. **H5地址**:eg:https://hapengran.com/
|
||||
D. **积分商城地址**:eg:https://jf.hapengran.com
|
||||
E. **云服务器积分商城目录**:eg:/www/wwwroot/jf.hapengran.com
|
||||
F. **云服务器寄卖商城H5目录**:eg:/www/wwwroot/hapengran.com
|
||||
G. **云服务器寄卖商城后台目录**:eg:/www/wwwroot/admin.hapengran.com
|
||||
|
||||
4. 需要修改文件
|
||||
|
||||
**寄卖商城H5**
|
||||
|
||||
A. **static/configs.js**
|
||||
|
||||
TITLE: '鹏然商贸',
|
||||
BASE_URL: 'https://admin.hapengran.com/api',
|
||||
IMG_URL: 'https://admin.hapengran.com',
|
||||
H5_URL: 'https://hapengran.com/',
|
||||
**sn_id**、**appStr**必须修改
|
||||
|
||||
B. **static/js/pages-personal-index.6f5415f9.js**
|
||||
第270行:https://jf.hapengran.com/pages/integral/points?username=
|
||||
|
||||
C. **static/js/pages-sub-pages-webview-index.1042489b.js**
|
||||
第15行:https://jf.hapengran.com/?sn_id
|
||||
第43行:https://jf.hapengran.com/?user_id=
|
||||
|
||||
|
||||
|
||||
|
||||
61
docs/change-list.md
Executable file
61
docs/change-list.md
Executable file
@@ -0,0 +1,61 @@
|
||||
新项目需要修改项:
|
||||
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/',
|
||||
**sn_id**、**appStr**必须修改
|
||||
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=
|
||||
|
||||
|
||||
upstream qianggou2026 {
|
||||
server 127.0.0.1:8785;
|
||||
keepalive 10240;
|
||||
}
|
||||
|
||||
#后端api
|
||||
location ^~ / {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
if (!-f $request_filename){
|
||||
proxy_pass http://qianggou2026;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# 伪静态
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
# 后端API
|
||||
location /api/admin {
|
||||
proxy_pass http://127.0.0.1:30032/api/admin;
|
||||
}
|
||||
|
||||
# 前端API
|
||||
location /api/front {
|
||||
proxy_pass http://127.0.0.1:30031/api/front;
|
||||
}
|
||||
|
||||
|
||||
27
docs/company-info.md
Normal file
27
docs/company-info.md
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
## 公司名称:淮安鹏然商贸
|
||||
|
||||
host ip: 114.55.232.191
|
||||
|
||||
### crmeb-front模块变更
|
||||
|
||||
- 1. profile: hapr191
|
||||
- 2. profile file: application-hapr191.yml
|
||||
- 3. PDF合同模板文件路径:pdf/sign_contract_pengran.pdf
|
||||
- 4. 用户合同url地址前缀/落库域名:https://hapengran.com/
|
||||
- 5. imagePath: /www/wwwroot/hapengran.com/
|
||||
|
||||
### uniapp前端配置变更
|
||||
|
||||
- 1. 积分商城domain:https://jf.hapengran.com
|
||||
- 2. 抢购页面跳转地址:https://hapengran.com
|
||||
- 2. /static/sign_contract_pengran.pdf
|
||||
|
||||
### 修改任务
|
||||
|
||||
- 新建hapr191分支,合并shjjy153分支的最新代码到该分支,并根据上述信息修改相关需要变更项,使符合该新公司项目环境
|
||||
|
||||
## 相关文件
|
||||
|
||||
- change-list.md
|
||||
|
||||
BIN
docs/sign_contract_jjy.docx
Executable file
BIN
docs/sign_contract_jjy.docx
Executable file
Binary file not shown.
BIN
docs/sign_contract_pengran.docx
Executable file
BIN
docs/sign_contract_pengran.docx
Executable file
Binary file not shown.
BIN
docs/sign_contract_pengran.pdf
Normal file
BIN
docs/sign_contract_pengran.pdf
Normal file
Binary file not shown.
Reference in New Issue
Block a user