hexiaojie 7 months ago
parent
commit
94ba5eca6b
1 changed files with 5 additions and 1 deletions
  1. 5 1
      GameClient/Assets/Game/HotUpdate/Platform/AliPay/AliManager.cs

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

@@ -9,7 +9,9 @@ namespace GFGGame
     {
     {
         public void Init()
         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>
     /// <summary>
     /// SDK回调
     /// SDK回调
     /// </summary>
     /// </summary>
@@ -51,4 +54,5 @@ namespace GFGGame
             Debug.Log("Game.HotUpdate VxPayReceiveAb: " + message);
             Debug.Log("Game.HotUpdate VxPayReceiveAb: " + message);
         }
         }
     }
     }
+#endif
 }
 }