8 Commits

Author SHA1 Message Date
apple
c6d15d8094 docs: 数据迁移说明 — 统一为「数据清理」并补充日志表规则
- company-data-imgration.md:self/share/coupon 日志保留范围说明;去掉过时分支任务句
- company-czc231-data-imgration.md:章节标题与鹏然文档对齐

Made-with: Cursor
2026-04-05 12:46:04 +08:00
apple
75b5339540 docs: 宝应晨召春商贸数据迁移与清理说明(czc231)
- 规范日志表表述;补充 wa_order / wa_merchandise 与库字段对应说明

Made-with: Cursor
2026-04-05 12:31:01 +08:00
apple
f5e8652539 feat(czc231): 宝应晨召春商贸环境
- 新增 application-czc231.yml(front/admin),指向 8.136.120.231
- 默认 profile=czc231;合同 PDF sign_contract_chenzhaochun,域名 chenzhaochun.com
- uniapp / 后台 Vue / deploy.conf 同步文档域名与目录
- h5/static/configs.js:寄卖与积分 URL(sn_id、appStr 需部署时填写)
- 已在库内 wa_options.system_config 写入标题实体与 deploy 段落(远程库)

Made-with: Cursor
2026-04-05 11:11:01 +08:00
apple
129fa20810 docs: 鹏然项目说明与数据迁移记录
- company-info.md:环境与 hapr191 配置要点
- company-data-imgration.md:库清理规则与保留用户范围

Made-with: Cursor
2026-04-05 09:54:43 +08:00
apple
945ca2d3d0 feat(hapr191): 淮安鹏然商贸环境配置
- 新增 application-hapr191.yml(front/admin),imagePath/DB/Redis 指向 114.55.232.191
- 默认 spring.profiles.active=hapr191
- 合同 PDF 模板 sign_contract_pengran,落库域名 https://hapengran.com/
- uniapp:jf.hapengran.com、抢购/个人中心跳转 hapengran.com
- deploy.conf 增加 hapr191 段;后台 Vue API 指向 jfadmin.hapengran.com

Made-with: Cursor
2026-04-04 16:09:42 +08:00
apple
5abbf5bc18 fix(uniapp): 积分页 H5 跳转改为 jjy.uj345.com
Made-with: Cursor
2026-03-25 08:43:30 +08:00
apple
67f44e9c35 fix(uniapp): 签约页跳转域名改为 jjy.uj345.com
Made-with: Cursor
2026-03-23 11:58:21 +08:00
apple
25409f26ce fix(front): WaUser 合同地址改为 jjy.uj345.com(shjjy153)
Made-with: Cursor
2026-03-23 11:57:38 +08:00
25 changed files with 486 additions and 90 deletions

View File

@@ -8,8 +8,11 @@ ENV = 'development'
# VUE_APP_BASE_API = 'http://jfanyueadmin.szxingming.com'
# VUE_APP_BASE_API = 'http://jfadmin.wenjinhui.com'
# VUE_APP_BASE_API = 'http://jfadmin-bsy.bosenyuan.com'
# shjjy153 项目
VUE_APP_BASE_API = 'http://jjy-jfadmin.uj345.com'
# czc231 项目(宝应晨召春商贸)
VUE_APP_BASE_API = 'https://admin.chenzhaochun.com'
# hapr191 项目(淮安鹏然商贸)
# VUE_APP_BASE_API = 'http://jfadmin.hapengran.com'
# shccd159 项目
# VUE_APP_BASE_API = 'http://ccd-jfadmin.cichude.com'

View File

@@ -8,11 +8,14 @@ ENV = 'production'
# miao33 项目
# VUE_APP_BASE_API = 'http://jfadmin.xiashengjun.com'
# shjjy153 项目
# VUE_APP_BASE_API = 'http://jjy-jfadmin.uj345.com'
# czc231 项目(宝应晨召春商贸)
VUE_APP_BASE_API = 'https://admin.chenzhaochun.com'
# hapr191 项目(淮安鹏然商贸)
# VUE_APP_BASE_API = 'http://jfadmin.hapengran.com'
# shccd159 项目
VUE_APP_BASE_API = 'http://ccd-jfadmin.cichude.com'
# VUE_APP_BASE_API = 'http://ccd-jfadmin.cichude.com'
# VUE_APP_BASE_API = 'http://jfanyueadmin.szxingming.com'

View File

@@ -0,0 +1,59 @@
# CRMEB 相关配置
crmeb:
captchaOn: false # 是否开启行为验证码
asyncConfig: true #是否同步config表数据到redis
server:
port: 30032
sync:
source-id: shop_e
target-mer-id: 7
spring:
datasource:
name: yangtangyoupin
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://8.136.120.231:3306/${spring.datasource.name}?useUnicode=true&serverTimezone=GMT%2B8&characterEncoding=utf8
username: yangtangyoupin
password: 5Fn8eWrbYFtAhCZw
redis:
host: 8.136.120.231 #地址
port: 6379 #端口
password: '123456'
timeout: 10000 # 连接超时时间(毫秒)
database: 2 #默认数据库
jedis:
pool:
max-active: 200 # 连接池最大连接数(使用负值表示没有限制)
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 0 # 连接池中的最小空闲连接
time-between-eviction-runs: -1 #逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认-1
second:
database: 2 # 微信accessToken存储库
debug: true
logging:
level:
io.swagger.*: error
com.zbjk.crmeb: debug
org.springframework.boot.autoconfigure: ERROR
config: classpath:logback-spring.xml
file:
path: ./logs
# mybatis 配置
mybatis-plus:
# 配置sql打印日志
configuration:
log-impl:
#swagger 配置
swagger:
basic:
enable: true #是否开启界面
check: false #是否打开验证
username: crmeb #访问swagger的账号
password: crmeb.com #访问swagger的密码

View File

@@ -0,0 +1,59 @@
# CRMEB 相关配置
crmeb:
captchaOn: false # 是否开启行为验证码
asyncConfig: true #是否同步config表数据到redis
server:
port: 30032
sync:
source-id: shop_e
target-mer-id: 7
spring:
datasource:
name: yangtangyoupin
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://114.55.232.191:3306/${spring.datasource.name}?useUnicode=true&serverTimezone=GMT%2B8&characterEncoding=utf8
username: yangtangyoupin
password: 5Fn8eWrbYFtAhCZw
redis:
host: 114.55.232.191 #地址
port: 6379 #端口
password: '123456'
timeout: 10000 # 连接超时时间(毫秒)
database: 2 #默认数据库
jedis:
pool:
max-active: 200 # 连接池最大连接数(使用负值表示没有限制)
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 0 # 连接池中的最小空闲连接
time-between-eviction-runs: -1 #逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认-1
second:
database: 2 # 微信accessToken存储库
debug: true
logging:
level:
io.swagger.*: error
com.zbjk.crmeb: debug
org.springframework.boot.autoconfigure: ERROR
config: classpath:logback-spring.xml
file:
path: ./logs
# mybatis 配置
mybatis-plus:
# 配置sql打印日志
configuration:
log-impl:
#swagger 配置
swagger:
basic:
enable: true #是否开启界面
check: false #是否打开验证
username: crmeb #访问swagger的账号
password: crmeb.com #访问swagger的密码

View File

@@ -38,7 +38,7 @@ server:
spring:
profiles:
active: shccd159
active: czc231
servlet:
multipart:
max-file-size: 50MB #设置单个文件大小

View File

@@ -73,7 +73,7 @@ public class WaUserController {
FileInputStream fileInputStream = null;
try {
// 读取模板PDF文件
Resource resource = new ClassPathResource("pdf/sign_contract_jjy.pdf");
Resource resource = new ClassPathResource("pdf/sign_contract_chenzhaochun.pdf");
InputStream pdfInputStream = resource.getInputStream();
document = PDDocument.load(pdfInputStream);
pdfInputStream.close();
@@ -198,8 +198,8 @@ public class WaUserController {
user.setId(pid);
// user.setContract("https://anyue.szxingming.com/"+pdfResultVo.getUrl());
// user.setContract("https://xiashengjun.com/"+pdfResultVo.getUrl());
user.setContract("https://ccd.cichude.com/"+pdfResultVo.getUrl());
// user.setContract("https://jjy.uj345.com/"+pdfResultVo.getUrl());
// user.setContract("https://ccd.cichude.com/"+pdfResultVo.getUrl());
user.setContract("https://chenzhaochun.com/"+pdfResultVo.getUrl());
waUsersDao.updateById(user);
}
return CommonResult.success(pdfResultVo);

View File

@@ -0,0 +1,54 @@
crmeb:
imagePath: /www/wwwroot/chenzhaochun.com/ # 晨召春商贸服务器图片路径 斜杠结尾
asyncConfig: true #是否同步config表数据到redis
server:
port: 30031
spring:
datasource:
name: yangtangyoupin
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://8.136.120.231:3306/${spring.datasource.name}?useUnicode=true&serverTimezone=GMT%2B8&characterEncoding=utf8
username: yangtangyoupin
password: 5Fn8eWrbYFtAhCZw
redis:
host: 8.136.120.231 #地址
port: 6379 #端口
password: '123456'
timeout: 10000 # 连接超时时间(毫秒)
database: 2 #默认数据库
jedis:
pool:
max-active: 200 # 连接池最大连接数(使用负值表示没有限制)
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 0 # 连接池中的最小空闲连接
time-between-eviction-runs: -1 #逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认-1
second:
database: 3 # 微信accessToken存储库
debug: true
logging:
level:
io.swagger.*: error
com.zbjk.crmeb: debug
org.springframework.boot.autoconfigure: ERROR
config: classpath:logback-spring.xml
file:
path: ./logs
# mybatis 配置
mybatis-plus:
# 配置sql打印日志
configuration:
log-impl:
#swagger 配置
swagger:
basic:
enable: true #是否开启界面
check: false #是否打开验证
username: crmeb #访问swagger的账号
password: crmeb.com #访问swagger的密码

View File

@@ -0,0 +1,54 @@
crmeb:
imagePath: /www/wwwroot/hapengran.com/ # 鹏然项目服务器图片路径配置 斜杠结尾
asyncConfig: true #是否同步config表数据到redis
server:
port: 30031
spring:
datasource:
name: yangtangyoupin
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://114.55.232.191:3306/${spring.datasource.name}?useUnicode=true&serverTimezone=GMT%2B8&characterEncoding=utf8
username: yangtangyoupin
password: 5Fn8eWrbYFtAhCZw
redis:
host: 114.55.232.191 #地址
port: 6379 #端口
password: '123456'
timeout: 10000 # 连接超时时间(毫秒)
database: 2 #默认数据库
jedis:
pool:
max-active: 200 # 连接池最大连接数(使用负值表示没有限制)
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 0 # 连接池中的最小空闲连接
time-between-eviction-runs: -1 #逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认-1
second:
database: 3 # 微信accessToken存储库
debug: true
logging:
level:
io.swagger.*: error
com.zbjk.crmeb: debug
org.springframework.boot.autoconfigure: ERROR
config: classpath:logback-spring.xml
file:
path: ./logs
# mybatis 配置
mybatis-plus:
# 配置sql打印日志
configuration:
log-impl:
#swagger 配置
swagger:
basic:
enable: true #是否开启界面
check: false #是否打开验证
username: crmeb #访问swagger的账号
password: crmeb.com #访问swagger的密码

View File

@@ -32,7 +32,7 @@ server:
spring:
profiles:
active: shccd159
active: czc231
servlet:
multipart:
max-file-size: 50MB #设置单个文件大小

View File

@@ -80,3 +80,37 @@ REMOTE_DIR_ADMIN=/www/wwwroot/ccd-jfadmin.fwxgpt.com
REMOTE_DIR_FRONT=/www/wwwroot/ccd-jf.fwxgpt.com
hapr191:
spring:
profiles:
active: hapr191
SERVER_HOST=114.55.232.191
SERVER_USER=root
SERVER_PORT=22
REMOTE_DIR_JAR=/www/wwwroot/javaapi
FRONT_LOCAL_PORT=30031
FRONT_JAR_NAME=miao-front-2.2.jar
ADMIN_LOCAL_PORT=30032
ADMIN_JAR_NAME=miao-admin-2.2.jar
REMOTE_DIR_ADMIN=/www/wwwroot/jfadmin.hapengran.com
REMOTE_DIR_FRONT=/www/wwwroot/jf.hapengran.com
czc231:
spring:
profiles:
active: czc231
SERVER_HOST=8.136.120.231
SERVER_USER=root
SERVER_PORT=22
REMOTE_DIR_JAR=/www/wwwroot/javaapi
FRONT_LOCAL_PORT=30031
FRONT_JAR_NAME=miao-front-2.2.jar
ADMIN_LOCAL_PORT=30032
ADMIN_JAR_NAME=miao-admin-2.2.jar
REMOTE_DIR_ADMIN=/www/wwwroot/admin.chenzhaochun.com
REMOTE_DIR_FRONT=/www/wwwroot/jf.chenzhaochun.com

View File

@@ -1,72 +0,0 @@
#!/bin/bash
# 仅打包部署 backend-adminend后台 Vue 前端)到 shccd159 云服务器
# 部署前在云服务器上备份原有静态文件
# 使用: ./shell/deploy-admin-vue-shccd159.sh在 backend 目录下)
# 或指定密钥: SSH_IDENTITY=~/.ssh/your_key ./shell/deploy-admin-vue-shccd159.sh
set -e
SSH_IDENTITY="${SSH_IDENTITY:-$HOME/.ssh/id_ed25519_crmeb_deploy}"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
BACKEND_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
ROOT_DIR="$(cd "$BACKEND_DIR/.." && pwd)"
FRONTEND_DIR="${ROOT_DIR}/backend-adminend"
[[ ! -d "$FRONTEND_DIR" ]] && FRONTEND_DIR="${ROOT_DIR}/frontend"
DEPLOY_CONF="$BACKEND_DIR/deploy.conf"
get_conf() {
sed -n '/^shccd159:/,$p' "$DEPLOY_CONF" | grep -E "^${1}=" | tail -1 | cut -d= -f2-
}
SERVER_HOST=$(get_conf SERVER_HOST)
SERVER_USER=$(get_conf SERVER_USER)
SERVER_PORT=$(get_conf SERVER_PORT)
REMOTE_DIR_ADMIN=$(get_conf REMOTE_DIR_ADMIN)
[[ -z "$SERVER_HOST" ]] && SERVER_HOST=182.92.78.159
[[ -z "$REMOTE_DIR_ADMIN" ]] && REMOTE_DIR_ADMIN=/www/wwwroot/ccd-jfadmin.fwxgpt.com
[[ -z "$SERVER_USER" ]] && SERVER_USER=root
[[ -z "$SERVER_PORT" ]] && SERVER_PORT=22
[[ -f "$SSH_IDENTITY" ]] && SSH_OPTS=(-o "IdentityFile=$SSH_IDENTITY") || SSH_OPTS=()
SSH_CMD=(ssh "${SSH_OPTS[@]}" -o StrictHostKeyChecking=accept-new -p "$SERVER_PORT" "$SERVER_USER@$SERVER_HOST")
BACKUP_SUFFIX="backup_$(date +%Y%m%d_%H%M%S)"
[[ ! -d "$FRONTEND_DIR" ]] && { echo "错误: 未找到 admin 前端目录 (backend-adminend 或 frontend)"; exit 1; }
echo "=== 仅部署 backend-adminend后台 Vue 前端)到 shccd159 ==="
echo " 服务器: $SERVER_USER@$SERVER_HOST"
echo " 目标: $REMOTE_DIR_ADMIN"
echo ""
echo "=== 1. 编译 backend-adminend (npm run build:prod) ==="
cd "$FRONTEND_DIR"
# Node 1718 需要 --openssl-legacy-providerNode 22+ 已不支持,不设置
NODE_MAJOR=$(node -v 2>/dev/null | sed -E 's/^v([0-9]+).*/\1/' || echo 0)
if [[ "$NODE_MAJOR" -ge 17 && "$NODE_MAJOR" -le 21 ]]; then
export NODE_OPTIONS="${NODE_OPTIONS:-} --openssl-legacy-provider"
fi
npm run build:prod
echo "已生成: $FRONTEND_DIR/dist"
[[ ! -d "$FRONTEND_DIR/dist" ]] && { echo "错误: dist 未生成"; exit 1; }
echo ""
echo "=== 2. 云服务器备份原有静态 ==="
"${SSH_CMD[@]}" "bash -s" << REMOTE_BACKUP
set -e
if [ -d "$REMOTE_DIR_ADMIN" ] && [ "\$(ls -A $REMOTE_DIR_ADMIN 2>/dev/null)" ]; then
BACKUP_TAR="$REMOTE_DIR_ADMIN/../ccd_jfadmin_${BACKUP_SUFFIX}.tar.gz"
tar -czf "\$BACKUP_TAR" -C "$REMOTE_DIR_ADMIN" .
echo "已备份: \$BACKUP_TAR"
else
echo "远程目录为空或不存在,跳过备份"
fi
REMOTE_BACKUP
echo ""
echo "=== 3. 上传 dist 到 $REMOTE_DIR_ADMIN ==="
"${SSH_CMD[@]}" "mkdir -p $REMOTE_DIR_ADMIN && (rm -rf ${REMOTE_DIR_ADMIN}/* ${REMOTE_DIR_ADMIN}/.??* 2>/dev/null; true)"
(cd "$FRONTEND_DIR/dist" && tar cf - .) | "${SSH_CMD[@]}" "mkdir -p $REMOTE_DIR_ADMIN && cd $REMOTE_DIR_ADMIN && tar xf -"
echo "后台 Vue 静态上传完成."
echo ""
echo "=== backend-adminend 部署完成 ==="

View File

@@ -0,0 +1,35 @@
# 公司名称:宝应晨召春商贸
## mysql数据库配置信息
host ip: 8.136.120.231
datasource:
name: yangtangyoupin
username: yangtangyoupin
password: 5Fn8eWrbYFtAhCZw
## 数据清理任务
- 保留的**用户数据范围**wa_users.id in (92485,92494,92815,93125,92917,92322,92807,92599,92991,93048,93089,93180,93187,93185,93147,92806,92871,93184,93017,93023,93109,93177,93202,93086,93156,93197,93050,93058,93112,93210,93115,93195,93203,93192,93188,93183,93181,93178,93175,93174),删除其余用户数据
- wa_order
只保留“created_at >= 2026-03-31”并且 user_id 在用户数据范围的订单,删除其余数据
(库表对应 `seller_id` / `buyer_id`,任一侧在保留用户集合内即保留该订单。)
- wa_merchandise
只保留“created_at >= 2026-03-31”并且seller_id或buyer_id在用户数据范围的寄售商品删除其余数据
(当前库表字段为 `user_id` 表示卖家,实现时按 `user_id` 与日期条件过滤。)
- wa_selfbonus_log
只保留 `user_id` 在用户数据范围内的记录,删除其余数据
- wa_sharebonus_log
只保留 `user_id` 在用户数据范围内的记录,删除其余数据
- wa_coupon_log
只保留 `user_id` 在用户数据范围内的记录,删除其余数据
## 相关文件
- company-info.md

35
company-data-imgration.md Normal file
View File

@@ -0,0 +1,35 @@
# 公司名称:淮安鹏然商贸
## mysql数据库配置信息
host ip: 114.55.232.191
datasource:
name: yangtangyoupin
username: yangtangyoupin
password: 5Fn8eWrbYFtAhCZw
## 数据清理任务
- 保留的**用户数据范围**wa_users.id in (91956,92474,92540,92824,93208,92576,92809,93182,92905,93080,93099,93113,93132,93164,93133,93142,93194,93204,93111,93139,93100,93158,93161,93163,93176,92476,93123,93108,93193,93165,93162,93159),删除其余用户数据
- wa_order
只保留“created_at >= 2026-03-31”并且user_id在用户数据范围的订单删除其余数据
- wa_merchandise
只保留“created_at >= 2026-03-31”并且seller_id或buyer_id在用户数据范围的寄售商品删除其余数据
- wa_selfbonus_log
只保留 `user_id` 在用户数据范围内的记录,删除其余数据
- wa_sharebonus_log
只保留 `user_id` 在用户数据范围内的记录,删除其余数据
- wa_coupon_log
只保留 `user_id` 在用户数据范围内的记录,删除其余数据
## 相关文件
- company-info.md

59
company-info-czc231.md Normal file
View File

@@ -0,0 +1,59 @@
## 公司名称:宝应晨召春商贸
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.chenzhaochun.com` |
| C. 寄卖 H5 | `https://chenzhaochun.com/` |
| D. 积分商城 | `https://jf.chenzhaochun.com` |
| E. 服务器积分商城目录 | `/www/wwwroot/jf.chenzhaochun.com` |
| F. 服务器寄卖 H5 目录 | `/www/wwwroot/chenzhaochun.com` |
| G. 服务器寄卖后台目录 | `/www/wwwroot/admin.chenzhaochun.com` |
### crmeb-front模块变更
- 1. profile: czc231
- 2. profile file: application-czc231.yml
- 3. **PDF合同模板文件路径**pdf/sign_contract_chenzhaochun.pdf
- 4. 用户PDF合同url地址前缀/落库域名https://chenzhaochun.com/
- 5. imagePath: /www/wwwroot/chenzhaochun.com/
### uniapp前端配置变更
- 1. 积分商城domainhttps://jf.chenzhaochun.com
- 2. 抢购页面跳转地址https://chenzhaochun.com
- 2. **PDF合同预览文件路径** /static/sign_contract_chenzhaochun.pdf
### **修改任务**
- 新建czc231分支合并hapr191分支的最新代码到该分支并根据上述信息修改相关需要变更项使符合该新公司项目环境
## 相关文件
- change-list-shjjy153.md
- compare-shjjy153-shccd159.md
、、、启动积分商城api服务
cd /www/wwwroot/javaapi
nohup java -Xms128m -Xmx256m -jar miao-front-2.2.jar > front.log & tail -f front.log
、、、

51
company-info.md Normal file
View File

@@ -0,0 +1,51 @@
## 公司名称:淮安鹏然商贸
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. 积分商城domainhttps://jf.hapengran.com
- 2. 抢购页面跳转地址https://hapengran.com
- 2. /static/sign_contract_pengran.pdf
### 修改任务
- 新建hapr191分支合并shjjy153分支的最新代码到该分支并根据上述信息修改相关需要变更项使符合该新公司项目环境
## 相关文件
- change-list-shjjy153.md
- compare-shjjy153-shccd159.md
## 积分商城nginx站点配置
、、、
# 伪静态
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;
}
、、、
、、、启动积分商城api服务
cd /www/wwwroot/javaapi
nohup java -Xms128m -Xmx256m -jar miao-front-2.2.jar > front.log & tail -f front.log
、、、

View File

@@ -5,16 +5,19 @@
// let domain = 'https://jf.bosenyuan.com'
// let domain = 'https://jfanyue.szxingming.com'
// let domain = 'https://jf.wenjinhui.com'
// let domain = 'https://jjy-jf.fwxgpt.com'
let domain = 'https://jf.chenzhaochun.com'
// let domain = 'https://jf.hapengran.com'
// let domain = 'https://jjy-jf.uj345.com'
let domain = 'https://ccd-jf.cichude.com'
// let domain = 'https://ccd-jf.cichude.com'
module.exports = {
// 请求域名 格式: https://您的域名
// #ifdef MP || APP-PLUS
// HTTP_REQUEST_URL:'',
HTTP_REQUEST_URL: domain,
// H5商城地址
HTTP_H5_URL: 'https://ccd-jf.cichude.com',
// HTTP_H5_URL: 'https://jjy-jf.uj345.com',
HTTP_H5_URL: 'https://jf.chenzhaochun.com',
// #endif
// #ifdef H5
HTTP_REQUEST_URL:domain,

View File

@@ -0,0 +1,17 @@
/**
* 宝应晨召春商贸 · 积分商城 H5 静态配置(部署目录见 company-info-czc231.md
*
* sn_id、appStr 必须与当前租户一致(寄卖 wa_options / 后台 APP_SECRET 等),
* 上线前请在后台核对后填写,切勿留空。
*/
var sn_id = '';
var appStr = '';
/** A. 寄卖商城 API */
var CONSIGNMENT_API = 'https://admin.chenzhaochun.com/api';
/** B. 寄卖商城后台 */
var CONSIGNMENT_ADMIN = 'https://admin.chenzhaochun.com';
/** C. 寄卖 H5 */
var CONSIGNMENT_H5 = 'https://chenzhaochun.com/';
/** D. 积分商城 */
var INTEGRAL_MALL = 'https://jf.chenzhaochun.com';

View File

@@ -34,7 +34,7 @@
export default {
data() {
return {
pdfUrl: '/static/sign_contract_ccd.pdf',
pdfUrl: '/static/sign_contract_chenzhaochun.pdf',
userId: '',
isMobile: false,
usePdfJs: false,

View File

@@ -338,14 +338,16 @@ export default {
// 跳转到抢购页面
goToRushBuy() {
// #ifdef H5
window.location.href = 'https://ccd.cichude.com/?#/pages/personal/index'
window.location.href = 'https://chenzhaochun.com/?#/pages/personal/index'
// window.location.href = 'https://ccd.cichude.com/?#/pages/personal/index'
// window.location.href = 'https://shop.wenjinhui.com/?#/pages/personal/index'
//window.location.href = 'https://anyue.szxingming.com/?#/pages/personal/index'
// window.location.href = 'https://xiashengjun.com/?#/pages/personal/index'
// window.location.href = 'http://shop.bosenyuan.com/?#/pages/personal/index'
// #endif
// #ifndef H5
uni.navigateTo({
url: '/pages/web-view/index?url=' + encodeURIComponent('https://ccd.cichude.com/?#/pages/personal/index')
url: '/pages/web-view/index?url=' + encodeURIComponent('https://chenzhaochun.com/?#/pages/personal/index')
})
// #endif
},

View File

@@ -16,7 +16,7 @@ export default {
},
onLoad(options) {
const url = options && options.url ? decodeURIComponent(options.url) : '/static/sign_contract_jjy.pdf'
const url = options && options.url ? decodeURIComponent(options.url) : '/static/sign_contract_chenzhaochun.pdf'
this.pdfUrl = url
},

View File

@@ -360,7 +360,7 @@ export default {
});
// 返回
setTimeout(() => {
window.location.href = 'https://ccd.cichude.com/?#/pages/rushing/index' + (this.userId ? ('?user_id=' + this.userId) : '')
window.location.href = 'https://chenzhaochun.com/?#/pages/rushing/index' + (this.userId ? ('?user_id=' + this.userId) : '')
// window.location.href = 'https://shop.wenjinhui.com/?#/pages/rushing/index' + (this.userId ? ('?user_id=' + this.userId) : '')
// window.location.href = 'https://anyue.szxingming.com/?#/pages/rushing/index' + (this.userId ? ('?user_id=' + this.userId) : '')
// window.location.href = 'https://xiashengjun.com/?#/pages/rushing/index' + (this.userId ? ('?user_id=' + this.userId) : '')

Binary file not shown.