Explorar o código

fix store_id is null error

stanley-king %!s(int64=3) %!d(string=hai) anos
pai
achega
25228d3800
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      helper/refill/RefillBase.php

+ 1 - 0
helper/refill/RefillBase.php

@@ -470,6 +470,7 @@ class RefillBase
                     $logic_vr_order = Logic("vr_order");
                     $logic_vr_order->changeOrderStateSend($order_id,true);
 
+                    $order_info = Model('vr_order')->getOrderInfo(['order_id' => $order_id]);
                     $mod_fetch_order = Model('fetch_order');
                     $fetch_datas = ['order_id' => $order_id, 'order_sn' => $order_sn, 'store_id' => $order_info['store_id'],'channel_name' => $channel_name,
                         'fetch_status' => 1, 'card_no' => $card_no, 'card_type' => $card_type, 'refill_amount' => $amount,