stanley-king před 3 roky
rodič
revize
975c63215e

+ 0 - 1
helper/refill/order.php

@@ -166,7 +166,6 @@ class order
         $this->mIdCard = $params['idcard'] ?? '';
         $this->mCardName = $params['card_name'] ?? '';
 
-        $this->mAcceptTime = $params['acceept_time'] ?? time();
         $this->mOrderTime = $params['order_time'] ?? time();
         $this->mCommitTimes = $params['commit_times'] ?? 0;
 

+ 1 - 0
mchsrv/control/merchant_refill.php

@@ -101,6 +101,7 @@ class merchant_refillControl extends mbMerchantControl
                     'amount' => $amount,
                     'card_no' => $no,
                     'mch_order' => $mch_order,
+                    'order_time' => time(),
                     'notify_url' => "",
                     'org_quality' => $quality];
 

+ 1 - 0
mobile/control/merchant_refill.php

@@ -97,6 +97,7 @@ class merchant_refillControl extends mbMerchantControl
                     'buyer_id' => intval($merchant_info['admin_id']),
                     'amount' => $amount,
                     'card_no' => $no,
+                    'order_time' => time(),
                     'mch_order' => "",
                     'notify_url' => ""];
 

+ 3 - 1
mobile/control/refill.php

@@ -107,7 +107,9 @@ class refillControl extends merchantControl
             'card_no' => $card_no,
             'mch_order' => $mch_order,
             'notify_url' => $notify_url,
-            'org_quality' => $quality];
+            'org_quality' => $quality,
+            'order_time' => time()
+        ];
 
         refill\util::push_queue_order($this->mchid(),$mch_order,ORDER_STATE_QUEUE);
         Model('refill_order')->add_detail($this->mchid(),$mch_order,$params,ORDER_STATE_QUEUE);