wanggangzero 5 месяцев назад
Родитель
Сommit
c54c5bd565
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      Gameserver/App/service_call/pay/Mo/payRequest.php

+ 7 - 7
Gameserver/App/service_call/pay/Mo/payRequest.php

@@ -236,13 +236,13 @@ class PayRequest extends loyalsoft\Object_ext {
 //                $this->amount = number_format(0.01, 2, '.', '');
 //                $this->amount = number_format(0.01, 2, '.', '');
 //                $this->product_price = 0.01;
 //                $this->product_price = 0.01;
 //            } else  //
 //            } else  //
-            if ($this->amount != loyalsoft\GameConfig::shop_getItem($this->product_id)->price) {
-                \loyalsoft\CLog::pay($this->product_id);
-                \loyalsoft\CLog::pay(var_export(loyalsoft\gMem()));
-                \loyalsoft\CLog::pay(loyalsoft\GameConfig::shop_getItem($this->product_id)->price);
-                \loyalsoft\CLog::pay('金额不符' . $this->amount . " ");
-                exit('{"err":1,"msg":"金额不符!"}');
-            }
+//            if ($this->amount != loyalsoft\GameConfig::shop_getItem($this->product_id)->price) {
+//                \loyalsoft\CLog::pay($this->product_id);
+//                \loyalsoft\CLog::pay(var_export(loyalsoft\gMem()));
+//                \loyalsoft\CLog::pay(loyalsoft\GameConfig::shop_getItem($this->product_id)->price);
+//                \loyalsoft\CLog::pay('金额不符' . $this->amount . " ");
+//                exit('{"err":1,"msg":"金额不符!"}');
+//            }
         }
         }
         loyalsoft\daoInst()->insert(self::orderTab)                                                                                                                          # 创建一个新的订单
         loyalsoft\daoInst()->insert(self::orderTab)                                                                                                                          # 创建一个新的订单
                 ->data(array('order_ts' => loyalsoft\now()))
                 ->data(array('order_ts' => loyalsoft\now()))