mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-09 07:37:44 +08:00
fix some styles
This commit is contained in:
parent
b906314c70
commit
b4e7c99b76
@ -20,7 +20,7 @@ class TransferGateway extends Gateway
|
||||
*/
|
||||
public function pay($endpoint, array $payload): Collection
|
||||
{
|
||||
$type = isset($order['type']) ? ($order['type'].($order['type'] == 'app' ?: '_').'id') : 'app_id';
|
||||
$type = isset($payload['type']) ? ($payload['type'].($payload['type'] == 'app' ?: '_').'id') : 'app_id';
|
||||
|
||||
$payload['mch_appid'] = $this->config->get($type, '');
|
||||
$payload['mchid'] = $payload['mch_id'];
|
||||
|
Loading…
Reference in New Issue
Block a user