1 Commits

Author SHA1 Message Date
apple
2db7904644 hapr191: point H5 to hapengran.com, update integral mall URLs and docs
- configs.js: 鹏然商贸 title and admin/hapengran API & H5 base URLs
- personal/webview: jf.hapengran.com for points and webview flows
- company-info: wa_options title entities, deploy table, sn_id/appStr notes
- Docs and .gitignore adjustments

Made-with: Cursor
2026-04-04 17:21:07 +08:00
6 changed files with 41 additions and 13 deletions

3
.gitignore vendored
View File

@@ -4,3 +4,6 @@
**/.user.ini
houtai/runtime/
houtai/public/upload/
houtai/.env
.env
**/.env

View File

@@ -1,4 +1,8 @@
新项目需要修改项:
# 新公司淮安鹏然商贸项目的h5端目录h5 修改任务
## 配置项修改
1.新项目公司名称eg鹏然商贸
2.需要用公司名称的HTML十进制数字实体编码修改wa_options表中name=system_config中的value值里的title信息
3.相关配置项:
@@ -10,10 +14,9 @@
F. **云服务器寄卖商城H5目录**eg/www/wwwroot/hapengran.com
G. **云服务器寄卖商城后台目录**eg/www/wwwroot/admin.hapengran.com
4. 需要修改文件
## 需要修改文件
**寄卖商城H5**
A. **static/configs.js**
TITLE: '鹏然商贸',
@@ -29,6 +32,8 @@
第15行https://jf.hapengran.com/?sn_id
第43行https://jf.hapengran.com/?user_id=
## 相关文件
- company-info.md

View File

@@ -3,6 +3,25 @@
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模块变更
- 1. profile: hapr191

View File

@@ -1,11 +1,12 @@
"use strict"
const configs = {
TITLE: '博森元',
BASE_URL: 'https://shopadmin.bosenyuan.com/api',
IMG_URL: 'https://shopadmin.bosenyuan.com',
H5_URL: 'https://shop.bosenyuan.com/',
TITLE: '鹏然商贸',
BASE_URL: 'https://admin.hapengran.com/api',
IMG_URL: 'https://admin.hapengran.com',
H5_URL: 'https://hapengran.com/',
contractPage: 10012,
// 须与积分商城 / wa_options 及寄卖后台 APP_SECRET 一致;上线淮安鹏然前请从后台同步替换,勿沿用其他租户。
sn_id: 1753363479,
appStr: 'ZFyTNQTWEkCBczKzyUDJWE9Ecxtjjzwg',
// appKey: ,
}
}

View File

@@ -263,11 +263,11 @@
})], 1), n("v-uni-view", {
staticClass: "b-flex-col b-flex-x b-flex-space u-p-b-30 u-p-r-20",
on: {
click: function(e) {
click: function(e) {
// http://jf.suzhouyuqi.com/pages/integral/points?username=
arguments[0] = e = t.$handleEvent(e),
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"
}
}

View File

@@ -12,7 +12,7 @@
o = {
data: function() {
return {
urlSrc: "https://jf.bosenyuan.com/?sn_id=".concat(uni.$sn_id),
urlSrc: "https://jf.hapengran.com/?sn_id=".concat(uni.$sn_id),
passback: ""
}
},
@@ -40,7 +40,7 @@
void 0 === a ?
void 0 : a.id,
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));
case 4:
case "end":