SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001838s ]
SELECT * FROM `cs_merchant` WHERE `id` = 12 LIMIT 1 [ RunTime:0.000428s ]
SHOW FULL COLUMNS FROM `cs_member_user` [ RunTime:0.001893s ]
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.000411s ]
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.000282s ]
SHOW FULL COLUMNS FROM `cs_member_badge` [ RunTime:0.001008s ]
SELECT `id`,`badge_name`,`image` FROM `cs_member_badge` WHERE `status` = 1 AND `id` = 0 [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `cs_member_account` [ RunTime:0.001124s ]
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.000294s ]
SHOW FULL COLUMNS FROM `cs_member_follow` [ RunTime:0.000870s ]
SELECT COUNT(*) AS think_count FROM `cs_member_follow` WHERE `member_id` = 56 LIMIT 1 [ RunTime:0.000308s ]
SELECT COUNT(*) AS think_count FROM `cs_member_follow` WHERE `follow_member_id` = 56 LIMIT 1 [ RunTime:0.000277s ]
SELECT * FROM `cs_member_account` WHERE `member_user_id` = 56 LIMIT 1 [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `cs_coupon` [ RunTime:0.001409s ]
SELECT * FROM `cs_coupon` WHERE `begin_get_time` <= 1737122138 AND `end_get_time` >= 1737122138 AND `merchant_id` = 12 AND `is_deleted` = 0 AND `status` = 1 AND `coupon_category` = 0 ORDER BY `sortrank` DESC,`id` DESC [ RunTime:0.000629s ]
SELECT COUNT(*) AS think_count FROM `cs_coupon` WHERE `begin_get_time` <= 1737122138 AND `end_get_time` >= 1737122138 AND `merchant_id` = 12 AND `is_deleted` = 0 AND `status` = 1 AND `coupon_category` = 0 LIMIT 1 [ RunTime:0.000513s ]
SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.001611s ]
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` <= 1737122138 ORDER BY `sortrank` DESC,`id` DESC LIMIT 162,9 [ RunTime:0.000819s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.001080s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` IN (27,66,156,166,185) [ RunTime:0.000291s ]
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.000307s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000930s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (516,511,496,471,466,461,441,436,421) [ RunTime:0.000408s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001183s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 516 LIMIT 1 [ RunTime:0.017653s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 516 LIMIT 1 [ RunTime:0.000483s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 516 LIMIT 1 [ RunTime:0.000349s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 516 LIMIT 1 [ RunTime:0.000317s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 511 LIMIT 1 [ RunTime:0.000281s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 511 LIMIT 1 [ RunTime:0.000260s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 511 LIMIT 1 [ RunTime:0.000240s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 511 LIMIT 1 [ RunTime:0.000233s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 496 LIMIT 1 [ RunTime:0.000290s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 496 LIMIT 1 [ RunTime:0.000229s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 496 LIMIT 1 [ RunTime:0.000229s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 496 LIMIT 1 [ RunTime:0.000230s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 471 LIMIT 1 [ RunTime:0.000224s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 471 LIMIT 1 [ RunTime:0.000228s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 471 LIMIT 1 [ RunTime:0.000250s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 471 LIMIT 1 [ RunTime:0.000260s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 466 LIMIT 1 [ RunTime:0.000215s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 466 LIMIT 1 [ RunTime:0.000228s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 466 LIMIT 1 [ RunTime:0.000308s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 466 LIMIT 1 [ RunTime:0.000356s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 461 LIMIT 1 [ RunTime:0.000267s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 461 LIMIT 1 [ RunTime:0.000247s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 461 LIMIT 1 [ RunTime:0.000231s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 461 LIMIT 1 [ RunTime:0.000289s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 441 LIMIT 1 [ RunTime:0.000255s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 441 LIMIT 1 [ RunTime:0.000274s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 441 LIMIT 1 [ RunTime:0.000225s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 441 LIMIT 1 [ RunTime:0.000400s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 436 LIMIT 1 [ RunTime:0.000297s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 436 LIMIT 1 [ RunTime:0.000223s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 436 LIMIT 1 [ RunTime:0.000371s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 436 LIMIT 1 [ RunTime:0.000589s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 421 LIMIT 1 [ RunTime:0.000393s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 421 LIMIT 1 [ RunTime:0.000385s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 421 LIMIT 1 [ RunTime:0.000424s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 421 LIMIT 1 [ RunTime:0.000250s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `merchant_id` = 12 AND `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737122138 LIMIT 1 [ RunTime:0.000782s ]