Files
integral-resell/docs/change-list.md

62 lines
2.0 KiB
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
新项目需要修改项:
1.新项目公司名称eg聚伽源商贸
2.需要用公司名称的HTML十进制数字实体编码修改wa_options表中name=system_config中的value值里的title信息
3.相关配置项:
A. **寄卖商城API地址**eghttps://jjyadmin.fwxgpt.com/api
B. **寄卖商城后台地址**eghttps://jjyadmin.fwxgpt.com
C. **H5地址**eghttps://jjy.fwxgpt.com/
D. **积分商城地址**eghttps://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;
}