hrjy %!s(int64=3) %!d(string=hai) anos
pai
achega
86ed93f8b5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/api/controller/user/CardController.php

+ 1 - 1
app/api/controller/user/CardController.php

@@ -102,7 +102,7 @@ class CardController
      */
     public function wechat(Request $request)
     {
-        list($card_id, $type, $from) = UtilService::postMore([['card_id', 0], ['type', 0]], $request, true);
+        list($card_id, $type, $from) = UtilService::postMore([['card_id', 0], ['type', 0], ['from', 0]], $request, true);
         switch ((int)$type) {
             case 0: //支付充值余额
                 $order = CardOrder::addCard($request->uid(), $card_id, 'weixinh5');