|
@@ -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('')
|