future před 1 rokem
rodič
revize
cef9cfe219
2 změnil soubory, kde provedl 7 přidání a 7 odebrání
  1. 4 4
      assets/scene/main.scene
  2. 3 3
      assets/script/http.ts

+ 4 - 4
assets/scene/main.scene

@@ -192,7 +192,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1919.9999999999998
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -290,7 +290,7 @@
     "_priority": 0,
     "_fov": 45,
     "_fovAxis": 0,
-    "_orthoHeight": 959.9999999999999,
+    "_orthoHeight": 960.0000000000001,
     "_near": 0,
     "_far": 1000,
     "_color": {
@@ -561,7 +561,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1919.9999999999998
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -867,7 +867,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1919.9999999999998
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 3 - 3
assets/script/http.ts

@@ -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