@@ -42,6 +42,7 @@ class WeChatPay extends Controller
'trade_type' => $trade_type, // 请对应换成你的支付方式对应的值类型
'openid' => $openid,
];
+ var_dump($parameter);
switch ($trade_type){
case 'JSAPI':
$app = Factory::payment(config('app.wx_pay'));