You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong_qianduan/config.js

38 lines
1.0 KiB

11 months ago
export default {
// 系统名称
8 months ago
name: "零售商城",
11 months ago
/**
* 后端api地址 (必填; 斜杠/结尾; 请确保能访问)
* 例如: https://www.你的域名.com/index.php?s=/api/
*/
6 months ago
apiUrl: "https://www.royaum.com.cn/index.php?s=/api/",
6 months ago
// apiUrl: "https://test-www.royaum.com.cn/index.php?s=/api/",
10 months ago
picUrl:'https://www.royaum.com.cn',
11 months ago
/**
* 商城ID (必填)
* 可在超管后台-商城列表中查看10025
11 months ago
*/
8 months ago
// storeId: 10001,
// storeId: 10045, // 派货宝
// storeId: 10037,
storeId: wx.getExtConfigSync && wx.getExtConfigSync().store_id ? wx.getExtConfigSync().store_id : 10048, // 财运小旺
11 months ago
/**
* 是否启用商城设置缓存
* 将减少用户端重复请求; 正式运营时请设为true, 开启后商城设置同步前端需10分钟缓存
*/
enabledSettingCache: true,
/**
* 是否启用H5端多开
* 启用后将通过获取子域名中的ID作为storeId; 例如域名是 "shop10001.baidu.com", 那么storeId就是10001
*/
enabledH5Multi: true,
}