:(

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 'LIMIT 1' at line 1 [ SQL语句 ] : SELECT `card_level`,`name`,`phone`,`province`,`city`,`total_score`,`wecha_id` FROM `tp_userinfo` WHERE id= LIMIT 1

错误位置

FILE: C:\Apache24\htdocs\celApp\web\Lib\Driver\Db\DbMysql.class.php  LINE: 320

TRACE

[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\Lib\Driver\Db\DbMysql.class.php (320) trace(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 'LIMIT 1' at line 1
[ SQL语句 ] : SELECT `card_level`,`name`,`phone`,`province`,`city`,`total_score`,`wecha_id` FROM `tp_userinfo` WHERE id= LIMIT 1 , , ERR)
[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error()
[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\Lib\Core\Db.class.php (739) DbMysql->query(SELECT `card_level`,`name`,`phone`,`province`,`city`,`total_score`,`wecha_id` FROM `tp_userinfo` WHERE id= LIMIT 1 )
[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\Lib\Core\Model.class.php (597) Db->select(Array)
[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\Lanrain\Lib\Action\Wap\PlaceFuncAction.class.php (165) Model->find()
[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\Lanrain\Lib\Action\Web\IndexAction.class.php (660) PlaceFuncAction->getUserById()
[19-12-07 04:20:12] () IndexAction->cart()
[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\Lib\Core\App.class.php (172) ReflectionMethod->invoke()
[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\Lib\Core\App.class.php (208) App::exec()
[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\Lib\Core\Think.class.php (39) App::run()
[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\Common\runtime.php (243) Think::start()
[19-12-07 04:20:12] C:\Apache24\htdocs\celApp\web\index.php (34) require(C:\Apache24\htdocs\celApp\web\Common\runtime.php)