|
@@ -5,8 +5,8 @@ import { userDataManager } from './manager/userDataManager';
|
|
|
const { ccclass, property } = _decorator;
|
|
|
@ccclass('http')
|
|
|
export class http {
|
|
|
- public static domain = config.debug?"https://zcapi.xwrun.com":""
|
|
|
- public static static_domain = config.debug?"https://zcapi.xwrun.com":""
|
|
|
+ public static domain = config.debug?"https://zcapi.xwrun.com":"https://zcapi.hainanmlwl.com"
|
|
|
+ public static static_domain = config.debug?"https://zcapi.xwrun.com":"https://zaoca.oss-cn-beijing.aliyuncs.com"
|
|
|
public static statistics_domain = config.debug?"https://zcapi.xwrun.com":""
|
|
|
public static post(url,opt, call_back,method:string='POST') {
|
|
|
var xml = new XMLHttpRequest()
|