mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-05 05:39:07 +08:00
修复TransferGateway 下 undefined type
This commit is contained in:
parent
5816c97efa
commit
576f67b89d
@ -29,7 +29,7 @@ class TransferGateway extends Gateway
|
||||
unset($payload['sub_mch_id'], $payload['sub_appid']);
|
||||
}
|
||||
|
||||
$type = Support::getInstance()->getTypeName($payload['type']);
|
||||
$type = Support::getInstance()->getTypeName($payload['type']??'');
|
||||
|
||||
$payload['mch_appid'] = Support::getInstance()->getConfig($type, '');
|
||||
$payload['mchid'] = $payload['mch_id'];
|
||||
|
Loading…
Reference in New Issue
Block a user