:(

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 '' at line 1 [ SQL语句 ] : SELECT * FROM `y_team` WHERE type=

错误位置

FILE: D:\vhostroot\LocalUser\swtc\www\ThinkPHP\Lib\Driver\Db\DbMysql.class.php  LINE: 320

TRACE

[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\ThinkPHP\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 '' at line 1
[ SQL语句 ] : SELECT * FROM `y_team` WHERE type= , , ERR)
[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error()
[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\ThinkPHP\Lib\Core\Db.class.php (739) DbMysql->query(SELECT * FROM `y_team` WHERE type= )
[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\ThinkPHP\Lib\Core\Model.class.php (497) Db->select(Array)
[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\home\Lib\Action\TeamAction.class.php (19) Model->select()
[20-07-10 01:25:07] () TeamAction->index()
[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\ThinkPHP\Lib\Core\App.class.php (169) ReflectionMethod->invoke()
[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\ThinkPHP\Lib\Core\App.class.php (205) App::exec()
[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\ThinkPHP\Common\runtime.php (243) Think::start()
[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\ThinkPHP\ThinkPHP.php (30) require(D:\vhostroot\LocalUser\swtc\www\ThinkPHP\Common\runtime.php)
[20-07-10 01:25:07] D:\vhostroot\LocalUser\swtc\www\index.php (12) require(D:\vhostroot\LocalUser\swtc\www\ThinkPHP\ThinkPHP.php)