|
@@ -6,9 +6,9 @@ import { SdkUtil } from './sdkUtil';
|
|
|
const { ccclass, property } = _decorator;
|
|
|
@ccclass('http')
|
|
|
export class http {
|
|
|
- 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 domain = config.debug?"https://tstzcapi.hainanmlwl.com":"https://zcapi.hainanmlwl.com"
|
|
|
+ public static static_domain = config.debug?"https://tstzcapi.hainanmlwl.com":"https://zaoca.oss-cn-beijing.aliyuncs.com"
|
|
|
+ public static statistics_domain = config.debug?"":""
|
|
|
public static post(url,opt, call_back,method:string='POST') {
|
|
|
var xml = new XMLHttpRequest()
|
|
|
let request_url = http.domain+url
|