hexiaojie 7 сар өмнө
parent
commit
94ba5eca6b

+ 5 - 1
GameClient/Assets/Game/HotUpdate/Platform/AliPay/AliManager.cs

@@ -9,7 +9,9 @@ namespace GFGGame
     {
         public void Init()
         {
-            AliPayManagerInit.Instance.aliSDKListener = new AliPaySDKListener();
+#if GFGZSB
+                         AliPayManagerInit.Instance.aliSDKListener = new AliPaySDKListener();     
+#endif
         }
         
         //支付宝支付
@@ -28,6 +30,7 @@ namespace GFGGame
         }
     }
 
+#if GFGZSB
     /// <summary>
     /// SDK回调
     /// </summary>
@@ -51,4 +54,5 @@ namespace GFGGame
             Debug.Log("Game.HotUpdate VxPayReceiveAb: " + message);
         }
     }
+#endif
 }