:(

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 ') ) AND ( pl.clsid = 7 ) ORDER BY if_open desc ,tlts.sort asc,tlts.id desc' at line 1 [ SQL语句 ] : SELECT pl.ProFactory,pl.phone,pl.tel,pl.address,pl.logo,pl.shop_tags,pl.coo_img,pl.clsid,tlts.tshopid,ww.token,tlts.bankuai,pl.clsid,pl.if_open_weizhan,ww.if_open,pl.farmer_type,pl.two_web_name FROM t_le_jiedao_tui_shop tlts LEFT JOIN profactory_list as pl on pl.shopid=tlts.tshopid LEFT JOIN wy_wxuser as ww on ww.shopid=tlts.tshopid WHERE ( tlts.shopid = '974' ) AND ( pl.shopid IN () ) AND ( pl.clsid = 7 ) ORDER BY if_open desc ,tlts.sort asc,tlts.id desc

错误位置

FILE: /data/www/www/weixin/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[24-05-08 02:57:05] /data/www/www/weixin/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 ') ) AND ( pl.clsid = 7 ) ORDER BY if_open desc ,tlts.sort asc,tlts.id desc' at line 1
[ SQL语句 ] : SELECT pl.ProFactory,pl.phone,pl.tel,pl.address,pl.logo,pl.shop_tags,pl.coo_img,pl.clsid,tlts.tshopid,ww.token,tlts.bankuai,pl.clsid,pl.if_open_weizhan,ww.if_open,pl.farmer_type,pl.two_web_name FROM t_le_jiedao_tui_shop tlts LEFT JOIN profactory_list as pl on pl.shopid=tlts.tshopid LEFT JOIN wy_wxuser as ww on ww.shopid=tlts.tshopid WHERE ( tlts.shopid = '974' ) AND ( pl.shopid IN () ) AND ( pl.clsid = 7 ) ORDER BY if_open desc ,tlts.sort asc,tlts.id desc , , ERR)
[24-05-08 02:57:05] /data/www/www/weixin/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[24-05-08 02:57:05] /data/www/www/weixin/Lib/Core/Db.class.php (739) DbMysql->query(SELECT pl.ProFactory,pl.phone,pl.tel,pl.address,pl.logo,pl.shop_tags,pl.coo_img,pl.clsid,tlts.tshopid,ww.token,tlts.bankuai,pl.clsid,pl.if_open_weizhan,ww.if_open,pl.farmer_type,pl.two_web_name FROM t_le_jiedao_tui_shop tlts LEFT JOIN profactory_list as pl on pl.shopid=tlts.tshopid LEFT JOIN wy_wxuser as ww on ww.shopid=tlts.tshopid WHERE ( tlts.shopid = '974' ) AND ( pl.shopid IN () ) AND ( pl.clsid = 7 ) ORDER BY if_open desc ,tlts.sort asc,tlts.id desc )
[24-05-08 02:57:05] /data/www/www/weixin/Lib/Core/Model.class.php (504) Db->select(Array)
[24-05-08 02:57:05] /data/www/www/weixin/weiwin/Lib/Action/Wap/GovAction.class.php (2022) Model->select()
[24-05-08 02:57:05] () GovAction->type()
[24-05-08 02:57:05] /data/www/www/weixin/Lib/Core/App.class.php (176) ReflectionMethod->invoke()
[24-05-08 02:57:05] /data/www/www/weixin/Lib/Core/App.class.php (212) App::exec()
[24-05-08 02:57:05] /data/www/www/weixin/Lib/Core/Think.class.php (39) App::run()
[24-05-08 02:57:05] /data/www/www/weixin/Common/runtime.php (245) Think::start()
[24-05-08 02:57:05] /data/www/www/weixin/index.php (38) require(/data/www/www/weixin/Common/runtime.php)