Anankke / SSPanel-UIM

Multi-purpose proxy service management system
MIT License
9.4k stars 3.4k forks source link

这个地方是不是有问题,想请问一下创作者,我输入有报错 #2229

Closed lewuzzx closed 11 months ago

lewuzzx commented 11 months ago

![Uploading 屏幕截图 2023-11-05 002248.png…]()

lewuzzx commented 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
}