zqwang пре 1 година
родитељ
комит
73c6a11451

+ 0 - 1
app/Http/Controllers/QuickApp/Order/OrdersController.php

@@ -809,7 +809,6 @@ class OrdersController extends BaseController
         $this->distribution_channel_id;
         $uid = $this->uid;
         $send_order_id = $this->user_info->send_order_id;
-        $send_order_id  =  4443540;
         $res = UserChargeService::getTemplate($this->uid,$send_order_id,$this->distribution_channel_id);
         return response()->success($res);
     }

+ 1 - 1
app/Modules/Trade/Pay/MonthOrderPaySuccess.php

@@ -23,7 +23,7 @@ class MonthOrderPaySuccess extends PaySuccessAbstract
     protected function handlePayProcess()
     {
         $this->year_order['begin_time'] = date('Y-m-d H:i:s');
-        $this->year_order['end_time'] = date('Y-m-d H:i:s', strtotime('+31 day'));
+        $this->year_order['end_time'] = date('Y-m-d H:i:s', strtotime('+30 day'));
         $old = YearOrder::where('uid', $this->year_order['uid'])->select('id', 'uid', 'u', 'begin_time', 'end_time', 'fee')->first();
         if ($old) {
             //如果包过年