stanley-king 2 years ago
parent
commit
0d302e96c6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      data/logic/buy_virtual.logic.php
  2. 1 1
      helper/refill/RefillBase.php

+ 1 - 1
data/logic/buy_virtual.logic.php

@@ -86,7 +86,7 @@ class buy_virtualLogic
      * @param int $member_id
      * @param int $member_id
      * @return array
      * @return array
      */
      */
-    public function buyStep3($post, $member_id,$calc_vorder_amount = null,$merchant = false,$use_trans = true)
+    public function buyStep3($post, $member_id, $calc_vorder_amount = null, $merchant = false, $use_trans = true)
     {
     {
         $fRefill = $merchant;
         $fRefill = $merchant;
         $result = $this->getBuyStepData($post['goods_id'], $post['quantity'], $member_id, $fRefill);
         $result = $this->getBuyStepData($post['goods_id'], $post['quantity'], $member_id, $fRefill);

+ 1 - 1
helper/refill/RefillBase.php

@@ -303,7 +303,7 @@ class RefillBase
         $input['pd_pay'] = true;
         $input['pd_pay'] = true;
 
 
         $logic_buy_virtual = Logic('buy_virtual');
         $logic_buy_virtual = Logic('buy_virtual');
-        $result = $logic_buy_virtual->buyStep3($input, $buyer_id, [$calc, 'calc_vorder_amount'], true,false);
+        $result = $logic_buy_virtual->buyStep3($input, $buyer_id, [$calc, 'calc_vorder_amount'], true, true);
 
 
         $mod_refill = Model('refill_order');
         $mod_refill = Model('refill_order');
         if ($result['state'] === true)
         if ($result['state'] === true)