perf: 支付文案
This commit is contained in:
parent
794a3698ad
commit
96fc917bad
@ -69,7 +69,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||||||
data: '订单已过期'
|
data: '订单已过期'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
throw new Error(payRes.trade_state_desc);
|
throw new Error(payRes?.trade_state_desc || '订单无效');
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// console.log(err);
|
// console.log(err);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user