protected $categoryid;
protected $mod;
protected $table;
public function initialize()
{
parent::initialize();
$this->categoryid = $this->request->param('category_id');
$this->category = \app\common\model\Category::find($this->categoryid);
$modid = $this->category->mod_id;
if (!$modid) {
$this->error('模型ID错误');
}
$this->mod = \app\common\model\Mod::find($modid);
$this->table = $this->mod->getMod();
}
public function index($CategoryId)
{
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.bnxf.net |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.bnxf.net |
SERVER_PORT | 443 |
SERVER_ADDR | 10.0.16.13 |
REMOTE_PORT | 46272 |
REMOTE_ADDR | 54.196.114.118 |
SERVER_SOFTWARE | nginx/1.20.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/www.bnxf.net/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /category/1.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/category/1.html |
SCRIPT_FILENAME | /www/wwwroot/www.bnxf.net/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711700331.1674 |
REQUEST_TIME | 1711700331 |