小程序appid修改
一些文档更新
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!-- gitnexus:start -->
|
||||
# GitNexus — Code Intelligence
|
||||
|
||||
This project is indexed by GitNexus as **FingertipDesigner** (14061 symbols, 29907 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
||||
This project is indexed by GitNexus as **FingertipDesigner** (15270 symbols, 32958 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
||||
|
||||
> Index stale? Run `node .gitnexus/run.cjs analyze` from the project root — it auto-selects an available runner. No `.gitnexus/run.cjs` yet? `npx gitnexus analyze` (npm 11 crash → `npm i -g gitnexus`; #1939).
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!-- gitnexus:start -->
|
||||
# GitNexus — Code Intelligence
|
||||
|
||||
This project is indexed by GitNexus as **FingertipDesigner** (14061 symbols, 29907 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
||||
This project is indexed by GitNexus as **FingertipDesigner** (15270 symbols, 32958 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
||||
|
||||
> Index stale? Run `node .gitnexus/run.cjs analyze` from the project root — it auto-selects an available runner. No `.gitnexus/run.cjs` yet? `npx gitnexus analyze` (npm 11 crash → `npm i -g gitnexus`; #1939).
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@ spring:
|
||||
# Nacos 集群地址,默认指向开发环境,生产环境通过环境变量覆盖。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.5.103:8848}
|
||||
# Nacos 命名空间,默认指向开发环境。
|
||||
namespace: ${NACOS_NAMESPACE:FingertipDesigner-Dev}
|
||||
namespace: FingertipDesigner-Dev
|
||||
# 服务注册分组。
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
group: DEFAULT_GROUP
|
||||
# 注册到 Nacos 的服务名。
|
||||
service: ${spring.application.name}
|
||||
# 是否启用服务发现。
|
||||
@@ -18,14 +18,14 @@ spring:
|
||||
# 是否将当前服务注册到 Nacos。
|
||||
register-enabled: true
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME:}
|
||||
username: xiaowang
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD:}
|
||||
password: 122503wcy....
|
||||
config:
|
||||
# Nacos 配置中心地址,与服务发现使用同一组集群节点,默认指向开发环境。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.5.103:8848}
|
||||
# Nacos 配置中心命名空间,默认指向开发环境。
|
||||
namespace: ${NACOS_NAMESPACE:FingertipDesigner-Dev}
|
||||
namespace: FingertipDesigner-Dev
|
||||
# 配置分组。
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
# Core 服务独有配置文件。
|
||||
@@ -35,9 +35,9 @@ spring:
|
||||
# 是否启用配置中心。
|
||||
enabled: true
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME:}
|
||||
username: ${NACOS_USERNAME:xiaowang}
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD:}
|
||||
password: ${NACOS_PASSWORD:122503wcy....}
|
||||
# Core 与 Gateway 共享的公共配置文件。
|
||||
shared-configs:
|
||||
- data-id: infra.yaml
|
||||
|
||||
@@ -7,21 +7,21 @@ spring:
|
||||
discovery:
|
||||
# Nacos 集群地址,默认指向开发环境,生产环境通过环境变量覆盖。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.5.103:8848}
|
||||
# Nacos 命名空间,默认指向开发环境。
|
||||
namespace: ${NACOS_NAMESPACE:FingertipDesigner-Dev}
|
||||
# Nacos 命名空间,默认指向开发环境
|
||||
namespace: FingertipDesigner-Dev
|
||||
# 服务注册分组。
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
# 注册到 Nacos 的服务名。
|
||||
service: ${spring.application.name}
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME:}
|
||||
username: ${NACOS_USERNAME:xiaowang}
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD:}
|
||||
password: ${NACOS_PASSWORD:122503wcy....}
|
||||
config:
|
||||
# Nacos 配置中心地址,与服务发现使用同一组集群节点,默认指向开发环境。
|
||||
server-addr: ${NACOS_SERVER_ADDR:192.168.5.103:8848}
|
||||
# Nacos 配置中心命名空间,默认指向开发环境。
|
||||
namespace: ${NACOS_NAMESPACE:FingertipDesigner-Dev}
|
||||
namespace: FingertipDesigner-Dev
|
||||
# 配置分组。
|
||||
group: ${NACOS_GROUP:DEFAULT_GROUP}
|
||||
# Gateway 服务独有配置文件。
|
||||
@@ -29,9 +29,9 @@ spring:
|
||||
# 所有 Nacos 配置均使用 YAML。
|
||||
file-extension: yaml
|
||||
# Nacos 认证用户名。
|
||||
username: ${NACOS_USERNAME:}
|
||||
username: ${NACOS_USERNAME:xiaowang}
|
||||
# Nacos 认证密码。
|
||||
password: ${NACOS_PASSWORD:}
|
||||
password: ${NACOS_PASSWORD:122503wcy....}
|
||||
# Core 与 Gateway 共享的公共配置文件。
|
||||
shared-configs:
|
||||
- data-id: infra.yaml
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"appid": "wxf76dd2d292d5e31c",
|
||||
"appid": "wxb6d77f7c07020d51",
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "3.15.2",
|
||||
"packOptions": {
|
||||
@@ -39,4 +39,4 @@
|
||||
"simulatorPluginLibVersion": {},
|
||||
"editorSetting": {},
|
||||
"testRoot": "minitest/"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -125,8 +125,8 @@ const IS_DEVTOOLS = RUNTIME_PLATFORM === 'devtools'
|
||||
|
||||
const DEFAULT_DOMAINS = {
|
||||
local: 'http://127.0.0.1:80',
|
||||
tunnel: 'https://yunail.art',
|
||||
'dev-remote': 'https://yunail.art',
|
||||
tunnel: 'http://wcy111.top:18888',
|
||||
'dev-remote': 'http://wcy111.top:18888',
|
||||
trial: 'https://yunail.art',
|
||||
release: 'https://yunail.art'
|
||||
}
|
||||
|
||||
@@ -10,8 +10,8 @@ module.exports = {
|
||||
},
|
||||
domains: {
|
||||
local: 'http://127.0.0.1:80',
|
||||
tunnel: 'https://yunail.art',
|
||||
'dev-remote': 'https://yunail.art',
|
||||
tunnel: 'http://wcy111.top:18888',
|
||||
'dev-remote': 'http://wcy111.top:18888',
|
||||
trial: 'https://yunail.art',
|
||||
release: 'https://yunail.art'
|
||||
}
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
管理师小程序的接口域名由 `FM-Wechat-Fronted/utils/config.js` 统一生成。
|
||||
|
||||
- 微信开发者工具运行时,`develop` 环境默认使用 `local`,接口地址为 `http://127.0.0.1:80/api`,管理端接口地址为 `http://127.0.0.1:80/api/admin`。
|
||||
- 真机开发版、体验版和正式版默认使用 `https://yunail.art`,避免真机把 `127.0.0.1` 识别为手机本机地址。
|
||||
- 真机开发版默认使用 `http://wcy111.top:18888`,避免真机把 `127.0.0.1` 识别为手机本机地址。
|
||||
- 体验版和正式版默认使用 `https://yunail.art`。
|
||||
- 如需本地临时切换到 tunnel 或远程开发地址,可复制 `FM-Wechat-Fronted/utils/config.local.example.js` 为 `FM-Wechat-Fronted/utils/config.local.js`,再调整 `developTarget` 或 `domains`。
|
||||
- 已登录的非安全请求默认启用请求签名,`config.local.js` 可通过 `enableRequestSigning: false` 临时关闭本地覆盖,但不要提交关闭签名的配置。
|
||||
- `config.local.js` 属于个人本地覆盖配置,已加入 `.gitignore`,不要提交到仓库。
|
||||
|
||||
Reference in New Issue
Block a user