Browse Source

修改页面配置变量

oyq28 2 years ago
parent
commit
cba764f92c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      imcs-bt-fe/imcs-bt-fe/uni-mall/utils/util.js

+ 4 - 4
imcs-bt-fe/imcs-bt-fe/uni-mall/utils/util.js

@@ -1,8 +1,8 @@
 const utils = {
 	// 域名
 	//domain: 'https://fly2you.cn/',
-	//domain: 'https://gn.baotingsmart.com/',
-	domain: 'http://127.0.0.1:8764/',
+	domain: 'https://gn.baotingsmart.com/',
+	//domain: 'http://127.0.0.1:8764/',
 	//接口地址
 	interfaceUrl: function(params) {
 		//return utils.domain + 'platform/api/'
@@ -448,8 +448,8 @@ const utils = {
 	},
 	loginH5: function(data){
 		data.interfaceUrl = "/"
-		//return utils.request("api/oauth/anno/token", data, "post", "application/json");
-	    return utils.request("anno/token", data, "post", "application/json");
+		return utils.request("api/oauth/anno/token", data, "post", "application/json");
+	    //return utils.request("anno/token", data, "post", "application/json");
 	},
 	randomNum: function(len, radix) {
 	  const chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('')