:(

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'descid desc LIMIT 1' at line 1 [ SQL语句 ] : SELECT COUNT(*) AS tp_count FROM `zhi_jky_cate_copy` WHERE rootCategoryId=50010368∨der=0¤tOrder=ordid descid desc LIMIT 1

错误位置

FILE: D:\website\henaitmfq\web\_core\Lib\Driver\Db\DbMysql.class.php  LINE: 320

TRACE

[19-12-11 16:43:12] D:\website\henaitmfq\web\_core\Lib\Driver\Db\DbMysql.class.php (320) trace()
[19-12-11 16:43:12] D:\website\henaitmfq\web\_core\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error(You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'descid desc LIMIT 1' at line 1
[ SQL语句 ] : SELECT COUNT(*) AS tp_count FROM `zhi_jky_cate_copy` WHERE rootCategoryId=50010368∨der=0¤tOrder=ordid descid desc LIMIT 1 , , ERR)
[19-12-11 16:43:12] D:\website\henaitmfq\web\_core\Lib\Core\Db.class.php (739) DbMysql->query()
[19-12-11 16:43:12] D:\website\henaitmfq\web\_core\Lib\Core\Model.class.php (714) Db->select(SELECT COUNT(*) AS tp_count FROM `zhi_jky_cate_copy` WHERE rootCategoryId=50010368∨der=0¤tOrder=ordid descid desc LIMIT 1 )
[19-12-11 16:43:12] D:\website\henaitmfq\web\_core\Lib\Core\Model.class.php (239) Model->getField(Array)
[19-12-11 16:43:12] D:\website\henaitmfq\web\app\Lib\Action\home\indexAction.class.php (363) Model->__call(COUNT(*) AS tp_count)
[19-12-11 16:43:12] D:\website\henaitmfq\web\app\Lib\Action\home\indexAction.class.php (363) Model->count(count, Array)
[19-12-11 16:43:12] () indexAction->cate()
[19-12-11 16:43:12] D:\website\henaitmfq\web\_core\Lib\Core\App.class.php (167) ReflectionMethod->invokeArgs(50010368∨der=0¤tOrder=ordid descid desc, 0, 1)
[19-12-11 16:43:12] D:\website\henaitmfq\web\_core\Lib\Core\App.class.php (205) App::exec(, Array)
[19-12-11 16:43:12] D:\website\henaitmfq\web\_core\Lib\Core\Think.class.php (39) App::run()
[19-12-11 16:43:12] D:\website\henaitmfq\web\_core\Common\runtime.php (244) Think::start()
[19-12-11 16:43:12] D:\website\henaitmfq\web\_core\setup.php (30) require(D:\website\henaitmfq\web\_core\Common\runtime.php)
[19-12-11 16:43:12] D:\website\henaitmfq\web\index.php (22) require(D:\website\henaitmfq\web\_core\setup.php)