SHOW FULL COLUMNS FROM `moban_site` [ RunTime:0.003670s ]
SELECT * FROM `moban_site` WHERE `lang` = 'en' LIMIT 1 [ RunTime:0.001138s ]
SHOW FULL COLUMNS FROM `moban_columns` [ RunTime:0.002941s ]
SELECT * FROM `moban_columns` WHERE `state` = 1 AND `lang` = 'en' ORDER BY `sort` ASC [ RunTime:0.001437s ]
SHOW FULL COLUMNS FROM `moban_news` [ RunTime:0.002555s ]
SELECT * FROM `moban_news` WHERE `lang` = 'en' AND `state` = 1 LIMIT 1 [ RunTime:0.000859s ]
SHOW FULL COLUMNS FROM `moban_news_category` [ RunTime:0.001847s ]
SELECT * FROM `moban_news_category` WHERE `lang` = 'en' ORDER BY `id` ASC [ RunTime:0.000600s ]
SHOW FULL COLUMNS FROM `moban_single_page` [ RunTime:0.001977s ]
SELECT * FROM `moban_single_page` WHERE `id` IN (0,28,34,73) AND `state` = 1 AND `lang` = 'en' [ RunTime:0.000874s ]
SELECT * FROM `moban_single_page` WHERE `id` IN (0,2,68) AND `state` = 1 AND `lang` = 'en' [ RunTime:0.000767s ]
SHOW FULL COLUMNS FROM `moban_link` [ RunTime:0.002322s ]
SELECT * FROM `moban_link` WHERE `state` = 1 ORDER BY `sort` ASC [ RunTime:0.000765s ]
SHOW FULL COLUMNS FROM `moban_banner` [ RunTime:0.003506s ]
SELECT * FROM `moban_banner` WHERE `state` = 1 AND `lang` = 'en' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.001049s ]
SHOW FULL COLUMNS FROM `moban_products` [ RunTime:0.003039s ]
SELECT * FROM `moban_products` WHERE `recommend` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 8 [ RunTime:0.001307s ]
SELECT * FROM `moban_products` WHERE `hot` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 18 [ RunTime:0.002430s ]
SELECT * FROM `moban_products` WHERE `popularize` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 50 [ RunTime:0.012346s ]
SELECT category_id,count(id) total FROM `moban_products` WHERE `state` = 1 GROUP BY `category_id` [ RunTime:0.001466s ]
SHOW FULL COLUMNS FROM `moban_category` [ RunTime:0.003429s ]
SELECT * FROM `moban_category` ORDER BY `id` ASC [ RunTime:0.002216s ]
SELECT * FROM `moban_news` WHERE `state` = 1 AND `is_draft` = 0 AND `recommend` = 1 AND `lang` = 'en' ORDER BY `sort` DESC,`id` DESC LIMIT 4 [ RunTime:0.008301s ]
SHOW FULL COLUMNS FROM `moban_manufacturer` [ RunTime:0.007072s ]
SELECT * FROM `moban_manufacturer` WHERE `state` = 1 [ RunTime:0.001629s ]
[API] response: [500 Internal Server Error] "{\"code\":2,\"message\":\"Trying to access array offset on null\",\"traces\":[{\"name\":\"think\\\\exception\\\\ErrorException\",\"file\":\"\\/usr\\/local\\/openresty\\/nginx\\/html\\/gateway.icku.net\\/app\\/api\\/service\\/BaseService.php\",\"line\":973,\"code\":2,\"message\":\"Trying to access array offset on null\",\"trace\":[{\"file\":\"\\/usr\\/local\\/openresty\\/nginx\\/html\\/gateway.icku.net\\/app\\/api\\/service\\/BaseService.php\",\"line\":973,\"function\":\"appError\",\"class\":\"t (truncated) ... [elapsed: 0.748175 secs]