Quellcode durchsuchen

Merge branch 'dev' of http://ylsjtt.game7000.com:3000/YLSJ/jzhj2024server into dev

cyzhao vor 8 Monaten
Ursprung
Commit
e5d4f24b2b

+ 1 - 1
Gameserver/App/service_call/pay/official/alipay/notify.php

@@ -25,7 +25,7 @@ if ($flag) {
         if ($order->Check()) {                                                  # 订单校验, 1代表支付成功
             if ($order->status == 1) {                                          # 订单状态是成功
                 $order->UpdateOrderStatus();                                    # 更新订单状态,->已付款
-                loyalsoft\TapDBUtil::PushPayEvent($order, 'alipay');            # 向tapdb推送充值记录
+//                loyalsoft\TapDBUtil::PushPayEvent($order, 'alipay');            # 向tapdb推送充值记录
                 CLog::pay("[notify.zfb] [发货] " . $order->cpOrderId . " >>> " . $order->amount);
             } else if ($order->status == 2) {                                   # status为2(failed)的情况
                 $order->UpdateOrderStatus();                                    # 直接更新订单状态,->支付失败

+ 1 - 2
Gameserver/App/service_call/pay/official/wxpay/notify.php

@@ -63,7 +63,7 @@ class PayNotifyCallBack extends WxPayNotify {
         }
         if ($order->status == 1) {                                              # 订单状态是成功 1代表支付成功
             $order->UpdateOrderStatus();                                        # [数据库操作]更新订单状态,->已付款
-            loyalsoft\TapDBUtil::PushPayEvent($order, 'wxpay');                 # 向tapdb推送充值记录
+//            loyalsoft\TapDBUtil::PushPayEvent($order, 'wxpay');                 # 向tapdb推送充值记录
             CLog::pay("[notify.wx] [发货] " . $order->cpOrderId . " >>> " . $order->amount);
             $msg = "success";
             return true;
@@ -72,7 +72,6 @@ class PayNotifyCallBack extends WxPayNotify {
         CLog::pay("[notify.wx][处理结果]: FAILURE ($msg)");                     # 日志
         return false;
     }
-
 }
 
 HttpUtil::PostOnly();

+ 1 - 2
Gameserver/App/service_call/pay/official/wxpayv2/notify.php

@@ -65,7 +65,7 @@ class PayNotifyCallBack extends WxPayNotify {
         }
         if ($order->status == 1) {                                              # 订单状态是成功 1代表支付成功
             $order->UpdateOrderStatus();                                        # [数据库操作]更新订单状态,->已付款
-            loyalsoft\TapDBUtil::PushPayEvent($order, 'wxpay');                 # 向tapdb推送充值记录
+//            loyalsoft\TapDBUtil::PushPayEvent($order, 'wxpay');                 # 向tapdb推送充值记录
             CLog::pay("[notify.wx] [发货] " . $order->cpOrderId . " >>> " . $order->amount);
             $msg = "success";
             return true;
@@ -87,7 +87,6 @@ class PayNotifyCallBack extends WxPayNotify {
         }
         //PS. substr() 函数返回字符串的一部分 strrpos() 函数查找字符串在另一字符串中最后一次出现的位置。
     }
-
 }
 
 HttpUtil::PostOnly();

+ 1 - 2
Gameserver/App/service_call/pay/official/wxpayv2/notify_hykb.php

@@ -65,7 +65,7 @@ class PayNotifyCallBack extends WxPayNotify {
         }
         if ($order->status == 1) {                                              # 订单状态是成功 1代表支付成功
             $order->UpdateOrderStatus();                                        # [数据库操作]更新订单状态,->已付款
-            loyalsoft\TapDBUtil::PushPayEvent($order, 'wxpay');                 # 向tapdb推送充值记录
+//            loyalsoft\TapDBUtil::PushPayEvent($order, 'wxpay');                 # 向tapdb推送充值记录
             CLog::pay("[notify.wx] [发货] " . $order->cpOrderId . " >>> " . $order->amount);
             $msg = "success";
             return true;
@@ -87,7 +87,6 @@ class PayNotifyCallBack extends WxPayNotify {
         }
         //PS. substr() 函数返回字符串的一部分 strrpos() 函数查找字符串在另一字符串中最后一次出现的位置。
     }
-
 }
 
 HttpUtil::PostOnly();

+ 1 - 2
Gameserver/App/service_call/pay/official/wxv3/notify.php

@@ -68,7 +68,7 @@ class PayNotifyCallBack extends WxPayNotify {
         }
         if ($order->status == 1) {                                              # 订单状态是成功 1代表支付成功
             $order->UpdateOrderStatus();                                        # [数据库操作]更新订单状态,->已付款
-            loyalsoft\TapDBUtil::PushPayEvent($order, 'alipay');                # 向tapdb推送充值记录
+//            loyalsoft\TapDBUtil::PushPayEvent($order, 'alipay');                # 向tapdb推送充值记录
             CLog::pay("[notify.wx] [发货] " . $order->cpOrderId . " >>> " . $order->amount);
             $msg = "success";
             return true;
@@ -77,7 +77,6 @@ class PayNotifyCallBack extends WxPayNotify {
         CLog::pay("[notify.wx][处理结果]: FAILURE ($msg)");                     # 日志
         return false;
     }
-
 }
 
 HttpUtil::PostOnly();

+ 1 - 1
Gameserver/App/service_call/pay/yyb_d/notify.php

@@ -56,7 +56,7 @@ try {
             if ($order->status == 1) {                                          # 订单状态是成功
                 $order->UpdateOrderStatus();                                    # 更新订单状态,->已付款
                 echo payResp::ok();
-                loyalsoft\TapDBUtil::PushPayEvent($order, 'yyb');               # 向tapdb推送充值记录
+//                loyalsoft\TapDBUtil::PushPayEvent($order, 'yyb');               # 向tapdb推送充值记录
 
                 CLog::pay("$tag [发货] 订单: " . $order->cpOrderId . ", 金额: " . $order->amount);
             } else if ($order->status == 2) {                                   # status为2(failed)的情况

+ 1 - 1
Gameserver/App/util/UtilInclude.php

@@ -19,5 +19,5 @@ require_once 'DebugHelper.php';
 require_once 'SelfChecker.php';                                                 # 自检模块
 require_once 'dao.php';                                                         # dao辅助脚本
 //require_once __DIR__ . '/volcengine/VolcUtil.php';                               # 导入火山引擎封装
-//require_once __DIR__ . '/tapdb/TapDBUtil.php';
+require_once __DIR__ . '/tapdb/TapDBUtil.php';
 //require_once ROOTDIR . '/Util/traits/RedisFlat.php';