SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001568s ]
SELECT * FROM `cs_merchant` WHERE `id` = 12 LIMIT 1 [ RunTime:0.000355s ]
SHOW FULL COLUMNS FROM `cs_member_user` [ RunTime:0.001722s ]
SELECT `id`,`avatar`,`nickname`,`phone`,`realname`,`idcard_no`,`idcard_pic`,`status`,`role_type`,`role_time` FROM `cs_member_user` WHERE `is_deleted` = 0 AND `id` = 56 [ RunTime:0.000357s ]
SELECT `id`,`member_code`,`nickname`,`avatar`,`badge_id`,`intro`,`is_auth` FROM `cs_member_user` WHERE `is_deleted` = 0 AND `id` = 56 LIMIT 1 [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `cs_member_badge` [ RunTime:0.000966s ]
SELECT `id`,`badge_name`,`image` FROM `cs_member_badge` WHERE `status` = 1 AND `id` = 0 [ RunTime:0.004617s ]
SHOW FULL COLUMNS FROM `cs_member_account` [ RunTime:0.001141s ]
SELECT `id`,`member_user_id`,`point_income`,`point_outgo`,`cunsum_amount`,`project_order_num`,`project_order_amount`,`goods_order_num`,`goods_order_amount` FROM `cs_member_account` WHERE `member_user_id` = 56 [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `cs_member_follow` [ RunTime:0.000854s ]
SELECT COUNT(*) AS think_count FROM `cs_member_follow` WHERE `member_id` = 56 LIMIT 1 [ RunTime:0.000321s ]
SELECT COUNT(*) AS think_count FROM `cs_member_follow` WHERE `follow_member_id` = 56 LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `cs_member_account` WHERE `member_user_id` = 56 LIMIT 1 [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `cs_coupon` [ RunTime:0.001180s ]
SELECT * FROM `cs_coupon` WHERE `begin_get_time` <= 1737122600 AND `end_get_time` >= 1737122600 AND `merchant_id` = 12 AND `is_deleted` = 0 AND `status` = 1 AND `coupon_category` = 0 ORDER BY `sortrank` DESC,`id` DESC [ RunTime:0.000525s ]
SELECT COUNT(*) AS think_count FROM `cs_coupon` WHERE `begin_get_time` <= 1737122600 AND `end_get_time` >= 1737122600 AND `merchant_id` = 12 AND `is_deleted` = 0 AND `status` = 1 AND `coupon_category` = 0 LIMIT 1 [ RunTime:0.000504s ]
SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.001555s ]
SELECT `id`,`merchant_id`,`category_id`,`goods_code`,`goods_name`,`goods_no`,`main_pic`,`price`,`min_price`,`max_price`,`stock`,`sales`,`start_sale_time` FROM `cs_goods` WHERE `merchant_id` = 12 AND `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737122600 ORDER BY `sortrank` DESC,`id` DESC LIMIT 90,9 [ RunTime:0.000684s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.000935s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` IN (167,141,27) [ RunTime:0.000233s ]
SELECT `id`,`merchant_name`,`logo`,`city`,`synthesize_score`,`logistics_score`,`service_score` FROM `cs_merchant` WHERE `is_deleted` = 0 AND `role_type` = 1 AND `id` = 12 [ RunTime:0.000242s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000812s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (456,66,1166,1161,1156,1151,1146,1141,1136) [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001010s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 456 LIMIT 1 [ RunTime:0.012600s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 456 LIMIT 1 [ RunTime:0.000402s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 456 LIMIT 1 [ RunTime:0.000335s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 456 LIMIT 1 [ RunTime:0.000232s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 66 LIMIT 1 [ RunTime:0.000298s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 66 LIMIT 1 [ RunTime:0.000204s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 66 LIMIT 1 [ RunTime:0.000224s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 66 LIMIT 1 [ RunTime:0.000189s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1166 LIMIT 1 [ RunTime:0.000206s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1166 LIMIT 1 [ RunTime:0.000200s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1166 LIMIT 1 [ RunTime:0.000179s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1166 LIMIT 1 [ RunTime:0.000207s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1161 LIMIT 1 [ RunTime:0.000252s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1161 LIMIT 1 [ RunTime:0.000196s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1161 LIMIT 1 [ RunTime:0.000196s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1161 LIMIT 1 [ RunTime:0.000228s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1156 LIMIT 1 [ RunTime:0.000203s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1156 LIMIT 1 [ RunTime:0.000206s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1156 LIMIT 1 [ RunTime:0.000221s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1156 LIMIT 1 [ RunTime:0.000206s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1151 LIMIT 1 [ RunTime:0.000231s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1151 LIMIT 1 [ RunTime:0.000193s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1151 LIMIT 1 [ RunTime:0.000246s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1151 LIMIT 1 [ RunTime:0.000261s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1146 LIMIT 1 [ RunTime:0.000216s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1146 LIMIT 1 [ RunTime:0.000218s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1146 LIMIT 1 [ RunTime:0.000193s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1146 LIMIT 1 [ RunTime:0.000192s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1141 LIMIT 1 [ RunTime:0.000243s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1141 LIMIT 1 [ RunTime:0.000336s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1141 LIMIT 1 [ RunTime:0.000219s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1141 LIMIT 1 [ RunTime:0.000237s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1136 LIMIT 1 [ RunTime:0.000231s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 1136 LIMIT 1 [ RunTime:0.000213s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 1136 LIMIT 1 [ RunTime:0.000245s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 1136 LIMIT 1 [ RunTime:0.000238s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `merchant_id` = 12 AND `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737122600 LIMIT 1 [ RunTime:0.000619s ]