mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
修改支付宝通联支付
This commit is contained in:
parent
aa5bef98f4
commit
db585cf163
@ -200,7 +200,12 @@ class AllinPay extends Client
|
||||
$this->version = self::VERSION_NUM_11;
|
||||
$res = $this->create($trxamt, $orderId, $body, null, null, null, '', $remark);
|
||||
$invalid = time() + 60;
|
||||
return ['invalid' => $invalid, 'logo' => sys_config('wap_login_logo'), 'code_url' => $res['payinfo']];
|
||||
if ($isWechat) {
|
||||
$key = 'code_url';
|
||||
} else {
|
||||
$key = 'qrCode';
|
||||
}
|
||||
return ['invalid' => $invalid, 'logo' => sys_config('wap_login_logo'), $key => $res['payinfo']];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user