You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
633 B
39 lines
633 B
<?php |
|
/** |
|
* |
|
* Page.php |
|
* User: ChenLong <vip_chenlong@163.com> |
|
* DateTime: 2020/7/21 9:49 |
|
*/ |
|
|
|
|
|
namespace zfb\pay; |
|
|
|
|
|
use zfb\AccountParam; |
|
use zfb\Helper; |
|
|
|
/** |
|
* 电脑网站支付 |
|
* Class Page |
|
* @package zfb\pay |
|
*/ |
|
class Page |
|
{ |
|
use CommonPay; |
|
|
|
|
|
/** |
|
* Page constructor. |
|
* @param null $uid |
|
*/ |
|
public function __construct($uid = null) |
|
{ |
|
self::$commonOptions = AccountParam::getOption(); |
|
self::$commonOptions->method = 'alipay.trade.page.pay'; |
|
$this->product_code = 'FAST_INSTANT_TRADE_PAY'; |
|
$this->out_trade_no = Helper::outTradeNoGenerate($uid ?: 'P'); |
|
} |
|
|
|
} |
|
|
|
|