$goodstype = PublicService::typePackRow(['id' => $catid], 'name,id,parent_id');
$html = '';
if ($catid == 0) {
$html = '<a href="/">首页</a>' . $html;
return $html;
} else {
if ($index == 1) {
$html = $ext . '<span>' . $goodstype['name'] . '</span>' . $html;
} else {
$html = $ext . '<a href="/lpdz/' . $goodstype['id'] . '">' . $goodstype['name'] . '</a>' . $html;
}
$index++;
$html = dcatpos($goodstype['parent_id'], $ext, $index) . $html;
}
return $html;
}
// 这是系统自动生成的公共文件
/**
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | jzjgift.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | jzjgift.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.17.57.163 |
REMOTE_PORT | 56478 |
REMOTE_ADDR | 44.205.2.188 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/jzjgift.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /detail/819/20792 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/detail/819/20792 |
SCRIPT_FILENAME | /www/wwwroot/jzjgift.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711722897.3991 |
REQUEST_TIME | 1711722897 |