Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.hapengran.com/api',
|
||||||
IMG_URL: 'https://shopadmin.bosenyuan.com',
|
IMG_URL: 'https://admin.hapengran.com',
|
||||||
H5_URL: 'https://shop.bosenyuan.com/',
|
H5_URL: 'https://hapengran.com/',
|
||||||
contractPage: 10012,
|
contractPage: 10012,
|
||||||
|
// 须与积分商城 / wa_options 及寄卖后台 APP_SECRET 一致;上线淮安鹏然前请从后台同步替换,勿沿用其他租户。
|
||||||
sn_id: 1753363479,
|
sn_id: 1753363479,
|
||||||
appStr: 'ZFyTNQTWEkCBczKzyUDJWE9Ecxtjjzwg',
|
appStr: 'ZFyTNQTWEkCBczKzyUDJWE9Ecxtjjzwg',
|
||||||
// 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.hapengran.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.hapengran.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.hapengran.com/?user_id=" + e.passback
|
||||||
}), 200));
|
}), 200));
|
||||||
case 4:
|
case 4:
|
||||||
case "end":
|
case "end":
|
||||||
|
|||||||
Reference in New Issue
Block a user