feat: 支付调试

master
yin5th 2023-09-26 16:41:18 +08:00
parent fcfd9bc985
commit 2d3f7b0bde
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ class WeChatPayServer
}
//h5支付类型
if ($order_source == Client_::h5) {
if (in_array($order_source, [Client_::h5, Client_::api])) {
$attributes['trade_type'] = 'MWEB';
}