Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96efcd7db0 | ||
|
|
6b77b82230 | ||
|
|
2db7904644 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -4,3 +4,6 @@
|
|||||||
**/.user.ini
|
**/.user.ini
|
||||||
houtai/runtime/
|
houtai/runtime/
|
||||||
houtai/public/upload/
|
houtai/public/upload/
|
||||||
|
houtai/.env
|
||||||
|
.env
|
||||||
|
**/.env
|
||||||
|
|||||||
55
docs/company-info-czc231.md
Normal file
55
docs/company-info-czc231.md
Normal 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. 积分商城domain:https://jf.chenzhaochun.com
|
||||||
|
- 2. 抢购页面跳转地址:https://chenzhaochun.com
|
||||||
|
- 2. /static/sign_contract_chenzhaochun.pdf
|
||||||
|
|
||||||
|
### **修改任务**
|
||||||
|
|
||||||
|
- 新建czc231分支,合并hapr191分支的最新代码到该分支,并根据上述信息修改相关需要变更项,使符合该新公司项目环境
|
||||||
|
|
||||||
|
## 相关文件
|
||||||
|
|
||||||
|
- change-list.md
|
||||||
|
|
||||||
|
|
||||||
|
- 短信服务;
|
||||||
|
|
||||||
|
SMS_333805026
|
||||||
|
accessKeyId LTAI5tAivKPPT5g2gTopUdeJ
|
||||||
|
accessKeySecret FRSG1pIrWkERjCa1l7prv2GLNCvQ4j
|
||||||
@@ -3,6 +3,25 @@
|
|||||||
|
|
||||||
host ip: 114.55.232.191
|
host ip: 114.55.232.191
|
||||||
|
|
||||||
|
### 数据库 wa_options(`name` = `system_config`)
|
||||||
|
|
||||||
|
- 将 `value`(JSON)中的站点 **title** 改为公司名称的 **HTML 十进制实体**,例如展示「鹏然商贸」时使用:`鹏然商贸`(依次为:鹏 40527、然 28982、商 21830、贸 36152)。
|
||||||
|
- 同步修改 JSON 内与各环境相关的 URL / 路径项,与下文部署信息一致(寄卖 API、后台、H5、积分商城域名及服务器目录等)。
|
||||||
|
|
||||||
|
### `h5/static/configs.js` 中与租户绑定的项
|
||||||
|
|
||||||
|
- **sn_id**、**appStr**:须与当前淮安鹏然环境一致(积分商城租户 / `wa_options` 与寄卖后台 `APP_SECRET` 等),**部署前在 CRM 或库中核对后替换**,不可沿用其他公司示例值。
|
||||||
|
|
||||||
|
| 配置项 | 示例 / 说明 |
|
||||||
|
|--------|-------------|
|
||||||
|
| A. 寄卖商城 API | `https://admin.hapengran.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模块变更
|
### crmeb-front模块变更
|
||||||
|
|
||||||
- 1. profile: hapr191
|
- 1. profile: hapr191
|
||||||
@@ -24,4 +43,3 @@ host ip: 114.55.232.191
|
|||||||
## 相关文件
|
## 相关文件
|
||||||
|
|
||||||
- change-list.md
|
- change-list.md
|
||||||
|
|
||||||
|
|||||||
56
docs/resell-change-czc231.md
Executable file
56
docs/resell-change-czc231.md
Executable file
@@ -0,0 +1,56 @@
|
|||||||
|
|
||||||
|
# 新公司(宝应晨召春商贸)项目的h5端(目录:h5) 修改任务
|
||||||
|
|
||||||
|
## 配置项修改
|
||||||
|
|
||||||
|
1.新项目公司名称,eg:晨召春商贸,
|
||||||
|
2.需要用公司名称的HTML十进制数字实体编码,修改wa_options表中name=system_config中的value值里的title信息,
|
||||||
|
3.相关配置项:
|
||||||
|
A. **寄卖商城API地址**:eg:https://admin.chenzhaochun.com/api
|
||||||
|
B. **寄卖商城后台地址**:eg:https://admin.chenzhaochun.com
|
||||||
|
C. **寄卖商城H5地址**:eg:https://chenzhaochun.com/
|
||||||
|
D. **云服务器寄卖商城H5目录**:eg:/www/wwwroot/chenzhaochun.com
|
||||||
|
E. **云服务器寄卖商城后台目录**:eg:/www/wwwroot/admin.chenzhaochun.com
|
||||||
|
|
||||||
|
F. **积分商城地址**:eg:https://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
|
||||||
|
|
||||||
|
|
||||||
@@ -1,4 +1,8 @@
|
|||||||
新项目需要修改项:
|
|
||||||
|
# 新公司(淮安鹏然商贸)项目的h5端(目录:h5) 修改任务
|
||||||
|
|
||||||
|
## 配置项修改
|
||||||
|
|
||||||
1.新项目公司名称,eg:鹏然商贸,
|
1.新项目公司名称,eg:鹏然商贸,
|
||||||
2.需要用公司名称的HTML十进制数字实体编码,修改wa_options表中name=system_config中的value值里的title信息,
|
2.需要用公司名称的HTML十进制数字实体编码,修改wa_options表中name=system_config中的value值里的title信息,
|
||||||
3.相关配置项:
|
3.相关配置项:
|
||||||
@@ -10,10 +14,9 @@
|
|||||||
F. **云服务器寄卖商城H5目录**:eg:/www/wwwroot/hapengran.com
|
F. **云服务器寄卖商城H5目录**:eg:/www/wwwroot/hapengran.com
|
||||||
G. **云服务器寄卖商城后台目录**:eg:/www/wwwroot/admin.hapengran.com
|
G. **云服务器寄卖商城后台目录**:eg:/www/wwwroot/admin.hapengran.com
|
||||||
|
|
||||||
4. 需要修改文件
|
## 需要修改文件
|
||||||
|
|
||||||
**寄卖商城H5**
|
**寄卖商城H5**
|
||||||
|
|
||||||
A. **static/configs.js**
|
A. **static/configs.js**
|
||||||
|
|
||||||
TITLE: '鹏然商贸',
|
TITLE: '鹏然商贸',
|
||||||
@@ -29,6 +32,8 @@
|
|||||||
第15行:https://jf.hapengran.com/?sn_id
|
第15行:https://jf.hapengran.com/?sn_id
|
||||||
第43行:https://jf.hapengran.com/?user_id=
|
第43行:https://jf.hapengran.com/?user_id=
|
||||||
|
|
||||||
|
## 相关文件
|
||||||
|
|
||||||
|
- company-info.md
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BIN
docs/sign_contract_chenzhaochun.docx
Executable file
BIN
docs/sign_contract_chenzhaochun.docx
Executable file
Binary file not shown.
BIN
docs/sign_contract_chenzhaochun.pdf
Normal file
BIN
docs/sign_contract_chenzhaochun.pdf
Normal file
Binary file not shown.
@@ -1,11 +1,12 @@
|
|||||||
"use strict"
|
"use strict"
|
||||||
const configs = {
|
const configs = {
|
||||||
TITLE: '博森元',
|
TITLE: '晨召春商贸',
|
||||||
BASE_URL: 'https://shopadmin.bosenyuan.com/api',
|
BASE_URL: 'https://admin.chenzhaochun.com/api',
|
||||||
IMG_URL: 'https://shopadmin.bosenyuan.com',
|
IMG_URL: 'https://admin.chenzhaochun.com',
|
||||||
H5_URL: 'https://shop.bosenyuan.com/',
|
H5_URL: 'https://chenzhaochun.com/',
|
||||||
contractPage: 10012,
|
contractPage: 10012,
|
||||||
sn_id: 1753363479,
|
// 须与积分商城 wa_options 及寄卖后台 APP_SECRET 一致;晨召春上线前从后台核对后填入,勿沿用他司示例值。
|
||||||
appStr: 'ZFyTNQTWEkCBczKzyUDJWE9Ecxtjjzwg',
|
sn_id: 17533260260405,
|
||||||
|
appStr: 'ZFyTNQTWEkCBczKzyUDJWE9Ecx260405',
|
||||||
// appKey: ,
|
// appKey: ,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -263,11 +263,11 @@
|
|||||||
})], 1), n("v-uni-view", {
|
})], 1), n("v-uni-view", {
|
||||||
staticClass: "b-flex-col b-flex-x b-flex-space u-p-b-30 u-p-r-20",
|
staticClass: "b-flex-col b-flex-x b-flex-space u-p-b-30 u-p-r-20",
|
||||||
on: {
|
on: {
|
||||||
click: function(e) {
|
click: function(e) {
|
||||||
// http://jf.suzhouyuqi.com/pages/integral/points?username=
|
// http://jf.suzhouyuqi.com/pages/integral/points?username=
|
||||||
arguments[0] = e = t.$handleEvent(e),
|
arguments[0] = e = t.$handleEvent(e),
|
||||||
window.location.href =
|
window.location.href =
|
||||||
"https://jf.bosenyuan.com/pages/integral/points?username=" +
|
"https://jf.chenzhaochun.com/pages/integral/points?username=" +
|
||||||
t.userInfo.mobile + "#/pages/integral/points"
|
t.userInfo.mobile + "#/pages/integral/points"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
o = {
|
o = {
|
||||||
data: function() {
|
data: function() {
|
||||||
return {
|
return {
|
||||||
urlSrc: "https://jf.bosenyuan.com/?sn_id=".concat(uni.$sn_id),
|
urlSrc: "https://jf.chenzhaochun.com/?sn_id=".concat(uni.$sn_id),
|
||||||
passback: ""
|
passback: ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
void 0 === a ?
|
void 0 === a ?
|
||||||
void 0 : a.id,
|
void 0 : a.id,
|
||||||
e.passback && setTimeout((function() {
|
e.passback && setTimeout((function() {
|
||||||
window.location.href = "https://jf.bosenyuan.com/?user_id=" + e.passback
|
window.location.href = "https://jf.chenzhaochun.com/?user_id=" + e.passback
|
||||||
}), 200));
|
}), 200));
|
||||||
case 4:
|
case 4:
|
||||||
case "end":
|
case "end":
|
||||||
|
|||||||
Reference in New Issue
Block a user