王总上门按摩后台代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shangmenanmo/runtime/dynamic/log/1721643184-single.log

23 lines
3.7 KiB

2 months ago
[2024-07-15T16:54:25+08:00][sql] CONNECT:[ UseTime:0.000378s ] mysql:host=127.0.0.1;port=3306;dbname=ammaster;charset=utf8mb4
[2024-07-15T16:54:25+08:00][sql] SHOW FULL COLUMNS FROM `ims_shequshop_school_config` [ RunTime:0.001639s ]
[2024-07-15T16:54:25+08:00][sql] SELECT * FROM `ims_shequshop_school_config` WHERE `uniacid` = 666 LIMIT 1 [ RunTime:0.000754s ]
[2024-07-15T16:54:25+08:00][sql] SHOW FULL COLUMNS FROM `ims_massage_service_user_list` [ RunTime:0.001472s ]
[2024-07-15T16:54:25+08:00][sql] SELECT `balance` FROM `ims_massage_service_user_list` WHERE `id` = 12 LIMIT 1 [ RunTime:0.000250s ]
[2024-07-15T16:54:25+08:00][sql] SHOW FULL COLUMNS FROM `ims_massage_shield_list` [ RunTime:0.000874s ]
[2024-07-15T16:54:25+08:00][sql] SELECT `coach_id` FROM `ims_massage_shield_list` WHERE `user_id` = 12 [ RunTime:0.000232s ]
[2024-07-15T16:54:25+08:00][sql] SHOW FULL COLUMNS FROM `ims_massage_dynamic_follow` [ RunTime:0.000813s ]
[2024-07-15T16:54:25+08:00][sql] SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `ims_massage_dynamic_follow` `a` INNER JOIN `ims_massage_dynamic_list` `b` ON `a`.`coach_id`=b.coach_id AND a.create_time < b.create_time WHERE `a`.`user_id` = '12' AND `b`.`status` = '2' AND 1 = 1 GROUP BY `b`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.000382s ]
[2024-07-15T16:54:25+08:00][sql] SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `ims_massage_dynamic_follow` `a` INNER JOIN `ims_massage_dynamic_list` `b` ON `a`.`coach_id`=b.coach_id AND a.create_time < b.create_time INNER JOIN `ims_massage_dynamic_watch_record` `c` ON `b`.`id`=`c`.`dynamic_id` WHERE `a`.`user_id` = '12' AND `b`.`status` = '2' AND 1 = 1 GROUP BY `b`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.000339s ]
[2024-07-15T16:54:25+08:00][sql] SHOW FULL COLUMNS FROM `ims_massage_service_coach_list` [ RunTime:0.001173s ]
[2024-07-15T16:54:25+08:00][sql] SELECT * FROM `ims_massage_service_coach_list` WHERE `user_id` = 12 AND `status` = 2 LIMIT 1 [ RunTime:0.000458s ]
[2024-07-15T16:54:25+08:00][sql] CONNECT:[ UseTime:0.000322s ] mysql:host=127.0.0.1;port=3306;dbname=ammaster;charset=utf8mb4
[2024-07-15T16:54:25+08:00][sql] SHOW FULL COLUMNS FROM `ims_shequshop_school_config` [ RunTime:0.001380s ]
[2024-07-15T16:54:25+08:00][sql] SELECT * FROM `ims_shequshop_school_config` WHERE `uniacid` = 666 LIMIT 1 [ RunTime:0.000743s ]
[2024-07-15T16:54:25+08:00][sql] SHOW FULL COLUMNS FROM `ims_massage_service_user_list` [ RunTime:0.001552s ]
[2024-07-15T16:54:25+08:00][sql] SELECT `balance` FROM `ims_massage_service_user_list` WHERE `id` = 12 LIMIT 1 [ RunTime:0.000231s ]
[2024-07-15T16:54:25+08:00][sql] SHOW FULL COLUMNS FROM `ims_massage_shield_list` [ RunTime:0.000833s ]
[2024-07-15T16:54:25+08:00][sql] SELECT `coach_id` FROM `ims_massage_shield_list` WHERE `user_id` = 12 [ RunTime:0.000239s ]
[2024-07-15T16:54:25+08:00][sql] SHOW FULL COLUMNS FROM `ims_massage_dynamic_list` [ RunTime:0.000920s ]
[2024-07-15T16:54:25+08:00][sql] SELECT COUNT(*) AS think_count FROM `ims_massage_dynamic_list` `a` LEFT JOIN `ims_massage_service_coach_list` `b` ON `a`.`coach_id`=`b`.`id` WHERE `a`.`status` = '2' AND `b`.`status` = '2' AND 1 = 1 LIMIT 1 [ RunTime:0.000347s ]
[2024-07-15T16:54:25+08:00][sql] SELECT `a`.*,ACOS(SIN((32.0398069958501 * 3.1415) / 180 ) *SIN((a.lat * 3.1415) / 180 ) +COS((32.0398069958501 * 3.1415) / 180 ) * COS((a.lat * 3.1415) / 180 ) *COS((118.79462110543696 * 3.1415) / 180 - (a.lng * 3.1415) / 180 ) ) * 6378.137*1000 as distance,b.coach_name,b.work_img FROM `ims_massage_dynamic_list` `a` LEFT JOIN `ims_massage_service_coach_list` `b` ON `a`.`coach_id`=`b`.`id` WHERE `a`.`status` = '2' AND `b`.`status` = '2' AND 1 = 1 ORDER BY `a`.`top` DESC,`a`.`create_time` DESC,`distance` ASC,`a`.`id` DESC LIMIT 0,10 [ RunTime:0.000594s ]