:(

Too few arguments to function Think\Model::where(), 0 passed in /www/wwwroot/apm/Application/Home/Controller/CategoryController.class.php on line 31 and at least 1 expected

错误位置

FILE: /www/wwwroot/apm/ThinkPHP/Library/Think/Model.class.php  LINE: 3219

TRACE

#0 /www/wwwroot/apm/Application/Home/Controller/CategoryController.class.php(31): Think\Model->where()
#1 [internal function]: Home\Controller\CategoryController->index()
#2 /www/wwwroot/apm/ThinkPHP/Library/Think/App.class.php(309): ReflectionMethod->invoke(Object(Home\Controller\CategoryController))
#3 /www/wwwroot/apm/ThinkPHP/Library/Think/App.class.php(385): Think\App::exec()
#4 /www/wwwroot/apm/ThinkPHP/Library/Think/Think.class.php(239): Think\App::run()
#5 /www/wwwroot/apm/ThinkPHP/ThinkPHP.php(191): Think\Think::start()
#6 /www/wwwroot/apm/index.php(52): require('/www/wwwroot/ap...')
#7 {main}