@@ -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');