{
parent::initialize();
$this->pay_config = get_plugins_config('pay');
$this->reward_config = get_plugins_config('reward');
if($this->pay_config && $this->pay_config['alipay']['enable']=='N' && $this->pay_config['wechat']['enable']=='N' && $this->pay_config['balance']['enable']=='N'){
$this->error('支付功能配置,无法发起悬赏','index');
}
if($this->reward_config['reward']['enable']!='Y')
{
$this->error('悬赏功能暂未启用');
}
$this->assign([
'pay_config'=>$this->pay_config,
'reward_config'=>$this->reward_config
]);
}
sort | new |
category_id | 0 |
return_url | Lw== |
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | dm.wecenter.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | dm.wecenter.com |
SERVER_PORT | 443 |
SERVER_ADDR | 103.44.248.122 |
REMOTE_PORT | 37774 |
REMOTE_ADDR | 35.171.22.220 |
SERVER_SOFTWARE | nginx/1.20.2 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /data/wwwroot/demo/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /reward/index.html?sort=new&category_id=0 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/reward/index.html&sort=new&category_id=0 |
SCRIPT_FILENAME | /data/wwwroot/demo/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711626612.9493 |
REQUEST_TIME | 1711626612 |