feat(config): 更新API基础URL配置

- 将src/utils/config.ts中的BaseUrl从yd-api.websoft.top更改为cms-api.websoft.top
- 更新config/env.ts中development、production和test环境的API_BASE_URL配置
- 修改src/bszx/pay/pay.tsx中支付接口请求地址为新的cms-api域名
This commit is contained in:
2025-12-19 00:41:34 +08:00
parent 7df71448c9
commit c250f2ae5e
3 changed files with 5 additions and 5 deletions

View File

@@ -2,19 +2,19 @@
export const ENV_CONFIG = {
// 开发环境
development: {
API_BASE_URL: 'https://yd-api.websoft.top/api',
API_BASE_URL: 'https://cms-api.websoft.top/api',
APP_NAME: '开发环境',
DEBUG: 'true',
},
// 生产环境
production: {
API_BASE_URL: 'https://yd-api.websoft.top/api',
API_BASE_URL: 'https://cms-api.websoft.top/api',
APP_NAME: '邕递+',
DEBUG: 'false',
},
// 测试环境
test: {
API_BASE_URL: 'https://yd-api.s209.websoft.top/api',
API_BASE_URL: 'https://cms-api.s209.websoft.top/api',
APP_NAME: '测试环境',
DEBUG: 'true',
}

View File

@@ -43,7 +43,7 @@ const Bm = () => {
// return false;
// }
Taro.request({
url: 'https://yd-api.websoft.top/api/shop/shop-order',
url: 'https://cms-api.websoft.top/api/shop/shop-order',
method: 'POST',
header: {
'content-type': 'application/json',

View File

@@ -1,7 +1,7 @@
// 租户ID
export const TenantId = 10519;
// 接口地址
export const BaseUrl = 'https://yd-api.websoft.top/api';
export const BaseUrl = 'https://cms-api.websoft.top/api';
// 当前版本
export const Version = 'v3.0.8';
// 版权信息