Initial import: H5 front-end and houtai backend (exclude secrets and uploads).
Made-with: Cursor
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user