优化下单流程
This commit is contained in:
@@ -97,7 +97,7 @@ export class PaymentHandler {
|
||||
* 处理微信支付
|
||||
*/
|
||||
private static async handleWechatPay(result: WxPayResult): Promise<void> {
|
||||
if (!result || !result.prepayId) {
|
||||
if (!result) {
|
||||
throw new Error('微信支付参数错误');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user