user_id #0 /data/project/yunyinshua/rtl/src/lib/db/driver/mysqli_class.php(70): IMysqli->read('...', 1) #1 /data/project/yunyinshua/rtl/src/lib/db/db_class.php(87): IMysqli->doSql('...') #2 /data/project/yunyinshua/rtl/src/lib/core/query_class.php(219): IDB->query('...') #3 /data/project/yunyinshua/rtl/src/classes/cart.php(611): IQuery->find() #4 /data/project/yunyinshua/rtl/src/controllers/simple.php(1798): Cart->getMyCartVue('...', '...') #5 /data/project/yunyinshua/rtl/src/lib/web/action/inline_action.php(30): Simple->cart() #6 /data/project/yunyinshua/rtl/src/lib/web/controller/controller_class.php(343): IInlineAction->run() #7 /data/project/yunyinshua/rtl/src/lib/core/webapplication_class.php(38): IController->run() #8 /data/project/yunyinshua/rtl/src/lib/core/application_class.php(113): IWebApplication->execRequest() #9 /data/project/yunyinshua/rtl/src/index.php(7): IApplication->run() /data/project/yunyinshua/rtl/src/lib/db/driver/mysqli_class.php96select id,content,type,create_time,model from yys_goods_cart where user_id = order by id desc limit 10000 -- 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 'order by id desc limit 10000' at line 1