:)

1064:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND `status` = 1 ORDER BY listorder,time desc' at line 1 [ SQL语句 ] : SELECT *,FROM_UNIXTIME(time,'%Y/%m/%d') as time FROM `qb_product` WHERE `classifyid` IN () AND `status` = 1 ORDER BY listorder,time desc

错误位置

FILE: /var/www/wwwroot/web22346/wwwroot/simplewind/Core/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /var/www/wwwroot/web22346/wwwroot/simplewind/Core/Library/Think/Db/Driver.class.php(350): E('1064:You have a...')
#1 /var/www/wwwroot/web22346/wwwroot/simplewind/Core/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /var/www/wwwroot/web22346/wwwroot/simplewind/Core/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query('SELECT *,FROM_U...', false)
#3 /var/www/wwwroot/web22346/wwwroot/simplewind/Core/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#4 /var/www/wwwroot/web22346/wwwroot/application/Admin/Model/ProductModel.class.php(22): Think\Model->select()
#5 /var/www/wwwroot/web22346/wwwroot/application/Portal/Controller/IndexController.class.php(125): Admin\Model\ProductModel::queryByWhere(Array)
#6 [internal function]: Portal\Controller\IndexController->glist()
#7 /var/www/wwwroot/web22346/wwwroot/simplewind/Core/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Portal\Controller\IndexController))
#8 /var/www/wwwroot/web22346/wwwroot/simplewind/Core/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Portal\Controller\IndexController), 'glist')
#9 /var/www/wwwroot/web22346/wwwroot/simplewind/Core/Library/Think/App.class.php(204): Think\App::exec()
#10 /var/www/wwwroot/web22346/wwwroot/simplewind/Core/Library/Think/Think.class.php(120): Think\App::run()
#11 /var/www/wwwroot/web22346/wwwroot/simplewind/Core/ThinkPHP.php(97): Think\Think::start()
#12 /var/www/wwwroot/web22346/wwwroot/index.php(59): require('/var/www/wwwroo...')
#13 {main}