feat: 体验版改为请求正式服
This commit is contained in:
parent
5237884876
commit
8467cc9324
|
|
@ -10,8 +10,8 @@ export default class Utils {
|
|||
static outTradeNo: string = "";
|
||||
// static httpip: string = `https://laf.nika4games.com/`; //五彩消消乐
|
||||
static httpip: string = `https://q6rvwvtnga.sealoshzh.site/`; //消消王者
|
||||
// static testHttpip: string = `https://sor779u2w8.sealoshzh.site/`; //测试服务器
|
||||
static testHttpip: string = `https://q6rvwvtnga.sealoshzh.site/`; //消消王者测试服暂替
|
||||
static testHttpip: string = `https://sor779u2w8.sealoshzh.site/`; //测试服务器
|
||||
// static testHttpip: string = `https://q6rvwvtnga.sealoshzh.site/`; //消消王者测试服暂替
|
||||
//#region 安卓支付
|
||||
/**获取用户信息*/
|
||||
static getUserInfo(callBack, from?: string) {
|
||||
|
|
@ -354,7 +354,7 @@ export default class Utils {
|
|||
/** Keep public cache namespaces aligned with the actual request environment. */
|
||||
static apiBaseUrl(): string {
|
||||
const version = cc.fx.GameTool.getWechatGameVersion();
|
||||
return version === "开发版" || version === "体验版" ? this.testHttpip : this.httpip;
|
||||
return version === "开发版" ? this.testHttpip : this.httpip;
|
||||
}
|
||||
|
||||
//#region POST请求
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user