lyuis 7 månader sedan
förälder
incheckning
e34a4425d2
1 ändrade filer med 5 tillägg och 1 borttagningar
  1. 5 1
      common/config.js

+ 5 - 1
common/config.js

@@ -1,6 +1,10 @@
 const h5Url='https://bossweb.edccc.cn'
 const ossUrl='https://yi-zhipin.oss-cn-hangzhou.aliyuncs.com/emoji/'
-if (process.env.NODE_ENV !== 'development') {
+let mobile=0;
+// #ifdef APP-PLUS
+mobile=1
+//#endif
+if (process.env.NODE_ENV !== 'development'||mobile) {
 	//正式环境
 	const ROOTPATH = "https://yizhizan.edccc.cn/sqx_fast";
 	const ROOTPATH1 = "https://yizhizan.edccc.cn/sqx_fast";