Closed lewuzzx closed 11 months ago
final class Epay extends Base { protected array $epay = [];###这个地方
public function __construct()
{
$this->epay['apiurl'] = Config::obtain('epay_url');//易支付API地址
$this->epay['partner'] = Config::obtain('epay_pid');//易支付商户pid
$this->epay['key'] = Config::obtain('epay_key');//易支付商户Key
$this->epay['sign_type'] = strtoupper(Config::obtain('epay_sign_type')); //签名方式
$this->epay['input_charset'] = strtolower('utf-8');//字符编码
$this->epay['transport'] = 'https';//协议 http 或者https
}
![Uploading 屏幕截图 2023-11-05 002248.png…]()