feata:微信安全测试
This commit is contained in:
+11
-1
@@ -2,10 +2,20 @@ export const BASE_URL = "https://api.tbmall.xin"; //生产
|
||||
export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产
|
||||
export const kefuBaseUrl = "https://admin.tbmall.xin/api";
|
||||
|
||||
// export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试
|
||||
|
||||
// export const BASE_URL = baseUrl; // 本地测试
|
||||
// export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试
|
||||
// export const kefuBaseUrl = "https://admin.o.tbmall.xin/api";
|
||||
|
||||
|
||||
// H5 环境且开发模式下使用 '/proxy-api' 代理解决浏览器跨域(注意不能用 '/api',否则会与本地 /api 源码目录冲突)
|
||||
let baseUrl = 'https://api.o.tbmall.xin';
|
||||
// #ifdef H5
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
baseUrl = '/proxy-api';
|
||||
}
|
||||
// #endif
|
||||
|
||||
// https://h.o.tbmall.xin/#/
|
||||
// 客服接口属于管理后台服务,用户端接口已在后端单独放行。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user