WIN-2308041133\Administrator 14 ساعت پیش
والد
کامیت
8c58d26879
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/api/controller/Recharge.php

+ 1 - 1
app/api/controller/Recharge.php

@@ -109,7 +109,6 @@ class Recharge extends BaseController
         $save['status'] = $payMoney <= 0 ? 1 : 0;
         $save['add_time'] = $nowTime;
         $save['update_time'] = $nowTime;
-        $save['order_type'] = 1;
         $save['remark'] = '用户充值';
 
         try {
@@ -160,6 +159,7 @@ class Recharge extends BaseController
                 'd_json' => serialize(['orderId' => $save["order_id"], "give_score" => 0]),
                 'time' => time(),
                 'status' => 0,
+                'order_type' => 1,
             ];
             $r = (new PayTradeModel)->insert($trade);
             if (!$r) {