mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-07-02 22:38:11 +08:00
Compare commits
2 Commits
b4d3be8785
...
9f2b4a6b46
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f2b4a6b46 | ||
|
|
c1e26665bf |
@ -100,17 +100,17 @@ abstract class PaymentService
|
||||
],
|
||||
// 支付宝支持配置(不需要的直接注释)
|
||||
self::PAYMENT_ALIPAY_WAP => [
|
||||
'type' => '',
|
||||
'type' => self::PAYMENT_ALIPAY_WAP,
|
||||
'name' => '支付宝WAP支付',
|
||||
'bind' => [UserAdminService::API_TYPE_WAP],
|
||||
],
|
||||
self::PAYMENT_ALIPAY_WEB => [
|
||||
'type' => '',
|
||||
'type' => self::PAYMENT_ALIPAY_WEB,
|
||||
'name' => '支付宝WEB支付',
|
||||
'bind' => [UserAdminService::API_TYPE_WEB],
|
||||
],
|
||||
self::PAYMENT_ALIAPY_APP => [
|
||||
'type' => '',
|
||||
'type' => self::PAYMENT_ALIAPY_APP,
|
||||
'name' => '支付宝APP支付',
|
||||
'bind' => [UserAdminService::API_TYPE_ANDROID, UserAdminService::API_TYPE_IOSAPP],
|
||||
],
|
||||
|
||||
@ -52,7 +52,7 @@ class AlipayPaymentService extends PaymentService
|
||||
$this->config['return_url'] = $payReturn;
|
||||
}
|
||||
}
|
||||
if ($tradeType === static::PAYMENT_WECHAT_APP) {
|
||||
if ($tradeType === static::PAYMENT_ALIAPY_APP) {
|
||||
$payment = App::instance($this->config);
|
||||
} elseif ($tradeType === static::PAYMENT_ALIPAY_WAP) {
|
||||
$payment = Wap::instance($this->config);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user