| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /**
- * 星闪豹appid
- */
- export const ZSWLXSB_APPID = 'wxbc64403830bb13c5'
- export const ZSWLZSDD_APPID = 'wx9894a01b9e92c368'
- export const VITE_OSS_BASE_URL = 'https://zswl-shop.oss-cn-chengdu.aliyuncs.com/'
- const mapEnvVersion = {
- /**
- * 开发版
- */
- // develop: 'http://192.168.1.166:8080', // 张
- // develop: 'http://192.168.1.101:8080',
- // develop: 'http://192.168.0.157:8080',
- develop: 'http://192.168.1.253:8080',
- // develop: 'http://47.109.84.152:8081',
- /**
- * 体验版
- */
- // trial: "http://192.168.1.166:8080/jeecg-boot",
- // trial: "http://192.168.0.11:8080/jeecg-boot",
- trial: 'http://47.109.84.152:8081',
- /**
- * 正式版
- */
- release: '',
- }
- const mapEnvStaticVersion = {
- /**
- * 测试环境
- */
- develop: 'https://zswl-smqjh.oss-cn-chengdu.aliyuncs.com/static/static',
- /**
- * 体验环境
- */
- trial: 'https://zswl-smqjh.oss-cn-chengdu.aliyuncs.com/static/static',
- /**
- * 正式环境
- */
- release: 'https://zswl-smqjh.oss-cn-chengdu.aliyuncs.com/static/static',
- }
- /**
- * Base URL请求基本url
- */
- export const BASE_URL
- = mapEnvVersion[uni.getAccountInfoSync().miniProgram.envVersion]
- /**
- * 静态资源服务
- */
- export const StaticUrl = mapEnvStaticVersion[uni.getAccountInfoSync().miniProgram.envVersion]
|