* @return Ambigous <\think\static, NULL, void, multitype:, PDOStatement, string, \think\Model, unknown, \PDOStatement, boolean, multitype:multitype: >
*/
private function loadCategoryModel($catid = null) {
try {
$model = null;
if (isset ( $this->allCategorys [$catid] )) {
$model = $this->allCategorys [$catid];
}
if ($catid === null || $model == null) {
throw new Exception ( '栏目不存在' );
}
return $model;
} catch ( Exception $e ) {
throw $e;
}
}
public function loadlist()
{
$num = input('num');
USER | tuomi123 |
HOME | /home/wwwroot/tuomi123 |
FCGI_ROLE | RESPONDER |
REDIRECT_STATUS | 200 |
proxy-nokeepalive | 1 |
HTTP_X_REAL_IP | 3.233.232.21 |
HTTP_HOST | www.tomi-em.com |
HTTP_CONNECTION | close |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.tomi-em.com |
SERVER_ADDR | 127.0.0.1 |
SERVER_PORT | 80 |
REMOTE_ADDR | 3.233.232.21 |
DOCUMENT_ROOT | /home/wwwroot/tuomi123/wwwroot |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /home/wwwroot/tuomi123/wwwroot |
SERVER_ADMIN | [no address given] |
SCRIPT_FILENAME | /home/wwwroot/tuomi123/wwwroot/kor/index.php |
REMOTE_PORT | 55682 |
REDIRECT_URL | /kor/index/Lists/index/catid/76.html |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.0 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /kor/index/Lists/index/catid/76.html |
SCRIPT_NAME | /kor/index.php |
PATH_INFO | /index/Lists/index/catid/76.html |
PATH_TRANSLATED | redirect:/index.php/index/Lists/index/catid/76.html/Lists/index/catid/76.html |
PHP_SELF | /kor/index.php/index/Lists/index/catid/76.html |
REQUEST_TIME_FLOAT | 1711715464.4565 |
REQUEST_TIME | 1711715464 |
ROOT_PATH | /home/wwwroot/tuomi123/wwwroot/kor |
APP_PATH | /home/wwwroot/tuomi123/wwwroot/kor/application |
WEB_URL | http://www.tomi-em.com/kor/ |
APP_HOST | /kor |
APP_ROOT_DIR | /home/wwwroot/tuomi123/wwwroot/kor |
DOCUMENTY_ROOT_DIR | /home/wwwroot/tuomi123/wwwroot |