| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- /**
- * 星闪豹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',
- /**
- * 体验版
- */
- // trial: "http://192.168.1.166:8080/jeecg-boot",
- // trial: "http://192.168.0.11:8080/jeecg-boot",
- trial: 'http://192.168.1.101:8080',
- /**
- * 正式版
- */
- release: '',
- }
- const mapEnvStaticVersion = {
- /**
- * 测试环境
- */
- develop: 'http://192.168.1.242/static',
- /**
- * 体验环境
- */
- trial: 'http://192.168.1.242/static',
- /**
- * 正式环境
- */
- release: 'http://192.168.1.242/static',
- }
- /**
- * Base URL请求基本url
- */
- export const BASE_URL
- = mapEnvVersion[uni.getAccountInfoSync().miniProgram.envVersion]
- /**
- * 静态资源服务
- */
- export const StaticUrl = mapEnvStaticVersion[uni.getAccountInfoSync().miniProgram.envVersion]
- /**
- * 是否存在这些页面,存在则显示tabbar
- * 防止tabbar闪烁
- */
- export const xsbTabbarName = [
- 'xsb-home',
- 'xsb-classfiy',
- 'xsb-my',
- 'xsb-cart',
- ]
|