:(

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 * FROM `weixin_city` WHERE id = LIMIT 1

错误位置

FILE: C:\webaps\baihezyz\_core\Lib\Driver\Db\DbMysql.class.php  LINE: 320

TRACE

[20-09-28 20:47:09] C:\webaps\baihezyz\_core\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 * FROM `weixin_city` WHERE id = LIMIT 1 , , ERR)
[20-09-28 20:47:09] C:\webaps\baihezyz\_core\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error()
[20-09-28 20:47:09] C:\webaps\baihezyz\_core\Lib\Core\Db.class.php (739) DbMysql->query(SELECT * FROM `weixin_city` WHERE id = LIMIT 1 )
[20-09-28 20:47:09] C:\webaps\baihezyz\_core\Lib\Core\Model.class.php (597) Db->select(Array)
[20-09-28 20:47:09] C:\webaps\baihezyz\app\Lib\Action\home\IndexAction.class.php (640) Model->find()
[20-09-28 20:47:09] () IndexAction->ztyou()
[20-09-28 20:47:09] C:\webaps\baihezyz\_core\Lib\Core\App.class.php (169) ReflectionMethod->invoke()
[20-09-28 20:47:09] C:\webaps\baihezyz\_core\Lib\Core\App.class.php (205) App::exec()
[20-09-28 20:47:09] C:\webaps\baihezyz\_core\Lib\Core\Think.class.php (39) App::run()
[20-09-28 20:47:09] C:\webaps\baihezyz\_core\Common\runtime.php (243) Think::start()
[20-09-28 20:47:09] C:\webaps\baihezyz\_core\setup.php (30) require(C:\webaps\baihezyz\_core\Common\runtime.php)
[20-09-28 20:47:09] C:\webaps\baihezyz\index.php (22) require(C:\webaps\baihezyz\_core\setup.php)