mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-05 13:48:53 +08:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
d242e38c63
@ -100,7 +100,7 @@ class Support
|
||||
{
|
||||
$payload = array_merge($payload, is_array($order) ? $order : ['out_trade_no' => $order]);
|
||||
|
||||
$type = isset($order['type']) ? ($order['type'].($order['type'] == 'app' ?: '_').'id') : 'app_id';
|
||||
$type = isset($order['type']) ? $order['type'].($order['type'] == 'app' ? '' : '_').'id' : 'app_id';
|
||||
|
||||
$payload['appid'] = $config->get($type, '');
|
||||
$mode = $config->get('mode', Wechat::MODE_NORMAL);
|
||||
|
Loading…
Reference in New Issue
Block a user