sql-2025-04-09.log 142 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. [2025-04-09T12:36:46.012886+08:00] sql.INFO: select `id`, `pages`, `title`, `image_url`, `path` from `kailin_share_message` where (`status` = 0) ["RunTime:126.78ms"] []
  2. insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:126.68ms"] []
  3. [2025-04-09T12:36:46.072975+08:00] sql.INFO: select `id`, `thumb`, `name`, `link_url`, `type`, `start_time`, `end_time`, `city_ids`, `status` from `kailin_banner` where (`status` = 0 and `shop_id` = 0) ["RunTime:1.08ms"] []
  4. [2025-04-09T12:36:46.098372+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0) and `kailin_product_city`.`city_id` in (1) group by `product_id`) as `aggregate_table` ["RunTime:2.95ms"] []
  5. [2025-04-09T12:36:46.131285+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744173406 and `kailin_promo`.`end_time` >= 1744173406 and `kailin_promo_product`.`status` = 0) and 0 = 1 ["RunTime:1.65ms"] []
  6. [2025-04-09T14:03:11.801171+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:89.2ms"] []
  7. [2025-04-09T14:03:11.801506+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:89.11ms"] []
  8. [2025-04-09T14:03:11.801591+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:89.07ms"] []
  9. [2025-04-09T14:03:11.801563+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:89.1ms"] []
  10. [2025-04-09T14:03:11.830004+08:00] sql.INFO: select `id`, `thumb`, `name`, `link_url`, `type`, `start_time`, `end_time`, `city_ids`, `status` from `kailin_banner` where (`status` = 0 and `shop_id` = 0) ["RunTime:1.44ms"] []
  11. [2025-04-09T14:03:11.830208+08:00] sql.INFO: select `id`, `thumb`, `name`, `link_url`, `type`, `start_time`, `end_time`, `city_ids`, `status` from `kailin_banner` where (`status` = 0 and `shop_id` = 0) ["RunTime:1.71ms"] []
  12. [2025-04-09T14:03:11.851954+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0) and `kailin_product_city`.`city_id` in (1) group by `product_id`) as `aggregate_table` ["RunTime:2.05ms"] []
  13. [2025-04-09T14:03:11.852043+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0) and `kailin_product_city`.`city_id` in (1) group by `product_id`) as `aggregate_table` ["RunTime:2.16ms"] []
  14. [2025-04-09T14:03:11.883076+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744178591 and `kailin_promo`.`end_time` >= 1744178591 and `kailin_promo_product`.`status` = 0) and 0 = 1 ["RunTime:2.12ms"] []
  15. [2025-04-09T14:03:33.329690+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`phone` = 18819035894) limit 1 ["RunTime:27.67ms"] []
  16. [2025-04-09T14:03:33.333314+08:00] sql.INFO: insert into `kailin_custom` (`phone`, `username`, `insert_time`, `update_time`) values (18819035894, 188****5894, 1744178613, 1744178613) ["RunTime:1.17ms"] []
  17. [2025-04-09T14:03:33.559657+08:00] sql.INFO: select * from `kailin_custom_openid` where (`openid` = oNEkF7PYFD95LTg-Qeg2bEu_FfWU and `unionid` = oZ2yV5m0YPg150z6D9cGnpvcZBeg) limit 1 ["RunTime:2.76ms"] []
  18. [2025-04-09T14:03:33.562006+08:00] sql.INFO: insert into `kailin_custom_openid` (`openid`, `unionid`, `custom_uid`, `insert_time`, `update_time`) values (oNEkF7PYFD95LTg-Qeg2bEu_FfWU, oZ2yV5m0YPg150z6D9cGnpvcZBeg, 3, 1744178613, 1744178613) ["RunTime:1.4ms"] []
  19. [2025-04-09T14:03:33.565170+08:00] sql.INFO: select * from `kailin_custom_shop_record` where (`custom_uid` = 3) order by `visit_time` desc limit 1 ["RunTime:2.33ms"] []
  20. [2025-04-09T14:03:33.567403+08:00] sql.INFO: insert into `kailin_custom_shop_record` (`custom_uid`, `shop_id`, `company_id`, `visit_time`, `insert_time`, `update_time`) values (3, 1, 1, 1744178613, 1744178613, 1744178613) ["RunTime:1.28ms"] []
  21. [2025-04-09T14:03:34.310727+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:15.19ms"] []
  22. [2025-04-09T14:03:34.311771+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 3 and `kailin_redpacket`.`start_time` <= 1744178614 and `kailin_redpacket`.`end_time` >= 1744178614 and `kailin_redpacket`.`status` = 0) ["RunTime:27.03ms"] []
  23. [2025-04-09T14:04:56.427113+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:22.19ms"] []
  24. [2025-04-09T14:04:56.427257+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:26.29ms"] []
  25. [2025-04-09T14:04:56.431744+08:00] sql.INFO: select `id`, `thumb`, `name`, `link_url`, `type`, `start_time`, `end_time`, `city_ids`, `status` from `kailin_banner` where (`status` = 0 and `shop_id` = 0) ["RunTime:1.15ms"] []
  26. [2025-04-09T14:04:56.431847+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0) and `kailin_product_city`.`city_id` in (1) group by `product_id`) as `aggregate_table` ["RunTime:1.78ms"] []
  27. [2025-04-09T14:04:56.435561+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744178696 and `kailin_promo`.`end_time` >= 1744178696 and `kailin_promo_product`.`status` = 0) and 0 = 1 ["RunTime:2.21ms"] []
  28. [2025-04-09T17:02:19.856066+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:7.24ms"] []
  29. [2025-04-09T17:02:19.858647+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.55ms"] []
  30. [2025-04-09T17:02:19.864446+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1) group by `product_id`) as `aggregate_table` ["RunTime:3.28ms"] []
  31. [2025-04-09T17:02:19.868174+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744189339 and `kailin_promo`.`end_time` >= 1744189339 and `kailin_promo_product`.`status` = 0) and 0 = 1 ["RunTime:1.6ms"] []
  32. [2025-04-09T17:02:19.943809+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.44ms"] []
  33. [2025-04-09T17:02:19.948889+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:1.31ms"] []
  34. [2025-04-09T17:02:19.973676+08:00] sql.INFO: select `id`, `thumb`, `name`, `link_url`, `type`, `start_time`, `end_time`, `city_ids`, `status` from `kailin_banner` where (`status` = 0 and `shop_id` = 1) ["RunTime:1.32ms"] []
  35. [2025-04-09T17:02:47.567993+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:2.16ms"] []
  36. [2025-04-09T17:02:47.574341+08:00] sql.INFO: select `id`, `name`, `pid` from `kailin_city` where (`status` = 0) ["RunTime:4.33ms"] []
  37. [2025-04-09T17:02:55.767722+08:00] sql.INFO: select `id` from `kailin_city` where (`name` = 北京市) limit 1 ["RunTime:21.63ms"] []
  38. [2025-04-09T17:02:55.770179+08:00] sql.INFO: update `kailin_custom` set `city_id` = 1101, `update_time` = 1744189375 where (`uid` = 3) ["RunTime:0.85ms"] []
  39. [2025-04-09T17:02:56.135504+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:13.21ms"] []
  40. [2025-04-09T17:02:56.152728+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:5.27ms"] []
  41. [2025-04-09T17:02:56.157711+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.76ms"] []
  42. [2025-04-09T17:02:59.648588+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:27.84ms"] []
  43. [2025-04-09T17:02:59.651593+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.41ms"] []
  44. [2025-04-09T17:02:59.653374+08:00] sql.INFO: select `id` from `kailin_orders` where (`custom_uid` = 3 and `status` = 1 and `insert_time` >= 1739520742 and `insert_time` <= 1740039148) limit 1 ["RunTime:0.98ms"] []
  45. [2025-04-09T17:02:59.662823+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:26.05ms"] []
  46. [2025-04-09T17:02:59.666005+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.79ms"] []
  47. [2025-04-09T17:02:59.669449+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1101) group by `product_id`) as `aggregate_table` ["RunTime:1.61ms"] []
  48. [2025-04-09T17:02:59.670896+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744189379 and `kailin_promo`.`end_time` >= 1744189379 and `kailin_promo_product`.`status` = 0) and 0 = 1 ["RunTime:0.28ms"] []
  49. [2025-04-09T17:03:01.781876+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:11.4ms"] []
  50. [2025-04-09T17:03:15.335348+08:00] sql.INFO: select `id` from `kailin_city` where (`name` = 唐山市) limit 1 ["RunTime:23.81ms"] []
  51. [2025-04-09T17:03:15.342560+08:00] sql.INFO: update `kailin_custom` set `city_id` = 1302, `update_time` = 1744189395 where (`uid` = 3) ["RunTime:3.76ms"] []
  52. [2025-04-09T17:03:15.527663+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:21.33ms"] []
  53. [2025-04-09T17:03:15.544073+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:24.69ms"] []
  54. [2025-04-09T17:03:15.547723+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:1.06ms"] []
  55. [2025-04-09T17:03:37.084872+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:26.42ms"] []
  56. `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:22.64ms"] []
  57. [2025-04-09T17:03:37.087703+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.93ms"] []
  58. [2025-04-09T17:03:37.088014+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.71ms"] []
  59. [2025-04-09T17:03:37.090770+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.62ms"] []
  60. [2025-04-09T17:03:37.092685+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744189417 and `kailin_promo`.`end_time` >= 1744189417 and `kailin_promo_product`.`status` = 0) and 0 = 1 ["RunTime:0.96ms"] []
  61. [2025-04-09T17:07:03.880453+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:25.84ms"] []
  62. [2025-04-09T17:07:07.426111+08:00] sql.INFO: select `id` from `kailin_city` where (`name` = 唐山市) limit 1 ["RunTime:5.42ms"] []
  63. [2025-04-09T17:07:07.430455+08:00] sql.INFO: update `kailin_custom` set `city_id` = 1302, `update_time` = 1744189627 where (`uid` = 3) ["RunTime:1.3ms"] []
  64. [2025-04-09T17:07:07.672400+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:14.94ms"] []
  65. [2025-04-09T17:07:07.672865+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:15.67ms"] []
  66. [2025-04-09T17:07:07.675686+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.32ms"] []
  67. [2025-04-09T17:07:07.676832+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.64ms"] []
  68. [2025-04-09T17:07:07.680600+08:00] sql.INFO: select `id`, `name`, `thumb`, `link_url`, `city_ids`, `status` from `kailin_weiban_qrcode` where (`status` = 0) ["RunTime:1.06ms"] []
  69. [2025-04-09T17:07:30.855445+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:12.29ms"] []
  70. [2025-04-09T17:07:30.858309+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.23ms"] []
  71. [2025-04-09T17:07:30.870763+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:21.62ms"] []
  72. [2025-04-09T17:07:30.873182+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.33ms"] []
  73. [2025-04-09T17:07:30.875429+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:0.47ms"] []
  74. [2025-04-09T17:07:30.877054+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744189650 and `kailin_promo`.`end_time` >= 1744189650 and `kailin_promo_product`.`status` = 0) and 0 = 1 ["RunTime:0.33ms"] []
  75. [2025-04-09T17:07:30.879363+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:1.78ms"] []
  76. [2025-04-09T17:13:08.240916+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.54ms"] []
  77. [2025-04-09T17:13:08.243314+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:2.18ms"] []
  78. [2025-04-09T17:13:08.244592+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.82ms"] []
  79. [2025-04-09T17:13:08.246817+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.04ms"] []
  80. [2025-04-09T17:13:08.255932+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.65ms"] []
  81. [2025-04-09T17:13:08.256847+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.44ms"] []
  82. [2025-04-09T17:13:08.259756+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744189988 and `kailin_promo`.`end_time` >= 1744189988 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.41ms"] []
  83. [2025-04-09T17:13:08.262021+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:1.42ms"] []
  84. [2025-04-09T17:13:08.263928+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744189988 and `end_time` >= 1744189988 and `product_id` = 70) limit 1 ["RunTime:1.18ms"] []
  85. [2025-04-09T17:13:08.265171+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744189988 and `end_time` >= 1744189988 and `product_id` = 71) limit 1 ["RunTime:0.28ms"] []
  86. [2025-04-09T17:13:08.265785+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744189988 and `end_time` >= 1744189988 and `product_id` = 72) limit 1 ["RunTime:0.23ms"] []
  87. [2025-04-09T17:13:08.266314+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744189988 and `end_time` >= 1744189988 and `product_id` = 73) limit 1 ["RunTime:0.19ms"] []
  88. [2025-04-09T17:13:10.547972+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:3.16ms"] []
  89. [2025-04-09T17:13:13.056753+08:00] sql.INFO: select `id` from `kailin_city` where (`name` = 唐山市) limit 1 ["RunTime:29.98ms"] []
  90. [2025-04-09T17:13:13.064126+08:00] sql.INFO: update `kailin_custom` set `city_id` = 1302, `update_time` = 1744189993 where (`uid` = 3) ["RunTime:3.27ms"] []
  91. [2025-04-09T17:13:13.281589+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.65ms"] []
  92. [2025-04-09T17:13:13.286467+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 3 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744189993 and `kailin_redpacket`.`end_time` >= 1744189993 and `kailin_redpacket`.`status` = 0) ["RunTime:1.71ms"] []
  93. [2025-04-09T17:13:13.300810+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:27.73ms"] []
  94. [2025-04-09T17:13:13.306529+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:1.7ms"] []
  95. [2025-04-09T17:13:13.308305+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18054576631) limit 1 ["RunTime:0.89ms"] []
  96. [2025-04-09T17:13:13.312017+08:00] sql.INFO: select `id`, `name`, `thumb`, `link_url`, `city_ids`, `status` from `kailin_weiban_qrcode` where (`status` = 0) ["RunTime:1.02ms"] []
  97. [2025-04-09T17:13:13.316421+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 3 and `shop_id` = 1) limit 1 ["RunTime:1.32ms"] []
  98. [2025-04-09T17:13:16.885682+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:14.11ms"] []
  99. [2025-04-09T17:13:16.885780+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:17.51ms"] []
  100. [2025-04-09T17:13:16.888202+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.79ms"] []
  101. [2025-04-09T17:13:16.889221+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.96ms"] []
  102. [2025-04-09T17:13:16.908277+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.51ms"] []
  103. [2025-04-09T17:13:16.909227+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.47ms"] []
  104. [2025-04-09T17:13:16.911902+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744189996 and `kailin_promo`.`end_time` >= 1744189996 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.37ms"] []
  105. [2025-04-09T17:13:16.913560+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:1.02ms"] []
  106. [2025-04-09T17:13:16.915538+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744189996 and `end_time` >= 1744189996 and `product_id` = 70) limit 1 ["RunTime:1.2ms"] []
  107. [2025-04-09T17:13:16.916226+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744189996 and `end_time` >= 1744189996 and `product_id` = 71) limit 1 ["RunTime:0.23ms"] []
  108. [2025-04-09T17:13:16.916982+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744189996 and `end_time` >= 1744189996 and `product_id` = 72) limit 1 ["RunTime:0.3ms"] []
  109. [2025-04-09T17:13:16.917515+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744189996 and `end_time` >= 1744189996 and `product_id` = 73) limit 1 ["RunTime:0.14ms"] []
  110. [2025-04-09T17:13:20.541077+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:18.59ms"] []
  111. [2025-04-09T17:13:20.546319+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 3 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744190000 and `kailin_redpacket`.`end_time` >= 1744190000 and `kailin_redpacket`.`status` = 0) ["RunTime:1.36ms"] []
  112. [2025-04-09T17:13:20.548304+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.39ms"] []
  113. [2025-04-09T17:13:20.554737+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.84ms"] []
  114. [2025-04-09T17:13:20.556070+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18054576631) limit 1 ["RunTime:0.76ms"] []
  115. [2025-04-09T17:13:20.560053+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 3 and `shop_id` = 1) limit 1 ["RunTime:0.88ms"] []
  116. [2025-04-09T17:13:22.720948+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:19.81ms"] []
  117. [2025-04-09T17:13:22.724282+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.66ms"] []
  118. [2025-04-09T17:13:22.737242+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:20.77ms"] []
  119. [2025-04-09T17:13:22.740482+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.96ms"] []
  120. [2025-04-09T17:13:22.743986+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.46ms"] []
  121. [2025-04-09T17:13:22.745181+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.63ms"] []
  122. [2025-04-09T17:13:22.748902+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744190002 and `kailin_promo`.`end_time` >= 1744190002 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.75ms"] []
  123. [2025-04-09T17:13:22.750718+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:1.11ms"] []
  124. [2025-04-09T17:13:22.752272+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190002 and `end_time` >= 1744190002 and `product_id` = 70) limit 1 ["RunTime:0.82ms"] []
  125. [2025-04-09T17:13:22.753644+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190002 and `end_time` >= 1744190002 and `product_id` = 71) limit 1 ["RunTime:0.49ms"] []
  126. [2025-04-09T17:13:22.755033+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190002 and `end_time` >= 1744190002 and `product_id` = 72) limit 1 ["RunTime:0.53ms"] []
  127. [2025-04-09T17:13:22.756348+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190002 and `end_time` >= 1744190002 and `product_id` = 73) limit 1 ["RunTime:0.59ms"] []
  128. [2025-04-09T17:13:28.407989+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.07ms"] []
  129. [2025-04-09T17:13:28.412126+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:1.59ms"] []
  130. [2025-04-09T17:13:28.413527+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18054576631) limit 1 ["RunTime:0.83ms"] []
  131. [2025-04-09T17:13:28.418839+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 3 and `shop_id` = 1) limit 1 ["RunTime:1.12ms"] []
  132. [2025-04-09T17:13:28.572321+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:21.35ms"] []
  133. [2025-04-09T17:13:28.575102+08:00] sql.INFO: select `id`, `hide_orderbtn`, `name`, `thumb`, `stock`, `spec`, `poster`, `price`, `shop_id`, `market_price` from `kailin_product` where (`status` = 0) and `kailin_product`.`id` = 70 limit 1 ["RunTime:1.07ms"] []
  134. [2025-04-09T17:13:28.576843+08:00] sql.INFO: select `city_id` from `kailin_product_city` where (`product_id` = 70) ["RunTime:1.17ms"] []
  135. [2025-04-09T17:13:28.580811+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.93ms"] []
  136. [2025-04-09T17:13:28.586509+08:00] sql.INFO: select `id`, `sort`, `thumb` from `kailin_product_photo` where (`product_id` = 70) ["RunTime:2.33ms"] []
  137. [2025-04-09T17:13:28.589966+08:00] sql.INFO: select `id`, `name`, `spec_id`, `product_id`, `thumb`, `remark` from `kailin_product_attr` where (`product_id` = 70) ["RunTime:2.27ms"] []
  138. [2025-04-09T17:13:28.591355+08:00] sql.INFO: select `id`, `attr_ids`, `attr_names`, `min_quota`, `quota`, `sku_thumb`, `price`, `market_price`, `stock`, `status` from `kailin_product_skus` where (`product_id` = 70) ["RunTime:0.69ms"] []
  139. [2025-04-09T17:13:28.592356+08:00] sql.INFO: select * from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190008 and `end_time` >= 1744190008 and `product_id` = 70) limit 1 ["RunTime:0.63ms"] []
  140. [2025-04-09T17:13:28.592803+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.15ms"] []
  141. [2025-04-09T17:13:28.594357+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744190008 and `kailin_promo`.`end_time` >= 1744190008 and `kailin_promo_product`.`status` = 0 and `kailin_promo_product`.`product_id` = 70) limit 1 ["RunTime:1.01ms"] []
  142. [2025-04-09T17:13:32.181862+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:14.63ms"] []
  143. [2025-04-09T17:13:32.185291+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.91ms"] []
  144. [2025-04-09T17:13:32.198436+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:26.51ms"] []
  145. [2025-04-09T17:13:32.201347+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.89ms"] []
  146. [2025-04-09T17:13:32.204558+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.36ms"] []
  147. [2025-04-09T17:13:32.205320+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.34ms"] []
  148. [2025-04-09T17:13:32.207740+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744190012 and `kailin_promo`.`end_time` >= 1744190012 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.11ms"] []
  149. [2025-04-09T17:13:32.208935+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.8ms"] []
  150. [2025-04-09T17:13:32.210052+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190012 and `end_time` >= 1744190012 and `product_id` = 70) limit 1 ["RunTime:0.65ms"] []
  151. [2025-04-09T17:13:32.210693+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190012 and `end_time` >= 1744190012 and `product_id` = 71) limit 1 ["RunTime:0.22ms"] []
  152. [2025-04-09T17:13:32.211350+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190012 and `end_time` >= 1744190012 and `product_id` = 72) limit 1 ["RunTime:0.22ms"] []
  153. [2025-04-09T17:13:32.212215+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190012 and `end_time` >= 1744190012 and `product_id` = 73) limit 1 ["RunTime:0.43ms"] []
  154. [2025-04-09T17:13:33.409892+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.76ms"] []
  155. [2025-04-09T17:13:33.413933+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 3 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744190013 and `kailin_redpacket`.`end_time` >= 1744190013 and `kailin_redpacket`.`status` = 0) ["RunTime:1.22ms"] []
  156. [2025-04-09T17:13:33.424906+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:26.18ms"] []
  157. [2025-04-09T17:13:33.427975+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.51ms"] []
  158. [2025-04-09T17:13:33.429188+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18054576631) limit 1 ["RunTime:0.69ms"] []
  159. [2025-04-09T17:13:33.432815+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 3 and `shop_id` = 1) limit 1 ["RunTime:0.74ms"] []
  160. [2025-04-09T17:13:40.714908+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.7ms"] []
  161. [2025-04-09T17:13:40.717817+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.3ms"] []
  162. [2025-04-09T17:13:40.750839+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:17.95ms"] []
  163. [2025-04-09T17:13:40.753922+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.96ms"] []
  164. [2025-04-09T17:13:40.756973+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.28ms"] []
  165. [2025-04-09T17:13:40.757666+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.36ms"] []
  166. [2025-04-09T17:13:40.759849+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744190020 and `kailin_promo`.`end_time` >= 1744190020 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.05ms"] []
  167. [2025-04-09T17:13:40.760779+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.6ms"] []
  168. [2025-04-09T17:13:40.761777+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190020 and `end_time` >= 1744190020 and `product_id` = 70) limit 1 ["RunTime:0.61ms"] []
  169. [2025-04-09T17:13:40.762505+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190020 and `end_time` >= 1744190020 and `product_id` = 71) limit 1 ["RunTime:0.31ms"] []
  170. [2025-04-09T17:13:40.763192+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190020 and `end_time` >= 1744190020 and `product_id` = 72) limit 1 ["RunTime:0.23ms"] []
  171. [2025-04-09T17:13:40.763769+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190020 and `end_time` >= 1744190020 and `product_id` = 73) limit 1 ["RunTime:0.2ms"] []
  172. [2025-04-09T17:13:41.857447+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:18.8ms"] []
  173. [2025-04-09T17:13:41.861530+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 3 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744190021 and `kailin_redpacket`.`end_time` >= 1744190021 and `kailin_redpacket`.`status` = 0) ["RunTime:1.39ms"] []
  174. [2025-04-09T17:13:41.888630+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:26.84ms"] []
  175. [2025-04-09T17:13:41.892664+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:1.46ms"] []
  176. [2025-04-09T17:13:41.893780+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18054576631) limit 1 ["RunTime:0.65ms"] []
  177. [2025-04-09T17:13:41.898336+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 3 and `shop_id` = 1) limit 1 ["RunTime:0.94ms"] []
  178. [2025-04-09T17:13:42.945466+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:26.28ms"] []
  179. `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:22.45ms"] []
  180. [2025-04-09T17:13:42.949659+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.24ms"] []
  181. [2025-04-09T17:13:42.951028+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.78ms"] []
  182. [2025-04-09T17:13:42.963468+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.09ms"] []
  183. [2025-04-09T17:13:42.964391+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.42ms"] []
  184. [2025-04-09T17:13:42.966281+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744190022 and `kailin_promo`.`end_time` >= 1744190022 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:0.49ms"] []
  185. [2025-04-09T17:13:42.967240+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.43ms"] []
  186. [2025-04-09T17:13:42.968543+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190022 and `end_time` >= 1744190022 and `product_id` = 70) limit 1 ["RunTime:0.51ms"] []
  187. [2025-04-09T17:13:42.969690+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190022 and `end_time` >= 1744190022 and `product_id` = 71) limit 1 ["RunTime:0.44ms"] []
  188. [2025-04-09T17:13:42.970612+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190022 and `end_time` >= 1744190022 and `product_id` = 72) limit 1 ["RunTime:0.33ms"] []
  189. [2025-04-09T17:13:42.971485+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190022 and `end_time` >= 1744190022 and `product_id` = 73) limit 1 ["RunTime:0.28ms"] []
  190. [2025-04-09T17:22:30.647250+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.65ms"] []
  191. [2025-04-09T17:22:30.651356+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.78ms"] []
  192. [2025-04-09T17:22:30.652003+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:1.88ms"] []
  193. [2025-04-09T17:22:30.652612+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18054576631) limit 1 ["RunTime:0.72ms"] []
  194. [2025-04-09T17:22:30.654528+08:00] sql.INFO: select `id`, `hide_orderbtn`, `name`, `thumb`, `stock`, `spec`, `poster`, `price`, `shop_id`, `market_price` from `kailin_product` where (`status` = 0) and `kailin_product`.`id` = 70 limit 1 ["RunTime:0.79ms"] []
  195. [2025-04-09T17:22:30.655685+08:00] sql.INFO: select `city_id` from `kailin_product_city` where (`product_id` = 70) ["RunTime:0.76ms"] []
  196. [2025-04-09T17:22:30.656355+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 3 and `shop_id` = 1) limit 1 ["RunTime:0.7ms"] []
  197. [2025-04-09T17:22:30.656770+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.32ms"] []
  198. [2025-04-09T17:22:30.670572+08:00] sql.INFO: select `id`, `sort`, `thumb` from `kailin_product_photo` where (`product_id` = 70) ["RunTime:0.86ms"] []
  199. [2025-04-09T17:22:30.671725+08:00] sql.INFO: select `id`, `name`, `spec_id`, `product_id`, `thumb`, `remark` from `kailin_product_attr` where (`product_id` = 70) ["RunTime:0.69ms"] []
  200. [2025-04-09T17:22:30.672835+08:00] sql.INFO: select `id`, `attr_ids`, `attr_names`, `min_quota`, `quota`, `sku_thumb`, `price`, `market_price`, `stock`, `status` from `kailin_product_skus` where (`product_id` = 70) ["RunTime:0.69ms"] []
  201. [2025-04-09T17:22:30.674614+08:00] sql.INFO: select * from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744190550 and `end_time` >= 1744190550 and `product_id` = 70) limit 1 ["RunTime:1.17ms"] []
  202. [2025-04-09T17:22:30.676009+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.77ms"] []
  203. [2025-04-09T17:22:30.678093+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744190550 and `kailin_promo`.`end_time` >= 1744190550 and `kailin_promo_product`.`status` = 0 and `kailin_promo_product`.`product_id` = 70) limit 1 ["RunTime:1.34ms"] []
  204. [2025-04-09T17:30:31.381862+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.08ms"] []
  205. [2025-04-09T17:30:31.386810+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.42ms"] []
  206. [2025-04-09T17:30:31.387233+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:2.86ms"] []
  207. [2025-04-09T17:30:31.390119+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.35ms"] []
  208. [2025-04-09T17:30:31.398930+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.61ms"] []
  209. [2025-04-09T17:30:31.400282+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.74ms"] []
  210. [2025-04-09T17:30:31.403142+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191031 and `kailin_promo`.`end_time` >= 1744191031 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.33ms"] []
  211. [2025-04-09T17:30:31.404871+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:1.11ms"] []
  212. [2025-04-09T17:30:31.406633+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191031 and `end_time` >= 1744191031 and `product_id` = 70) limit 1 ["RunTime:1.04ms"] []
  213. [2025-04-09T17:30:31.407553+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191031 and `end_time` >= 1744191031 and `product_id` = 71) limit 1 ["RunTime:0.31ms"] []
  214. [2025-04-09T17:30:31.408392+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191031 and `end_time` >= 1744191031 and `product_id` = 72) limit 1 ["RunTime:0.3ms"] []
  215. [2025-04-09T17:30:31.409099+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191031 and `end_time` >= 1744191031 and `product_id` = 73) limit 1 ["RunTime:0.22ms"] []
  216. [2025-04-09T17:30:33.025863+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:27.44ms"] []
  217. [2025-04-09T17:30:33.030390+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 3 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191033 and `kailin_redpacket`.`end_time` >= 1744191033 and `kailin_redpacket`.`status` = 0) ["RunTime:1.25ms"] []
  218. [2025-04-09T17:30:33.040670+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:25.62ms"] []
  219. [2025-04-09T17:30:33.044471+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 3) limit 1 ["RunTime:0.44ms"] []
  220. [2025-04-09T17:30:33.045259+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18054576631) limit 1 ["RunTime:0.22ms"] []
  221. [2025-04-09T17:30:33.048739+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 3 and `shop_id` = 1) limit 1 ["RunTime:0.35ms"] []
  222. [2025-04-09T17:30:42.990047+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.92ms"] []
  223. [2025-04-09T17:30:43.716407+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`phone` = 18819035894) limit 1 ["RunTime:0.37ms"] []
  224. [2025-04-09T17:30:43.981606+08:00] sql.INFO: select * from `kailin_custom_openid` where (`openid` = oNEkF7PYFD95LTg-Qeg2bEu_FfWU and `unionid` = oZ2yV5m0YPg150z6D9cGnpvcZBeg) limit 1 ["RunTime:2.35ms"] []
  225. [2025-04-09T17:30:43.984354+08:00] sql.INFO: select * from `kailin_custom_shop_record` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:1.67ms"] []
  226. [2025-04-09T17:30:43.986003+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.82ms"] []
  227. [2025-04-09T17:30:43.989704+08:00] sql.INFO: insert into `kailin_custom_shop_record` (`custom_uid`, `shop_id`, `company_id`, `visit_time`, `insert_time`, `update_time`) values (25, 1, 1, 1744191043, 1744191043, 1744191043) ["RunTime:1.35ms"] []
  228. [2025-04-09T17:30:44.191014+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:11.81ms"] []
  229. [2025-04-09T17:30:44.191571+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:13.78ms"] []
  230. [2025-04-09T17:30:44.196131+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191044 and `kailin_redpacket`.`end_time` >= 1744191044 and `kailin_redpacket`.`status` = 0) ["RunTime:1.79ms"] []
  231. [2025-04-09T17:30:44.211429+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.48ms"] []
  232. [2025-04-09T17:30:44.212979+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.86ms"] []
  233. [2025-04-09T17:30:44.218373+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:1.2ms"] []
  234. [2025-04-09T17:31:03.318036+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:4.6ms"] []
  235. [2025-04-09T17:31:03.321698+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.71ms"] []
  236. [2025-04-09T17:31:03.390045+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:23.43ms"] []
  237. [2025-04-09T17:31:03.394642+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.77ms"] []
  238. [2025-04-09T17:31:03.400587+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1) group by `product_id`) as `aggregate_table` ["RunTime:2.24ms"] []
  239. [2025-04-09T17:31:03.402064+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.88ms"] []
  240. [2025-04-09T17:31:03.404311+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191063 and `kailin_promo`.`end_time` >= 1744191063 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.07ms"] []
  241. [2025-04-09T17:31:03.405227+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.59ms"] []
  242. [2025-04-09T17:31:03.406177+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191063 and `end_time` >= 1744191063 and `product_id` = 70) limit 1 ["RunTime:0.57ms"] []
  243. [2025-04-09T17:31:03.406675+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191063 and `end_time` >= 1744191063 and `product_id` = 71) limit 1 ["RunTime:0.16ms"] []
  244. [2025-04-09T17:31:03.407254+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191063 and `end_time` >= 1744191063 and `product_id` = 72) limit 1 ["RunTime:0.19ms"] []
  245. [2025-04-09T17:31:03.407876+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191063 and `end_time` >= 1744191063 and `product_id` = 73) limit 1 ["RunTime:0.17ms"] []
  246. [2025-04-09T17:31:05.827723+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:18.96ms"] []
  247. [2025-04-09T17:31:15.443491+08:00] sql.INFO: select `id` from `kailin_city` where (`name` = 唐山市) limit 1 ["RunTime:27.68ms"] []
  248. [2025-04-09T17:31:15.446093+08:00] sql.INFO: update `kailin_custom` set `city_id` = 1302, `update_time` = 1744191075 where (`uid` = 25) ["RunTime:0.94ms"] []
  249. [2025-04-09T17:31:15.586846+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.57ms"] []
  250. [2025-04-09T17:31:15.589341+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.28ms"] []
  251. [2025-04-09T17:31:15.590133+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.33ms"] []
  252. [2025-04-09T17:31:15.593452+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.29ms"] []
  253. [2025-04-09T17:31:15.610618+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:25.17ms"] []
  254. [2025-04-09T17:31:15.615729+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191075 and `kailin_redpacket`.`end_time` >= 1744191075 and `kailin_redpacket`.`status` = 0) ["RunTime:0.85ms"] []
  255. [2025-04-09T17:31:19.949708+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.06ms"] []
  256. [2025-04-09T17:31:19.953677+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.49ms"] []
  257. [2025-04-09T17:31:19.971047+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:13.79ms"] []
  258. [2025-04-09T17:31:19.973467+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.58ms"] []
  259. [2025-04-09T17:31:19.976652+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:0.9ms"] []
  260. [2025-04-09T17:31:19.978299+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.91ms"] []
  261. [2025-04-09T17:31:19.982014+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191079 and `kailin_promo`.`end_time` >= 1744191079 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.14ms"] []
  262. [2025-04-09T17:31:19.983487+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.44ms"] []
  263. [2025-04-09T17:31:19.984812+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191079 and `end_time` >= 1744191079 and `product_id` = 70) limit 1 ["RunTime:0.43ms"] []
  264. [2025-04-09T17:31:19.986069+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191079 and `end_time` >= 1744191079 and `product_id` = 71) limit 1 ["RunTime:0.5ms"] []
  265. [2025-04-09T17:31:19.987224+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191079 and `end_time` >= 1744191079 and `product_id` = 72) limit 1 ["RunTime:0.4ms"] []
  266. [2025-04-09T17:31:19.988212+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191079 and `end_time` >= 1744191079 and `product_id` = 73) limit 1 ["RunTime:0.3ms"] []
  267. [2025-04-09T17:31:20.844540+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:19.43ms"] []
  268. [2025-04-09T17:31:20.847463+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.36ms"] []
  269. [2025-04-09T17:31:20.848485+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.25ms"] []
  270. [2025-04-09T17:31:20.851442+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.26ms"] []
  271. [2025-04-09T17:31:20.872361+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:23.6ms"] []
  272. [2025-04-09T17:31:20.876229+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191080 and `kailin_redpacket`.`end_time` >= 1744191080 and `kailin_redpacket`.`status` = 0) ["RunTime:1.17ms"] []
  273. [2025-04-09T17:31:22.609370+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:12.45ms"] []
  274. [2025-04-09T17:31:22.612202+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.29ms"] []
  275. [2025-04-09T17:31:22.625053+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:23.58ms"] []
  276. [2025-04-09T17:31:22.627875+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.41ms"] []
  277. [2025-04-09T17:31:22.630450+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:0.7ms"] []
  278. [2025-04-09T17:31:22.632044+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.69ms"] []
  279. [2025-04-09T17:31:22.634276+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191082 and `kailin_promo`.`end_time` >= 1744191082 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:0.52ms"] []
  280. [2025-04-09T17:31:22.634849+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.2ms"] []
  281. [2025-04-09T17:31:22.635498+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191082 and `end_time` >= 1744191082 and `product_id` = 70) limit 1 ["RunTime:0.24ms"] []
  282. [2025-04-09T17:31:22.636131+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191082 and `end_time` >= 1744191082 and `product_id` = 71) limit 1 ["RunTime:0.25ms"] []
  283. [2025-04-09T17:31:22.636686+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191082 and `end_time` >= 1744191082 and `product_id` = 72) limit 1 ["RunTime:0.18ms"] []
  284. [2025-04-09T17:31:22.637206+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191082 and `end_time` >= 1744191082 and `product_id` = 73) limit 1 ["RunTime:0.2ms"] []
  285. [2025-04-09T17:31:24.255914+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:23.9ms"] []
  286. [2025-04-09T17:31:24.256045+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:23.5ms"] []
  287. [2025-04-09T17:31:24.258812+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.36ms"] []
  288. [2025-04-09T17:31:24.258982+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191084 and `kailin_redpacket`.`end_time` >= 1744191084 and `kailin_redpacket`.`status` = 0) ["RunTime:0.26ms"] []
  289. [2025-04-09T17:31:24.259483+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.18ms"] []
  290. [2025-04-09T17:31:24.262691+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.27ms"] []
  291. [2025-04-09T17:31:32.610162+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:19.68ms"] []
  292. [2025-04-09T17:31:32.893337+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`phone` = 18819035894) limit 1 ["RunTime:0.76ms"] []
  293. [2025-04-09T17:31:33.203630+08:00] sql.INFO: select * from `kailin_custom_openid` where (`openid` = oNEkF7PYFD95LTg-Qeg2bEu_FfWU and `unionid` = oZ2yV5m0YPg150z6D9cGnpvcZBeg) limit 1 ["RunTime:1.63ms"] []
  294. [2025-04-09T17:31:33.206077+08:00] sql.INFO: select * from `kailin_custom_shop_record` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:1.54ms"] []
  295. [2025-04-09T17:31:33.214588+08:00] sql.INFO: update `kailin_custom_shop_record` set `visit_time` = 1744191093 where (`id` = 1058) ["RunTime:7.65ms"] []
  296. [2025-04-09T17:31:33.443270+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:14.19ms"] []
  297. [2025-04-09T17:31:33.446794+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.72ms"] []
  298. [2025-04-09T17:31:33.448652+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:1.09ms"] []
  299. [2025-04-09T17:31:33.452984+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:1.04ms"] []
  300. [2025-04-09T17:31:33.475084+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:26.53ms"] []
  301. [2025-04-09T17:31:33.478831+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191093 and `kailin_redpacket`.`end_time` >= 1744191093 and `kailin_redpacket`.`status` = 0) ["RunTime:0.78ms"] []
  302. [2025-04-09T17:31:35.285214+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:13.82ms"] []
  303. [2025-04-09T17:31:35.289051+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.34ms"] []
  304. [2025-04-09T17:31:35.301501+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:22.57ms"] []
  305. [2025-04-09T17:31:35.304172+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.48ms"] []
  306. [2025-04-09T17:31:35.307630+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.62ms"] []
  307. [2025-04-09T17:31:35.309233+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.94ms"] []
  308. [2025-04-09T17:31:35.312785+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191095 and `kailin_promo`.`end_time` >= 1744191095 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.27ms"] []
  309. [2025-04-09T17:31:35.315269+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:1.64ms"] []
  310. [2025-04-09T17:31:35.317075+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191095 and `end_time` >= 1744191095 and `product_id` = 70) limit 1 ["RunTime:0.91ms"] []
  311. [2025-04-09T17:31:35.318231+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191095 and `end_time` >= 1744191095 and `product_id` = 71) limit 1 ["RunTime:0.4ms"] []
  312. [2025-04-09T17:31:35.319526+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191095 and `end_time` >= 1744191095 and `product_id` = 72) limit 1 ["RunTime:0.47ms"] []
  313. [2025-04-09T17:31:35.320628+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191095 and `end_time` >= 1744191095 and `product_id` = 73) limit 1 ["RunTime:0.33ms"] []
  314. [2025-04-09T17:31:36.719061+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:19.14ms"] []
  315. [2025-04-09T17:31:36.727280+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.97ms"] []
  316. [2025-04-09T17:31:36.728662+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.83ms"] []
  317. [2025-04-09T17:31:36.731179+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.85ms"] []
  318. [2025-04-09T17:31:36.732235+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.97ms"] []
  319. [2025-04-09T17:31:36.740673+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191096 and `kailin_redpacket`.`end_time` >= 1744191096 and `kailin_redpacket`.`status` = 0) ["RunTime:1.01ms"] []
  320. [2025-04-09T17:31:53.009321+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:13.39ms"] []
  321. [2025-04-09T17:31:53.011879+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.26ms"] []
  322. [2025-04-09T17:31:53.025507+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:25.78ms"] []
  323. [2025-04-09T17:31:53.027800+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.45ms"] []
  324. [2025-04-09T17:31:53.031538+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.59ms"] []
  325. [2025-04-09T17:31:53.032361+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.42ms"] []
  326. [2025-04-09T17:31:53.034592+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191113 and `kailin_promo`.`end_time` >= 1744191113 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.02ms"] []
  327. [2025-04-09T17:31:53.035595+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.65ms"] []
  328. [2025-04-09T17:31:53.036862+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191113 and `end_time` >= 1744191113 and `product_id` = 70) limit 1 ["RunTime:0.81ms"] []
  329. [2025-04-09T17:31:53.037581+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191113 and `end_time` >= 1744191113 and `product_id` = 71) limit 1 ["RunTime:0.22ms"] []
  330. [2025-04-09T17:31:53.038147+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191113 and `end_time` >= 1744191113 and `product_id` = 72) limit 1 ["RunTime:0.19ms"] []
  331. [2025-04-09T17:31:53.038658+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191113 and `end_time` >= 1744191113 and `product_id` = 73) limit 1 ["RunTime:0.17ms"] []
  332. [2025-04-09T17:31:54.060072+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:2.11ms"] []
  333. [2025-04-09T17:31:54.062338+08:00] sql.INFO: select `id`, `hide_orderbtn`, `name`, `thumb`, `stock`, `spec`, `poster`, `price`, `shop_id`, `market_price` from `kailin_product` where (`status` = 0) and `kailin_product`.`id` = 70 limit 1 ["RunTime:0.44ms"] []
  334. [2025-04-09T17:31:54.062988+08:00] sql.INFO: select `city_id` from `kailin_product_city` where (`product_id` = 70) ["RunTime:0.23ms"] []
  335. [2025-04-09T17:31:54.064228+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.44ms"] []
  336. [2025-04-09T17:31:54.066762+08:00] sql.INFO: select `id`, `sort`, `thumb` from `kailin_product_photo` where (`product_id` = 70) ["RunTime:0.89ms"] []
  337. [2025-04-09T17:31:54.067979+08:00] sql.INFO: select `id`, `name`, `spec_id`, `product_id`, `thumb`, `remark` from `kailin_product_attr` where (`product_id` = 70) ["RunTime:0.81ms"] []
  338. [2025-04-09T17:31:54.069120+08:00] sql.INFO: select `id`, `attr_ids`, `attr_names`, `min_quota`, `quota`, `sku_thumb`, `price`, `market_price`, `stock`, `status` from `kailin_product_skus` where (`product_id` = 70) ["RunTime:0.74ms"] []
  339. [2025-04-09T17:31:54.069785+08:00] sql.INFO: select * from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191114 and `end_time` >= 1744191114 and `product_id` = 70) limit 1 ["RunTime:0.24ms"] []
  340. [2025-04-09T17:31:54.070293+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.17ms"] []
  341. [2025-04-09T17:31:54.071125+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191114 and `kailin_promo`.`end_time` >= 1744191114 and `kailin_promo_product`.`status` = 0 and `kailin_promo_product`.`product_id` = 70) limit 1 ["RunTime:0.27ms"] []
  342. [2025-04-09T17:31:54.084294+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:24ms"] []
  343. [2025-04-09T17:31:54.087685+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.38ms"] []
  344. [2025-04-09T17:31:54.088492+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.21ms"] []
  345. [2025-04-09T17:31:54.092377+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.41ms"] []
  346. [2025-04-09T17:31:55.980967+08:00] sql.INFO: select `id`, `custom_uid`, `contact_province`, `contact_city`, `contact_area`, `contact_addr`, `contact_name`, `contact_shop`, `contact_phone`, `is_default`, `shop_type` from `kailin_custom_addr` where (`custom_uid` = 25) ["RunTime:27.45ms"] []
  347. [2025-04-09T17:31:56.039010+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:20.89ms"] []
  348. [2025-04-09T17:31:56.043242+08:00] sql.INFO: select `kailin_custom_coupon`.`id`, `kailin_coupon`.`id` as `coupon_id`, `kailin_coupon`.`name`, `kailin_coupon`.`type_id`, `kailin_coupon`.`rebate_type`, `kailin_coupon`.`std_pay`, `kailin_coupon`.`rebate`, `kailin_custom_coupon`.`status`, `kailin_custom_coupon`.`exp_time` from `kailin_custom_coupon` inner join `kailin_coupon` on `kailin_custom_coupon`.`coupon_id` = `kailin_coupon`.`id` where (`kailin_custom_coupon`.`custom_uid` = 25 and `kailin_custom_coupon`.`status` = 0 and `kailin_custom_coupon`.`shop_id` = 1) order by `kailin_custom_coupon`.`status` asc ["RunTime:1.34ms"] []
  349. [2025-04-09T17:31:56.044472+08:00] sql.INFO: select `coupon_id`, `product_id` from `kailin_coupon_product` where 0 = 1 ["RunTime:0.84ms"] []
  350. [2025-04-09T17:31:56.045902+08:00] sql.INFO: select `kailin_coupon_rebate`.`coupon_id`, `kailin_coupon_rebate`.`product_id`, `kailin_coupon_rebate`.`rebate_num`, `kailin_product`.`name` as `product_name`, `kailin_product`.`spec` as `product_spec` from `kailin_coupon_rebate` inner join `kailin_product` on `kailin_coupon_rebate`.`product_id` = `kailin_product`.`id` where 0 = 1 ["RunTime:0.91ms"] []
  351. [2025-04-09T17:31:56.048218+08:00] sql.INFO: select `coupon_id`, `product_id` from `kailin_coupon_product_exclude` where 0 = 1 ["RunTime:1.89ms"] []
  352. [2025-04-09T17:32:00.313185+08:00] sql.INFO: select `id`, `custom_uid`, `contact_province`, `contact_city`, `contact_area`, `contact_addr`, `contact_name`, `contact_shop`, `contact_phone`, `is_default`, `shop_type` from `kailin_custom_addr` where (`custom_uid` = 25) ["RunTime:12.05ms"] []
  353. [2025-04-09T17:32:00.343513+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:26.14ms"] []
  354. [2025-04-09T17:32:21.781333+08:00] sql.INFO: select `contact_province`, `contact_city`, `contact_area`, `contact_addr`, `contact_shop`, `shop_type` from `kailin_custom_addr` where (`contact_shop` LIKE %测试%) limit 20 ["RunTime:2.51ms"] []
  355. [2025-04-09T17:32:25.675123+08:00] sql.INFO: select `contact_province`, `contact_city`, `contact_area`, `contact_addr`, `contact_shop`, `shop_type` from `kailin_custom_addr` where (`contact_shop` LIKE %测试店铺%) limit 20 ["RunTime:27.71ms"] []
  356. [2025-04-09T17:32:40.671258+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:15.81ms"] []
  357. [2025-04-09T17:32:40.680785+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_addr` where (`custom_uid` = 25) ["RunTime:1.23ms"] []
  358. [2025-04-09T17:32:40.681898+08:00] sql.INFO: update `kailin_custom_addr` set `is_default` = 0 where (`custom_uid` = 25) ["RunTime:0.4ms"] []
  359. [2025-04-09T17:32:40.683313+08:00] sql.INFO: insert into `kailin_custom_addr` (`contact_province`, `contact_city`, `contact_area`, `contact_addr`, `contact_name`, `contact_shop`, `shop_type`, `contact_phone`, `is_default`, `custom_uid`, `insert_time`, `update_time`) values (河北省, 唐山市, 路南区, 一方天地, 何先生, 测试店铺, 1, 18819035894, 1, 25, 1744191160, 1744191160) ["RunTime:0.87ms"] []
  360. [2025-04-09T17:32:40.838488+08:00] sql.INFO: select `id`, `custom_uid`, `contact_province`, `contact_city`, `contact_area`, `contact_addr`, `contact_name`, `contact_shop`, `contact_phone`, `is_default`, `shop_type` from `kailin_custom_addr` where (`custom_uid` = 25) ["RunTime:18.37ms"] []
  361. [2025-04-09T17:32:43.469142+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:18.53ms"] []
  362. [2025-04-09T17:32:43.469586+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:11.12ms"] []
  363. [2025-04-09T17:32:43.470977+08:00] sql.INFO: select `id`, `hide_orderbtn`, `name`, `thumb`, `stock`, `spec`, `poster`, `price`, `shop_id`, `market_price` from `kailin_product` where (`status` = 0) and `kailin_product`.`id` = 70 limit 1 ["RunTime:0.25ms"] []
  364. [2025-04-09T17:32:43.471502+08:00] sql.INFO: select `city_id` from `kailin_product_city` where (`product_id` = 70) ["RunTime:0.2ms"] []
  365. [2025-04-09T17:32:43.472371+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.25ms"] []
  366. [2025-04-09T17:32:43.472427+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.2ms"] []
  367. [2025-04-09T17:32:43.473683+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.72ms"] []
  368. [2025-04-09T17:32:43.476829+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.75ms"] []
  369. [2025-04-09T17:32:43.481576+08:00] sql.INFO: select `id`, `sort`, `thumb` from `kailin_product_photo` where (`product_id` = 70) ["RunTime:1.06ms"] []
  370. [2025-04-09T17:32:43.483529+08:00] sql.INFO: select `id`, `name`, `spec_id`, `product_id`, `thumb`, `remark` from `kailin_product_attr` where (`product_id` = 70) ["RunTime:1.11ms"] []
  371. [2025-04-09T17:32:43.486182+08:00] sql.INFO: select `id`, `attr_ids`, `attr_names`, `min_quota`, `quota`, `sku_thumb`, `price`, `market_price`, `stock`, `status` from `kailin_product_skus` where (`product_id` = 70) ["RunTime:1.97ms"] []
  372. [2025-04-09T17:32:43.487575+08:00] sql.INFO: select * from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191163 and `end_time` >= 1744191163 and `product_id` = 70) limit 1 ["RunTime:0.49ms"] []
  373. [2025-04-09T17:32:43.488794+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.65ms"] []
  374. [2025-04-09T17:32:43.490939+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191163 and `kailin_promo`.`end_time` >= 1744191163 and `kailin_promo_product`.`status` = 0 and `kailin_promo_product`.`product_id` = 70) limit 1 ["RunTime:0.76ms"] []
  375. [2025-04-09T17:32:50.799263+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:25.87ms"] []
  376. [2025-04-09T17:32:50.808121+08:00] sql.INFO: select `id`, `custom_uid`, `contact_province`, `contact_city`, `contact_area`, `contact_addr`, `contact_name`, `contact_shop`, `contact_phone`, `is_default`, `shop_type` from `kailin_custom_addr` where (`id` = 14) limit 1 ["RunTime:1.98ms"] []
  377. [2025-04-09T17:32:50.810078+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.72ms"] []
  378. [2025-04-09T17:32:50.817658+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.39ms"] []
  379. [2025-04-09T17:32:50.818961+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`name` as `product_name`, `kailin_product`.`thumb` as `product_thumb`, `kailin_product`.`spec` as `sku_attr_names`, `kailin_product`.`price`, `kailin_product`.`stock`, `kailin_product`.`status`, `kailin_product`.`shop_id`, `kailin_product`.`quota`, `kailin_product`.`min_quota`, `kailin_product`.`quota_start`, `kailin_product`.`quota_end`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`sku_min_quota_and` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where `kailin_product_city`.`city_id` in (1, 1302) and `kailin_product`.`id` in (70) and (`kailin_product`.`status` = 0) ["RunTime:0.44ms"] []
  380. [2025-04-09T17:32:50.822833+08:00] sql.INFO: select `id` as `sku_id`, `product_id`, `attr_names` as `sku_attr_names`, `quota`, `min_quota`, `price`, `market_price`, `stock`, `status` from `kailin_product_skus` where `id` in (0) and (`status` = 0) ["RunTime:2.27ms"] []
  381. [2025-04-09T17:32:50.849603+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191170 and `kailin_promo`.`end_time` >= 1744191170 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70) ["RunTime:0.83ms"] []
  382. [2025-04-09T17:32:50.924955+08:00] sql.INFO: update `kailin_product` set `stock` = stock+-1, `update_time` = 1744191170 where (`id` = 70) ["RunTime:0.4ms"] []
  383. [2025-04-09T17:32:50.926506+08:00] sql.INFO: insert into `kailin_orders` (`shop_id`, `custom_uid`, `price_total`, `pay_total`, `coupon_total`, `order_score`, `snowflake_id`, `insert_time`, `update_time`) values (1, 25, 116, 116, 0, 0, 553631228507592454, 1744191170, 1744191170) ["RunTime:1.08ms"] []
  384. [2025-04-09T17:32:50.928395+08:00] sql.INFO: insert into `kailin_orders_product` (`buy_num`, `coupon_total`, `custom_uid`, `insert_time`, `is_rebate`, `order_id`, `pay_total`, `price_total`, `product_id`, `product_name`, `product_thumb`, `shop_id`, `sku_attr_names`, `update_time`) values (1, 0, 25, 1744191170, 0, 80, 116, 116, 70, 哪吒·三界往事, https://openwork-oss.oss-cn-shenzhen.aliyuncs.com/uploads/shop/2025/04/08/a04c41767264d6b05b0e09471ab35a8f.png, 1, 精装, 1744191170) ["RunTime:1.32ms"] []
  385. [2025-04-09T17:32:50.929542+08:00] sql.INFO: insert into `kailin_orders_addr` (`contact_name`, `contact_shop`, `shop_type`, `contact_phone`, `contact_province`, `contact_city`, `contact_area`, `contact_addr`, `order_id`, `insert_time`, `update_time`) values (何先生, 测试店铺, 1, 18819035894, 河北省, 唐山市, 路南区, 一方天地, 80, 1744191170, 1744191170) ["RunTime:0.81ms"] []
  386. [2025-04-09T17:32:50.946109+08:00] sql.INFO: select `id`, `name`, `std_num`, `remove_custom`, `city_ids`, `status`, `start_time`, `end_time`, `coupon_id` from `kailin_coupon_reward_rule` where (`status` = 0 and `shop_id` = 1) ["RunTime:1.08ms"] []
  387. [2025-04-09T17:32:51.033392+08:00] sql.INFO: select `city_id` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.76ms"] []
  388. [2025-04-09T17:32:51.036240+08:00] sql.INFO: select `id`, `product_id`, `product_units`, `status`, `reward_rule_id` from `kailin_coupon_reward_product` where (`status` = 0 and `reward_rule_id` = 20) ["RunTime:1.83ms"] []
  389. [2025-04-09T17:32:51.037077+08:00] sql.INFO: select `product_id`, `buy_num` from `kailin_orders_product` where (`custom_uid` = 25 and `status` = 1 and `insert_time` >= 1744115066 and `insert_time` <= 1745324668) ["RunTime:0.29ms"] []
  390. [2025-04-09T17:32:55.228004+08:00] sql.INFO: select * from `kailin_orders` where `id` = 80 limit 1 ["RunTime:28.95ms"] []
  391. [2025-04-09T17:33:01.213809+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:21.65ms"] []
  392. [2025-04-09T17:33:01.216909+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.37ms"] []
  393. [2025-04-09T17:33:01.217728+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.35ms"] []
  394. [2025-04-09T17:33:01.220857+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.4ms"] []
  395. [2025-04-09T17:33:01.236058+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:1.54ms"] []
  396. [2025-04-09T17:33:01.237953+08:00] sql.INFO: select `id`, `hide_orderbtn`, `name`, `thumb`, `stock`, `spec`, `poster`, `price`, `shop_id`, `market_price` from `kailin_product` where (`status` = 0) and `kailin_product`.`id` = 70 limit 1 ["RunTime:0.29ms"] []
  397. [2025-04-09T17:33:01.238777+08:00] sql.INFO: select `city_id` from `kailin_product_city` where (`product_id` = 70) ["RunTime:0.24ms"] []
  398. [2025-04-09T17:33:01.239608+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.26ms"] []
  399. [2025-04-09T17:33:01.241873+08:00] sql.INFO: select `id`, `sort`, `thumb` from `kailin_product_photo` where (`product_id` = 70) ["RunTime:0.82ms"] []
  400. [2025-04-09T17:33:01.243117+08:00] sql.INFO: select `id`, `name`, `spec_id`, `product_id`, `thumb`, `remark` from `kailin_product_attr` where (`product_id` = 70) ["RunTime:0.82ms"] []
  401. [2025-04-09T17:33:01.244204+08:00] sql.INFO: select `id`, `attr_ids`, `attr_names`, `min_quota`, `quota`, `sku_thumb`, `price`, `market_price`, `stock`, `status` from `kailin_product_skus` where (`product_id` = 70) ["RunTime:0.72ms"] []
  402. [2025-04-09T17:33:01.245159+08:00] sql.INFO: select * from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191181 and `end_time` >= 1744191181 and `product_id` = 70) limit 1 ["RunTime:0.39ms"] []
  403. [2025-04-09T17:33:01.245920+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.27ms"] []
  404. [2025-04-09T17:33:01.247320+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191181 and `kailin_promo`.`end_time` >= 1744191181 and `kailin_promo_product`.`status` = 0 and `kailin_promo_product`.`product_id` = 70) limit 1 ["RunTime:0.56ms"] []
  405. [2025-04-09T17:33:04.081721+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:2.15ms"] []
  406. [2025-04-09T17:33:04.084427+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.4ms"] []
  407. [2025-04-09T17:33:04.087903+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:1.55ms"] []
  408. [2025-04-09T17:33:04.088629+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.33ms"] []
  409. [2025-04-09T17:33:04.088950+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:13.83ms"] []
  410. [2025-04-09T17:33:04.090932+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191184 and `kailin_promo`.`end_time` >= 1744191184 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.09ms"] []
  411. [2025-04-09T17:33:04.091923+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.64ms"] []
  412. [2025-04-09T17:33:04.092859+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191184 and `end_time` >= 1744191184 and `product_id` = 70) limit 1 ["RunTime:0.56ms"] []
  413. [2025-04-09T17:33:04.093317+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191184 and `end_time` >= 1744191184 and `product_id` = 71) limit 1 ["RunTime:0.14ms"] []
  414. [2025-04-09T17:33:04.094238+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191184 and `end_time` >= 1744191184 and `product_id` = 72) limit 1 ["RunTime:0.43ms"] []
  415. [2025-04-09T17:33:04.094883+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191184 and `end_time` >= 1744191184 and `product_id` = 73) limit 1 ["RunTime:0.23ms"] []
  416. [2025-04-09T17:33:04.096372+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.51ms"] []
  417. [2025-04-09T17:33:05.190653+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.33ms"] []
  418. [2025-04-09T17:33:05.193476+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.37ms"] []
  419. [2025-04-09T17:33:05.194389+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.27ms"] []
  420. [2025-04-09T17:33:05.198534+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.96ms"] []
  421. [2025-04-09T17:33:05.201191+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.55ms"] []
  422. [2025-04-09T17:33:05.206687+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191185 and `kailin_redpacket`.`end_time` >= 1744191185 and `kailin_redpacket`.`status` = 0) ["RunTime:2.46ms"] []
  423. [2025-04-09T17:33:07.621512+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:14.9ms"] []
  424. [2025-04-09T17:33:07.626158+08:00] sql.INFO: select count(*) as aggregate from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) ["RunTime:1.27ms"] []
  425. [2025-04-09T17:33:07.626980+08:00] sql.INFO: select `id`, `pay_total`, `status`, `price_total`, `coupon_total`, `shop_id`, `pay_total`, `weizan_orderid`, `insert_time` from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) order by `id` desc limit 10 offset 0 ["RunTime:0.41ms"] []
  426. [2025-04-09T17:33:07.629078+08:00] sql.INFO: select `id` as `item_id`, `order_id`, `product_id`, `buy_num`, `is_rebate`, `sku_attr_names` as `product_spec`, `product_name`, `product_thumb` from `kailin_orders_product` where `order_id` in (80) ["RunTime:0.98ms"] []
  427. [2025-04-09T17:33:07.630313+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.33ms"] []
  428. [2025-04-09T17:33:11.680189+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:26.6ms"] []
  429. [2025-04-09T17:33:11.683927+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.38ms"] []
  430. [2025-04-09T17:33:11.685632+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191191 and `kailin_redpacket`.`end_time` >= 1744191191 and `kailin_redpacket`.`status` = 0) ["RunTime:1.71ms"] []
  431. [2025-04-09T17:33:11.685979+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:1.47ms"] []
  432. [2025-04-09T17:33:11.692011+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.79ms"] []
  433. [2025-04-09T17:33:12.659495+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:13.24ms"] []
  434. [2025-04-09T17:33:12.662917+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.34ms"] []
  435. [2025-04-09T17:33:12.676472+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:23.97ms"] []
  436. [2025-04-09T17:33:12.680473+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.67ms"] []
  437. [2025-04-09T17:33:12.683927+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:0.7ms"] []
  438. [2025-04-09T17:33:12.685324+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.75ms"] []
  439. [2025-04-09T17:33:12.687443+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191192 and `kailin_promo`.`end_time` >= 1744191192 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:0.48ms"] []
  440. [2025-04-09T17:33:12.688038+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.18ms"] []
  441. [2025-04-09T17:33:12.688972+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191192 and `end_time` >= 1744191192 and `product_id` = 70) limit 1 ["RunTime:0.43ms"] []
  442. [2025-04-09T17:33:12.690206+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191192 and `end_time` >= 1744191192 and `product_id` = 71) limit 1 ["RunTime:0.52ms"] []
  443. [2025-04-09T17:33:12.691259+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191192 and `end_time` >= 1744191192 and `product_id` = 72) limit 1 ["RunTime:0.44ms"] []
  444. [2025-04-09T17:33:12.692129+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191192 and `end_time` >= 1744191192 and `product_id` = 73) limit 1 ["RunTime:0.32ms"] []
  445. [2025-04-09T17:33:15.986588+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:23.22ms"] []
  446. [2025-04-09T17:33:15.989617+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.31ms"] []
  447. [2025-04-09T17:33:15.989659+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191195 and `kailin_redpacket`.`end_time` >= 1744191195 and `kailin_redpacket`.`status` = 0) ["RunTime:0.3ms"] []
  448. [2025-04-09T17:33:15.990326+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.19ms"] []
  449. [2025-04-09T17:33:15.992892+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.2ms"] []
  450. [2025-04-09T17:33:19.581663+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:24.56ms"] []
  451. [2025-04-09T17:33:19.584934+08:00] sql.INFO: select count(*) as aggregate from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) ["RunTime:0.78ms"] []
  452. [2025-04-09T17:33:19.585551+08:00] sql.INFO: select `id`, `pay_total`, `status`, `price_total`, `coupon_total`, `shop_id`, `pay_total`, `weizan_orderid`, `insert_time` from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) order by `id` desc limit 10 offset 0 ["RunTime:0.26ms"] []
  453. [2025-04-09T17:33:19.587008+08:00] sql.INFO: select `id` as `item_id`, `order_id`, `product_id`, `buy_num`, `is_rebate`, `sku_attr_names` as `product_spec`, `product_name`, `product_thumb` from `kailin_orders_product` where `order_id` in (80) ["RunTime:0.71ms"] []
  454. [2025-04-09T17:33:19.587722+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.21ms"] []
  455. [2025-04-09T17:33:21.390090+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:11.5ms"] []
  456. [2025-04-09T17:33:21.394489+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.53ms"] []
  457. [2025-04-09T17:33:21.396012+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.59ms"] []
  458. [2025-04-09T17:33:21.398902+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.3ms"] []
  459. [2025-04-09T17:33:21.399337+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.31ms"] []
  460. [2025-04-09T17:33:21.404802+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191201 and `kailin_redpacket`.`end_time` >= 1744191201 and `kailin_redpacket`.`status` = 0) ["RunTime:0.39ms"] []
  461. [2025-04-09T17:33:24.700582+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:26.1ms"] []
  462. [2025-04-09T17:33:24.703658+08:00] sql.INFO: select count(*) as aggregate from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) ["RunTime:0.71ms"] []
  463. [2025-04-09T17:33:24.704402+08:00] sql.INFO: select `id`, `pay_total`, `status`, `price_total`, `coupon_total`, `shop_id`, `pay_total`, `weizan_orderid`, `insert_time` from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) order by `id` desc limit 10 offset 0 ["RunTime:0.37ms"] []
  464. [2025-04-09T17:33:24.706106+08:00] sql.INFO: select `id` as `item_id`, `order_id`, `product_id`, `buy_num`, `is_rebate`, `sku_attr_names` as `product_spec`, `product_name`, `product_thumb` from `kailin_orders_product` where `order_id` in (80) ["RunTime:0.8ms"] []
  465. [2025-04-09T17:33:24.707036+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.36ms"] []
  466. [2025-04-09T17:33:35.759563+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.73ms"] []
  467. [2025-04-09T17:33:35.759584+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.81ms"] []
  468. [2025-04-09T17:33:35.764475+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.84ms"] []
  469. [2025-04-09T17:33:35.766030+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.74ms"] []
  470. [2025-04-09T17:33:35.766155+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191215 and `kailin_redpacket`.`end_time` >= 1744191215 and `kailin_redpacket`.`status` = 0) ["RunTime:1.77ms"] []
  471. [2025-04-09T17:33:35.770180+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:1.15ms"] []
  472. [2025-04-09T17:33:37.503770+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.61ms"] []
  473. [2025-04-09T17:33:37.507137+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.39ms"] []
  474. [2025-04-09T17:33:37.523801+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:15.87ms"] []
  475. [2025-04-09T17:33:37.526221+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.38ms"] []
  476. [2025-04-09T17:33:37.528565+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:0.6ms"] []
  477. [2025-04-09T17:33:37.529400+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.38ms"] []
  478. [2025-04-09T17:33:37.531121+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191217 and `kailin_promo`.`end_time` >= 1744191217 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:0.33ms"] []
  479. [2025-04-09T17:33:37.531661+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.19ms"] []
  480. [2025-04-09T17:33:37.532285+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191217 and `end_time` >= 1744191217 and `product_id` = 70) limit 1 ["RunTime:0.21ms"] []
  481. [2025-04-09T17:33:37.532759+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191217 and `end_time` >= 1744191217 and `product_id` = 71) limit 1 ["RunTime:0.13ms"] []
  482. [2025-04-09T17:33:37.533285+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191217 and `end_time` >= 1744191217 and `product_id` = 72) limit 1 ["RunTime:0.18ms"] []
  483. [2025-04-09T17:33:37.533972+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744191217 and `end_time` >= 1744191217 and `product_id` = 73) limit 1 ["RunTime:0.18ms"] []
  484. [2025-04-09T17:33:40.636480+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:25.64ms"] []
  485. [2025-04-09T17:33:40.641883+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.64ms"] []
  486. [2025-04-09T17:33:40.645175+08:00] sql.INFO: select `kailin_shop_cart`.`id`, `kailin_shop_cart`.`checked`, `kailin_shop_cart`.`product_id`, `kailin_shop_cart`.`skuid`, `kailin_shop_cart`.`buy_num`, `kailin_product`.`stock`, `kailin_product`.`shop_id`, `kailin_product`.`spec`, `kailin_product`.`thumb`, `kailin_product`.`name`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`status` as `product_status` from `kailin_shop_cart` inner join `kailin_product` on `kailin_shop_cart`.`product_id` = `kailin_product`.`id` where (`kailin_shop_cart`.`custom_uid` = 25 and `kailin_shop_cart`.`shop_id` = 1 and `kailin_shop_cart`.`company_id` = 1) ["RunTime:1.86ms"] []
  487. [2025-04-09T17:33:40.647455+08:00] sql.INFO: select `id` as `sku_id`, `product_id`, `attr_names` as `sku_attr_names`, `quota`, `min_quota`, `price`, `market_price`, `stock`, `status` from `kailin_product_skus` where 0 = 1 and (`status` = 0) ["RunTime:1.44ms"] []
  488. [2025-04-09T17:33:40.649453+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744191220 and `kailin_promo`.`end_time` >= 1744191220 and `kailin_promo_product`.`status` = 0) and 0 = 1 ["RunTime:0.92ms"] []
  489. [2025-04-09T17:33:41.127971+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.87ms"] []
  490. [2025-04-09T17:33:41.128141+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.84ms"] []
  491. [2025-04-09T17:33:41.130914+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.28ms"] []
  492. [2025-04-09T17:33:41.130962+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744191221 and `kailin_redpacket`.`end_time` >= 1744191221 and `kailin_redpacket`.`status` = 0) ["RunTime:0.35ms"] []
  493. [2025-04-09T17:33:41.132000+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.63ms"] []
  494. [2025-04-09T17:33:41.135062+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.63ms"] []
  495. [2025-04-09T17:33:42.758881+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:26.11ms"] []
  496. [2025-04-09T17:33:42.762258+08:00] sql.INFO: select count(*) as aggregate from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) ["RunTime:0.81ms"] []
  497. [2025-04-09T17:33:42.762828+08:00] sql.INFO: select `id`, `pay_total`, `status`, `price_total`, `coupon_total`, `shop_id`, `pay_total`, `weizan_orderid`, `insert_time` from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) order by `id` desc limit 10 offset 0 ["RunTime:0.26ms"] []
  498. [2025-04-09T17:33:42.764248+08:00] sql.INFO: select `id` as `item_id`, `order_id`, `product_id`, `buy_num`, `is_rebate`, `sku_attr_names` as `product_spec`, `product_name`, `product_thumb` from `kailin_orders_product` where `order_id` in (80) ["RunTime:0.69ms"] []
  499. [2025-04-09T17:33:42.764921+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.23ms"] []
  500. [2025-04-09T17:35:40.870795+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.34ms"] []
  501. [2025-04-09T17:35:40.873851+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.29ms"] []
  502. [2025-04-09T17:35:40.874512+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.2ms"] []
  503. [2025-04-09T17:35:40.879222+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.51ms"] []
  504. [2025-04-09T17:35:41.194086+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:23.1ms"] []
  505. [2025-04-09T17:35:41.202412+08:00] sql.INFO: select count(*) as aggregate from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) ["RunTime:2.18ms"] []
  506. [2025-04-09T17:35:41.204087+08:00] sql.INFO: select `id`, `pay_total`, `status`, `price_total`, `coupon_total`, `shop_id`, `pay_total`, `weizan_orderid`, `insert_time` from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) order by `id` desc limit 10 offset 0 ["RunTime:0.75ms"] []
  507. [2025-04-09T17:35:41.207035+08:00] sql.INFO: select `id` as `item_id`, `order_id`, `product_id`, `buy_num`, `is_rebate`, `sku_attr_names` as `product_spec`, `product_name`, `product_thumb` from `kailin_orders_product` where `order_id` in (80) ["RunTime:0.89ms"] []
  508. [2025-04-09T17:35:41.208094+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.41ms"] []
  509. [2025-04-09T17:37:10.700049+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.83ms"] []
  510. [2025-04-09T17:37:10.705203+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.57ms"] []
  511. [2025-04-09T17:37:10.706676+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.4ms"] []
  512. [2025-04-09T17:37:10.713121+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.42ms"] []
  513. [2025-04-09T17:37:14.092293+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:18.63ms"] []
  514. [2025-04-09T17:37:14.099106+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.84ms"] []
  515. [2025-04-09T17:37:14.100590+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.41ms"] []
  516. [2025-04-09T17:37:14.106113+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.32ms"] []
  517. [2025-04-09T17:37:14.403214+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:25.77ms"] []
  518. [2025-04-09T17:37:14.406062+08:00] sql.INFO: select count(*) as aggregate from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) ["RunTime:0.32ms"] []
  519. [2025-04-09T17:37:14.406639+08:00] sql.INFO: select `id`, `pay_total`, `status`, `price_total`, `coupon_total`, `shop_id`, `pay_total`, `weizan_orderid`, `insert_time` from `kailin_orders` where (`custom_uid` = 25 and `shop_id` = 1) order by `id` desc limit 10 offset 0 ["RunTime:0.27ms"] []
  520. [2025-04-09T17:37:14.408012+08:00] sql.INFO: select `id` as `item_id`, `order_id`, `product_id`, `buy_num`, `is_rebate`, `sku_attr_names` as `product_spec`, `product_name`, `product_thumb` from `kailin_orders_product` where `order_id` in (80) ["RunTime:0.3ms"] []
  521. [2025-04-09T17:37:14.408920+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.29ms"] []
  522. [2025-04-09T17:56:24.042635+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.75ms"] []
  523. [2025-04-09T17:56:24.046771+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.48ms"] []
  524. [2025-04-09T17:56:24.047713+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.31ms"] []
  525. [2025-04-09T17:56:24.052101+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.48ms"] []
  526. [2025-04-09T17:56:24.839796+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.55ms"] []
  527. [2025-04-09T17:56:24.843291+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.5ms"] []
  528. [2025-04-09T17:56:24.850298+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:2.36ms"] []
  529. [2025-04-09T17:56:24.853067+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.34ms"] []
  530. [2025-04-09T17:56:24.855895+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id`) as `aggregate_table` ["RunTime:0.72ms"] []
  531. [2025-04-09T17:56:24.856769+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1, 1302) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.41ms"] []
  532. [2025-04-09T17:56:24.858507+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744192584 and `kailin_promo`.`end_time` >= 1744192584 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:0.39ms"] []
  533. [2025-04-09T17:56:24.859174+08:00] sql.INFO: select `id`, `name`, `group`, `weiban_extid`, `staff_id` from `kailin_weiban_tags` where (`weiban_extid` = ) ["RunTime:0.26ms"] []
  534. [2025-04-09T17:56:24.859985+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744192584 and `end_time` >= 1744192584 and `product_id` = 70) limit 1 ["RunTime:0.27ms"] []
  535. [2025-04-09T17:56:24.860941+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744192584 and `end_time` >= 1744192584 and `product_id` = 71) limit 1 ["RunTime:0.46ms"] []
  536. [2025-04-09T17:56:24.862127+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744192584 and `end_time` >= 1744192584 and `product_id` = 72) limit 1 ["RunTime:0.57ms"] []
  537. [2025-04-09T17:56:24.862872+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744192584 and `end_time` >= 1744192584 and `product_id` = 73) limit 1 ["RunTime:0.22ms"] []
  538. [2025-04-09T17:56:28.231628+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.9ms"] []
  539. [2025-04-09T17:56:28.235946+08:00] sql.INFO: select count(*) as aggregate from `kailin_score_product` where (`status` = 0 and `shop_id` = 1) ["RunTime:1.1ms"] []
  540. [2025-04-09T17:56:28.236822+08:00] sql.INFO: select `id`, `name`, `thumb`, `spec`, `score` from `kailin_score_product` where (`status` = 0 and `shop_id` = 1) limit 10 offset 0 ["RunTime:0.26ms"] []
  541. [2025-04-09T17:56:30.683522+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:18.59ms"] []
  542. [2025-04-09T17:56:30.690044+08:00] sql.INFO: select count(*) as aggregate from `kailin_custom_redpacket` inner join `kailin_redpacket` on `kailin_redpacket`.`id` = `kailin_custom_redpacket`.`redpacket_id` where (`kailin_custom_redpacket`.`custom_uid` = 25 and `kailin_custom_redpacket`.`shop_id` = 1 and `kailin_custom_redpacket`.`company_id` = 1 and `kailin_redpacket`.`start_time` <= 1744192590 and `kailin_redpacket`.`end_time` >= 1744192590 and `kailin_redpacket`.`status` = 0) ["RunTime:1.97ms"] []
  543. [2025-04-09T17:56:30.694251+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.88ms"] []
  544. [2025-04-09T17:56:30.699415+08:00] sql.INFO: select `uid`, `is_manager`, `external_userid`, `weiban_extid`, `phone`, `userpic`, `username`, `sex`, `city_id`, `status`, `insert_time` from `kailin_custom` where (`uid` = 25) limit 1 ["RunTime:0.78ms"] []
  545. [2025-04-09T17:56:30.700969+08:00] sql.INFO: select `weiban_extid` from `kailin_weiban_follow` where (`phone_number` = 18819035894) limit 1 ["RunTime:0.34ms"] []
  546. [2025-04-09T17:56:30.704459+08:00] sql.INFO: select `amount`, `transfer_amount` from `kailin_custom_amount` where (`custom_uid` = 25 and `shop_id` = 1) limit 1 ["RunTime:0.33ms"] []
  547. [2025-04-09T17:58:31.369302+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:13.9ms"] []
  548. [2025-04-09T17:58:31.369394+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:18.51ms"] []
  549. [2025-04-09T17:58:31.373649+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1) group by `product_id`) as `aggregate_table` ["RunTime:1.04ms"] []
  550. [2025-04-09T17:58:31.374387+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.39ms"] []
  551. [2025-04-09T17:58:31.375828+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744192711 and `kailin_promo`.`end_time` >= 1744192711 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:0.29ms"] []
  552. [2025-04-09T17:58:31.376493+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744192711 and `end_time` >= 1744192711 and `product_id` = 70) limit 1 ["RunTime:0.25ms"] []
  553. [2025-04-09T17:58:31.377171+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744192711 and `end_time` >= 1744192711 and `product_id` = 71) limit 1 ["RunTime:0.26ms"] []
  554. [2025-04-09T17:58:31.377837+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744192711 and `end_time` >= 1744192711 and `product_id` = 72) limit 1 ["RunTime:0.29ms"] []
  555. [2025-04-09T17:58:31.379129+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744192711 and `end_time` >= 1744192711 and `product_id` = 73) limit 1 ["RunTime:0.77ms"] []
  556. [2025-04-09T18:03:37.834817+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:23.99ms"] []
  557. [2025-04-09T18:03:37.852507+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:25.9ms"] []
  558. [2025-04-09T18:03:37.857865+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1) group by `product_id`) as `aggregate_table` ["RunTime:1.68ms"] []
  559. [2025-04-09T18:03:37.858781+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.44ms"] []
  560. [2025-04-09T18:03:37.862835+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744193017 and `kailin_promo`.`end_time` >= 1744193017 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:1.74ms"] []
  561. [2025-04-09T18:03:37.864963+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744193017 and `end_time` >= 1744193017 and `product_id` = 70) limit 1 ["RunTime:1.13ms"] []
  562. [2025-04-09T18:03:37.865814+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744193017 and `end_time` >= 1744193017 and `product_id` = 71) limit 1 ["RunTime:0.34ms"] []
  563. [2025-04-09T18:03:37.866431+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744193017 and `end_time` >= 1744193017 and `product_id` = 72) limit 1 ["RunTime:0.2ms"] []
  564. [2025-04-09T18:03:37.867018+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744193017 and `end_time` >= 1744193017 and `product_id` = 73) limit 1 ["RunTime:0.22ms"] []
  565. [2025-04-09T18:03:40.411104+08:00] sql.INFO: select `id`, `hide_orderbtn`, `name`, `thumb`, `stock`, `spec`, `poster`, `price`, `shop_id`, `market_price` from `kailin_product` where (`status` = 0) and `kailin_product`.`id` = 71 limit 1 ["RunTime:2ms"] []
  566. [2025-04-09T18:03:40.414362+08:00] sql.INFO: select `city_id` from `kailin_product_city` where (`product_id` = 71) ["RunTime:1.13ms"] []
  567. [2025-04-09T18:03:40.416271+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:0.5ms"] []
  568. [2025-04-09T18:03:40.418950+08:00] sql.INFO: select `id`, `sort`, `thumb` from `kailin_product_photo` where (`product_id` = 71) ["RunTime:0.81ms"] []
  569. [2025-04-09T18:03:40.420007+08:00] sql.INFO: select `id`, `name`, `spec_id`, `product_id`, `thumb`, `remark` from `kailin_product_attr` where (`product_id` = 71) ["RunTime:0.69ms"] []
  570. [2025-04-09T18:03:40.421055+08:00] sql.INFO: select `id`, `attr_ids`, `attr_names`, `min_quota`, `quota`, `sku_thumb`, `price`, `market_price`, `stock`, `status` from `kailin_product_skus` where (`product_id` = 71) ["RunTime:0.71ms"] []
  571. [2025-04-09T18:03:40.422307+08:00] sql.INFO: select * from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744193020 and `end_time` >= 1744193020 and `product_id` = 71) limit 1 ["RunTime:0.81ms"] []
  572. [2025-04-09T18:03:40.424148+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744193020 and `kailin_promo`.`end_time` >= 1744193020 and `kailin_promo_product`.`status` = 0 and `kailin_promo_product`.`product_id` = 71) limit 1 ["RunTime:1.19ms"] []
  573. [2025-04-09T18:03:44.824415+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:1.91ms"] []
  574. [2025-04-09T18:03:44.830557+08:00] sql.INFO: select * from `kailin_shop` where (`status` = 0) ["RunTime:2.68ms"] []
  575. [2025-04-09T18:03:44.838570+08:00] sql.INFO: select count(*) as aggregate from (select `kailin_product`.* from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1) group by `product_id`) as `aggregate_table` ["RunTime:0.76ms"] []
  576. [2025-04-09T18:03:44.839438+08:00] sql.INFO: select `kailin_product`.`id`, `kailin_product`.`sort`, `kailin_product`.`name`, `kailin_product`.`tag_scope`, `kailin_product`.`tag_exclude`, `kailin_product`.`thumb`, `kailin_product`.`spec`, `kailin_product`.`price`, `kailin_product`.`market_price`, `kailin_product`.`stock` from `kailin_product` inner join `kailin_product_city` on `kailin_product_city`.`product_id` = `kailin_product`.`id` where (`status` = 0 and `stock` > 0 and `shop_id` = 1) and `kailin_product_city`.`city_id` in (1) group by `product_id` order by `kailin_product`.`sort` asc, `kailin_product`.`id` asc limit 10 offset 0 ["RunTime:0.39ms"] []
  577. [2025-04-09T18:03:44.841221+08:00] sql.INFO: select `kailin_promo`.*, `kailin_promo_product`.`product_id`, `kailin_promo_product`.`id` as `promo_product_id` from `kailin_promo_product` inner join `kailin_promo` on `kailin_promo`.`id` = `kailin_promo_product`.`promo_id` where (`kailin_promo`.`status` = 0 and `kailin_promo`.`start_time` <= 1744193024 and `kailin_promo`.`end_time` >= 1744193024 and `kailin_promo_product`.`status` = 0) and `kailin_promo_product`.`product_id` in (70, 71, 72, 73, 56) ["RunTime:0.42ms"] []
  578. [2025-04-09T18:03:44.841951+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744193024 and `end_time` >= 1744193024 and `product_id` = 70) limit 1 ["RunTime:0.22ms"] []
  579. [2025-04-09T18:03:44.842728+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744193024 and `end_time` >= 1744193024 and `product_id` = 71) limit 1 ["RunTime:0.39ms"] []
  580. [2025-04-09T18:03:44.843740+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744193024 and `end_time` >= 1744193024 and `product_id` = 72) limit 1 ["RunTime:0.5ms"] []
  581. [2025-04-09T18:03:44.844768+08:00] sql.INFO: select `id` as `active_id`, `number`, `automatic` from `kailin_regiment_active` where (`status` = 1 and `start_time` <= 1744193024 and `end_time` >= 1744193024 and `product_id` = 73) limit 1 ["RunTime:0.44ms"] []