gdl_123 8 месяцев назад
Родитель
Сommit
d8e69542ec

+ 1 - 1
Assets/Content/Config/DownLoadUrlCfg.csv

@@ -2,5 +2,5 @@ ID,Platform,BaseUrl,ServerUrl,Param1,DownloadPath,MaxNum
 ID,Platform,BaseUrl,ServerUrl,Param1,DownloadPath,MaxNum
 int,string,string,string,string,string,int
 1,GameDebug,http://110.40.223.119:88/ru/,http://110.40.223.119:81/,ru,res/AndroidNewRes/,1
-2,Android,http://165.154.202.27:88/,http://165.154.202.27:81/,ru,res/AndroidNewRes/,1
+2,Android,http://165.154.215.99:88/,http://165.154.215.99:81/,ru,res/AndroidNewRes/,1
 3,IOS,http://165.154.202.27:88/,http://165.154.202.27:81/,ru,res/IosRes/,1

+ 1 - 1
Assets/Content/Prefabs/UI/UILanuch/UILanuch.prefab

@@ -10333,7 +10333,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 1
+  m_IsActive: 0
 --- !u!224 &7491880728378547809
 RectTransform:
   m_ObjectHideFlags: 0

+ 3 - 10
Assets/Plugins/SDK/SDKMgr.cs

@@ -166,14 +166,7 @@ public partial class SDKMgr : MonoBehaviour
         };
         try
         {
-            int itemp = Mathf.FloorToInt(amount);
-            Debug.Log("价格 = "+itemp);
-
-            if (ProductInfos.ContainsKey(itemp.ToString()))
-            {
-                Debug.Log("有 价格 = " + itemp);
-            }
-
+           
             string extraParams = JsonUtility.ToJson(data);
             sdk.Pay(goodsId, goodsName, goodsDesc,
                 count, amount,
@@ -564,10 +557,10 @@ public partial class SDKMgr : MonoBehaviour
                     Name = name,
                     Other = other,
                 });
-                Debug.Log($"===== 添加 商品配置 {name}   ======  价格 = {amount}");
+               // Debug.Log($"===== 添加 商品配置 {name}   ======  价格 = {amount}");
             }
 
-            Debug.Log($"=====  商品配置 {name}   ======  价格 = {amount}");
+            //Debug.Log($"=====  商品配置 {name}   ======  价格 = {amount}");
         }
 
     }

+ 5 - 10
Build/BuildDependenceResource/PackConfig.json

@@ -586,7 +586,6 @@
             "defineSymbols": [
                 "USE_LUA",
                 "VUPLEX_CCU",
-                "BUGLY",
                 "FPS_DISABLE"
             ],
             "logo1RelativePath": "xlwy.png",
@@ -597,23 +596,19 @@
             "obscureKey": "",
             "obscureOffsetMin": 0,
             "obscureOffsetValues": [],
-            "sdkVerifyUrl": "http://165.154.202.27:81//",
-            "serverListUrl": "http://165.154.202.27:81//serverlist",
-            "notifyUrl": "http://165.154.202.27:88/res/NoticeNew/",
-            "specialInfoUrl": "http://165.154.202.27:81//channel",
-            "customerServiceInfoUrl": "http://165.154.202.27:81//vipService",
+            "sdkVerifyUrl": "http://165.154.215.99:81//",
+            "serverListUrl": "http://165.154.215.99:81//serverlist",
+            "notifyUrl": "http://165.154.215.99:88/res/NoticeNew/",
+            "specialInfoUrl": "http://165.154.215.99:81//channel",
+            "customerServiceInfoUrl": "http://165.154.215.99:81//vipService",
             "leBian_MainChId": "69423",
             "leBian_ClientChId": "youyi_bt_jj",
             "leBian_SECID": "dmcve6kq.c",
             "plugins": [
                 "common",
-                "Bugly",
-                "FairGuard",
-                "Lebian",
                 "YOUYI_1.6.9"
             ],
             "sdkBridges": [
-                "Bugly",
                 "YOUYI_1.6.9"
             ],
             "keystoreName": "wenting.keystore",

+ 10 - 1
Build/BuildDependenceResource/Plugins/SDKBridge/TZ_android/YouYiSDKAndroid.cs

@@ -71,7 +71,16 @@ public class YouYiSDKAndroid : SDKBase
 
                 Dictionary<string, SDKMgr.ProductInfo> cfgs = SDKMgr.Instance.ProductInfos;
 
-                string  pice = amount.ToString();
+                 int itemp = Mathf.FloorToInt(amount);
+                string pice = "";
+                if ((itemp + 0.005f) > amount)
+                {
+                    pice = itemp.ToString();
+                }
+                else
+                {
+                    pice = amount.ToString("F2");
+                }
 
                 Debug.Log("价格 = "+ pice);
                 if (cfgs.ContainsKey(pice))