shish %!s(int64=2) %!d(string=hai) anos
pai
achega
94e8d73cf6
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      app-ghs/controllers/OrderClearController.php

+ 3 - 1
app-ghs/controllers/OrderClearController.php

@@ -161,7 +161,9 @@ class OrderClearController extends BaseController
             $shop = $this->shop;
             $staff = $this->shopAdmin;
             //充值
-            CustomClass::rechargeBalance($custom, $amount, $shop, $staff);
+            $return = CustomClass::rechargeBalance($custom, $amount, $shop, $staff);
+            $custom = $return['custom'];
+            $ghs = $return['ghs'];
             //结账
             OrderClearClass::confirmClear($clear, $payWay);
             $clearInfo = OrderClearClass::getLockById($id);