@@ -746,7 +746,8 @@ class PurchaseController extends BaseController
'amount' => $totalFee,
'capitalType' => $purchaseCapital,
'notifyUrl' => $notifyUrl,
- 'transType' => 41,
+ 'wxAppId' => $merchantExtend['miniAppId'],
+ 'openId' => $openId,
'subject' => $name,
'couponId' => $couponId,
];