SHOW FULL COLUMNS FROM `cs_merchant` [ RunTime:0.001507s ]
SELECT * FROM `cs_merchant` WHERE `id` = 12 LIMIT 1 [ RunTime:0.000398s ]
SHOW FULL COLUMNS FROM `cs_member_user` [ RunTime:0.001679s ]
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.000298s ]
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.000234s ]
SHOW FULL COLUMNS FROM `cs_member_badge` [ RunTime:0.000922s ]
SELECT `id`,`badge_name`,`image` FROM `cs_member_badge` WHERE `status` = 1 AND `id` = 0 [ RunTime:0.018515s ]
SHOW FULL COLUMNS FROM `cs_member_account` [ RunTime:0.001388s ]
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.000355s ]
SHOW FULL COLUMNS FROM `cs_member_follow` [ RunTime:0.001107s ]
SELECT COUNT(*) AS think_count FROM `cs_member_follow` WHERE `member_id` = 56 LIMIT 1 [ RunTime:0.000316s ]
SELECT COUNT(*) AS think_count FROM `cs_member_follow` WHERE `follow_member_id` = 56 LIMIT 1 [ RunTime:0.000703s ]
SELECT * FROM `cs_member_account` WHERE `member_user_id` = 56 LIMIT 1 [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `cs_coupon` [ RunTime:0.005570s ]
SELECT * FROM `cs_coupon` WHERE `begin_get_time` <= 1737121227 AND `end_get_time` >= 1737121227 AND `merchant_id` = 12 AND `is_deleted` = 0 AND `status` = 1 AND `coupon_category` = 0 ORDER BY `sortrank` DESC,`id` DESC [ RunTime:0.000700s ]
SELECT COUNT(*) AS think_count FROM `cs_coupon` WHERE `begin_get_time` <= 1737121227 AND `end_get_time` >= 1737121227 AND `merchant_id` = 12 AND `is_deleted` = 0 AND `status` = 1 AND `coupon_category` = 0 LIMIT 1 [ RunTime:0.000460s ]
SHOW FULL COLUMNS FROM `cs_goods` [ RunTime:0.001717s ]
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` <= 1737121227 ORDER BY `sortrank` DESC,`id` DESC LIMIT 135,9 [ RunTime:0.000743s ]
SHOW FULL COLUMNS FROM `cs_goods_category` [ RunTime:0.009372s ]
SELECT `id`,`name` FROM `cs_goods_category` WHERE `id` IN (185,167,27) [ RunTime:0.000283s ]
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.000266s ]
SHOW FULL COLUMNS FROM `cs_goods_spec` [ RunTime:0.000947s ]
SELECT `id`,`goods_id`,`spec_name`,`spec_values` FROM `cs_goods_spec` WHERE `goods_id` IN (811,806,796,786,781,776,766,761,756) [ RunTime:0.000327s ]
SHOW FULL COLUMNS FROM `cs_goods_sku` [ RunTime:0.001071s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 811 LIMIT 1 [ RunTime:0.048545s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 811 LIMIT 1 [ RunTime:0.000339s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 811 LIMIT 1 [ RunTime:0.000274s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 811 LIMIT 1 [ RunTime:0.000229s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 806 LIMIT 1 [ RunTime:0.000278s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 806 LIMIT 1 [ RunTime:0.000260s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 806 LIMIT 1 [ RunTime:0.000229s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 806 LIMIT 1 [ RunTime:0.000284s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 796 LIMIT 1 [ RunTime:0.000239s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 796 LIMIT 1 [ RunTime:0.000203s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 796 LIMIT 1 [ RunTime:0.000202s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 796 LIMIT 1 [ RunTime:0.000196s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 786 LIMIT 1 [ RunTime:0.000216s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 786 LIMIT 1 [ RunTime:0.000198s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 786 LIMIT 1 [ RunTime:0.000214s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 786 LIMIT 1 [ RunTime:0.000199s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 781 LIMIT 1 [ RunTime:0.000234s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 781 LIMIT 1 [ RunTime:0.000205s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 781 LIMIT 1 [ RunTime:0.000259s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 781 LIMIT 1 [ RunTime:0.000263s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 776 LIMIT 1 [ RunTime:0.000214s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 776 LIMIT 1 [ RunTime:0.000200s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 776 LIMIT 1 [ RunTime:0.000220s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 776 LIMIT 1 [ RunTime:0.000197s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 766 LIMIT 1 [ RunTime:0.000258s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 766 LIMIT 1 [ RunTime:0.000206s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 766 LIMIT 1 [ RunTime:0.000198s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 766 LIMIT 1 [ RunTime:0.000227s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 761 LIMIT 1 [ RunTime:0.000214s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 761 LIMIT 1 [ RunTime:0.000219s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 761 LIMIT 1 [ RunTime:0.000230s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 761 LIMIT 1 [ RunTime:0.000232s ]
SELECT SUM(`stock`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 756 LIMIT 1 [ RunTime:0.000225s ]
SELECT SUM(`sales`) AS think_sum FROM `cs_goods_sku` WHERE `goods_id` = 756 LIMIT 1 [ RunTime:0.000282s ]
SELECT MAX(`price`) AS think_max FROM `cs_goods_sku` WHERE `goods_id` = 756 LIMIT 1 [ RunTime:0.000207s ]
SELECT MIN(`price`) AS think_min FROM `cs_goods_sku` WHERE `goods_id` = 756 LIMIT 1 [ RunTime:0.000226s ]
SELECT COUNT(*) AS think_count FROM `cs_goods` WHERE `merchant_id` = 12 AND `check_status` = 1 AND `shelf_status` = 1 AND `start_sale_time` <= 1737121227 LIMIT 1 [ RunTime:0.000619s ]