MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT u.user_name, og.goods_number, oi.add_time, IF(oi.order_status IN (2, 3, 4), 0, 1) AS order_status FROM `smmecs`.`smm_order_info` AS oi LEFT JOIN `smmecs`.`smm_users` AS u ON oi.user_id = u.user_id, `smmecs`.`smm_order_goods` AS og WHERE oi.order_id = og.order_id AND 1736680576 - oi.add_time < 2592000 AND og.goods_id = ORDER BY oi.add_time DESC LIMIT 5
)
[2] => Array
(
[error] => 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 oi.add_time DESC LIMIT 5' at line 1
)
[3] => Array
(
[errno] => 1064
)
)