lyuis 7 meses atrás
pai
commit
e34a4425d2
1 arquivos alterados com 5 adições e 1 exclusões
  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";