1066vip威尼斯-点击进入

[8] ErrorException in Product.php line 28

未定义数组索引: cid

  1. use app\extend\logic\Category;
  2. use think\facade\Request;
  3. use think\facade\Session;
  4. class Product extends Common
  5. {
  6. public function index(){
  7. $request = Request::param();
  8. $template = GetDataInfo(6,'id',$request['cid'],'list_template');
  9. if(isMobile()){
  10. $pagesize = GetDataInfo(21,'template',$template,'page_m');
  11. }else{
  12. $pagesize = GetDataInfo(21,'template',$template,'pagesize');
  13. }
  14. /*当前栏目信息*/
  15. if($request['cid']){
  16. $CategoryId = GetCategoryID($request['cid']);
  17. $where[] = ['cid','in',$CategoryId];

Call Stack

  1. in Product.php line 28
  2. at Error::appError() in Product.php line 28
  3. at Product->index()
  4. at ReflectionMethod->invokeArgs() in Container.php line 395
  5. at Container->invokeReflectMethod() in Module.php line 131
  6. at Module->think\route\dispatch\{closure}()
  7. at call_user_func_array() in Middleware.php line 185
  8. at Middleware->think\{closure}()
  9. at call_user_func() in Middleware.php line 130
  10. at Middleware->dispatch() in Module.php line 136
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}()
  14. at call_user_func_array() in Middleware.php line 185
  15. at Middleware->think\{closure}() in IntlGuard.php line 61
  16. at IntlGuard->handle()
  17. at call_user_func_array() in Middleware.php line 185
  18. at Middleware->think\{closure}()
  19. at call_user_func() in Middleware.php line 130
  20. at Middleware->dispatch() in App.php line 435
  21. at App->run() in index.php line 71

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID jdmii7j8uhukr659hm8u877b59
Session
think { "last_activity": 1793252805, "token": "gxMR69", "__token__": "60c4ba67edd0f9cd9c61a3cd803a35e0" }
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=jdmii7j8uhukr659hm8u877b59
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.clzva.com
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.clzva.com
SERVER_PORT 80
SERVER_ADDR 192.168.0.200
REMOTE_PORT 34348
REMOTE_ADDR 50.117.127.90
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /mnt/www/wwwroot/www.clzva.com/public
DOCUMENT_URI /index.php
REQUEST_URI //product/277664607
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/product/277664607
SCRIPT_FILENAME /mnt/www/wwwroot/www.clzva.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1793252805.5594
REQUEST_TIME 1793252805
Environment Variablesempty
ThinkPHP Constants
VIEW_PATH /mnt/www/wwwroot/www.clzva.com/public/../application/index/template/pc/
PATH /mnt/www/wwwroot/www.clzva.com/public
VIEW_BUILD_PATH /mnt/www/wwwroot/www.clzva.com/public/../application/build/template/pc/
HTML_PATH ./HTML/
APP_PATH /mnt/www/wwwroot/www.clzva.com/public/../application/
ROOT_PATH /mnt/www/wwwroot/www.clzva.com/public
DS /
FILTER_VALIDATE_BOOL 258
Baidu
sogou