diff --git a/aiimage-backend.log b/aiimage-backend.log new file mode 100644 index 0000000..6a5851f --- /dev/null +++ b/aiimage-backend.log @@ -0,0 +1,684 @@ +2026-04-07 14:21:02.936 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=f1c065686dc7, companyId=17576855363001, userId=17749440104811, size=84 +2026-04-07 14:21:02.937 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17576855363001, userId=17749440104811, duplicatedUserId=17576855369459 +2026-04-07 14:21:02.937 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=f1c065686dc7, companyId=17576855363001, userId=17742369326895 +2026-04-07 14:21:03.274 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=f1c065686dc7, companyId=17576855363001, userId=17742369326895 +2026-04-07 14:21:03.274 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=f1c065686dc7, companyId=17576855363001, userId=17604116929286 +2026-04-07 14:21:03.651 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=f1c065686dc7, companyId=17576855363001, userId=17604116929286 +2026-04-07 14:21:03.651 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=f1c065686dc7, companyId=17576855363001, userId=17742368634505 +2026-04-07 14:21:03.994 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=f1c065686dc7, companyId=17576855363001, userId=17742368634505 +2026-04-07 14:21:03.995 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=f1c065686dc7, companyId=17576855363001, userId=17742367863520 +2026-04-07 14:21:04.344 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=f1c065686dc7, companyId=17576855363001, userId=17742367863520 +2026-04-07 14:21:04.344 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=f1c065686dc7, companyId=17576855363001, userId=17641220009305 +2026-04-07 14:21:04.811 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=f1c065686dc7, companyId=17576855363001, userId=17641220009305, size=84 +2026-04-07 14:21:04.811 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17576855363001, userId=17641220009305, duplicatedUserId=17576855369459 +2026-04-07 14:21:04.811 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-company] hit cache, keyHash=110fb12c6d12, companyId=17631270139209 +2026-04-07 14:21:04.811 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-staff] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209 +2026-04-07 14:21:05.128 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-staff] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, size=66 +2026-04-07 14:21:05.128 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17638601145170 +2026-04-07 14:21:05.347 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17631270139209, userId=17638601145170, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:05.347 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17643136719112 +2026-04-07 14:21:05.629 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17631270139209, userId=17643136719112, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:05.629 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17631270146269 +2026-04-07 14:21:06.057 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17631270146269, size=92 +2026-04-07 14:21:06.059 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17751211279563 +2026-04-07 14:21:06.461 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17751211279563, size=92 +2026-04-07 14:21:06.461 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17751211279563, duplicatedUserId=17631270146269 +2026-04-07 14:21:06.461 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17637915273745 +2026-04-07 14:21:06.904 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17637915273745, size=89 +2026-04-07 14:21:06.905 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17671617358510 +2026-04-07 14:21:07.352 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17671617358510, size=77 +2026-04-07 14:21:07.353 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17743160904143 +2026-04-07 14:21:07.796 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17743160904143, size=91 +2026-04-07 14:21:07.797 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17640472261037 +2026-04-07 14:21:08.248 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17640472261037, size=84 +2026-04-07 14:21:08.249 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17733643806298 +2026-04-07 14:21:08.700 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17733643806298, size=87 +2026-04-07 14:21:08.702 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17707899472022 +2026-04-07 14:21:09.055 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=110fb12c6d12, companyId=17631270139209, userId=17707899472022 +2026-04-07 14:21:09.055 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17638832444361 +2026-04-07 14:21:09.443 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17638832444361, size=85 +2026-04-07 14:21:09.444 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17671649323778 +2026-04-07 14:21:09.783 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=110fb12c6d12, companyId=17631270139209, userId=17671649323778 +2026-04-07 14:21:09.784 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17668205294298 +2026-04-07 14:21:10.211 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17668205294298, size=70 +2026-04-07 14:21:10.214 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17707898513300 +2026-04-07 14:21:10.597 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=110fb12c6d12, companyId=17631270139209, userId=17707898513300 +2026-04-07 14:21:10.597 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17748671678141 +2026-04-07 14:21:10.940 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=110fb12c6d12, companyId=17631270139209, userId=17748671678141 +2026-04-07 14:21:10.940 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752259231510 +2026-04-07 14:21:11.423 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752259231510, size=92 +2026-04-07 14:21:11.423 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752259231510, duplicatedUserId=17631270146269 +2026-04-07 14:21:11.423 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752264809639 +2026-04-07 14:21:11.870 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752264809639, size=92 +2026-04-07 14:21:11.870 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752264809639, duplicatedUserId=17631270146269 +2026-04-07 14:21:11.870 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752265089197 +2026-04-07 14:21:12.270 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752265089197, size=92 +2026-04-07 14:21:12.270 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752265089197, duplicatedUserId=17631270146269 +2026-04-07 14:21:12.270 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752265344991 +2026-04-07 14:21:12.653 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752265344991, size=92 +2026-04-07 14:21:12.653 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752265344991, duplicatedUserId=17631270146269 +2026-04-07 14:21:12.653 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752265634392 +2026-04-07 14:21:13.036 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752265634392, size=92 +2026-04-07 14:21:13.036 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752265634392, duplicatedUserId=17631270146269 +2026-04-07 14:21:13.036 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752265883690 +2026-04-07 14:21:13.519 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752265883690, size=92 +2026-04-07 14:21:13.519 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752265883690, duplicatedUserId=17631270146269 +2026-04-07 14:21:13.519 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752266141313 +2026-04-07 14:21:13.958 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752266141313, size=92 +2026-04-07 14:21:13.958 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752266141313, duplicatedUserId=17631270146269 +2026-04-07 14:21:13.958 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752266396626 +2026-04-07 14:21:14.399 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752266396626, size=92 +2026-04-07 14:21:14.399 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752266396626, duplicatedUserId=17631270146269 +2026-04-07 14:21:14.399 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752266656037 +2026-04-07 14:21:14.835 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752266656037, size=92 +2026-04-07 14:21:14.835 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752266656037, duplicatedUserId=17631270146269 +2026-04-07 14:21:14.835 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752266947122 +2026-04-07 14:21:15.288 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752266947122, size=92 +2026-04-07 14:21:15.288 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752266947122, duplicatedUserId=17631270146269 +2026-04-07 14:21:15.289 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752260847912 +2026-04-07 14:21:15.749 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752260847912, size=92 +2026-04-07 14:21:15.749 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752260847912, duplicatedUserId=17631270146269 +2026-04-07 14:21:15.749 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752261097755 +2026-04-07 14:21:16.197 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752261097755, size=92 +2026-04-07 14:21:16.197 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752261097755, duplicatedUserId=17631270146269 +2026-04-07 14:21:16.197 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752261375539 +2026-04-07 14:21:16.630 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752261375539, size=92 +2026-04-07 14:21:16.630 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752261375539, duplicatedUserId=17631270146269 +2026-04-07 14:21:16.630 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752263261924 +2026-04-07 14:21:17.062 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752263261924, size=92 +2026-04-07 14:21:17.062 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752263261924, duplicatedUserId=17631270146269 +2026-04-07 14:21:17.062 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752263525847 +2026-04-07 14:21:17.498 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752263525847, size=92 +2026-04-07 14:21:17.498 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752263525847, duplicatedUserId=17631270146269 +2026-04-07 14:21:17.498 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752263794546 +2026-04-07 14:21:17.940 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752263794546, size=92 +2026-04-07 14:21:17.940 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752263794546, duplicatedUserId=17631270146269 +2026-04-07 14:21:17.940 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752264065462 +2026-04-07 14:21:18.342 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752264065462, size=92 +2026-04-07 14:21:18.342 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752264065462, duplicatedUserId=17631270146269 +2026-04-07 14:21:18.342 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752264417494 +2026-04-07 14:21:18.814 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17752264417494, size=92 +2026-04-07 14:21:18.814 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17752264417494, duplicatedUserId=17631270146269 +2026-04-07 14:21:18.814 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17634379336139 +2026-04-07 14:21:19.205 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17634379336139, size=85 +2026-04-07 14:21:19.207 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17707900731011 +2026-04-07 14:21:19.621 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17707900731011, size=91 +2026-04-07 14:21:19.621 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17707900731011, duplicatedUserId=17743160904143 +2026-04-07 14:21:19.621 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17651571118835 +2026-04-07 14:21:20.001 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17651571118835, size=84 +2026-04-07 14:21:20.001 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17651571118835, duplicatedUserId=17640472261037 +2026-04-07 14:21:20.001 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17754641894560 +2026-04-07 14:21:20.465 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17754641894560, size=92 +2026-04-07 14:21:20.466 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17754641894560, duplicatedUserId=17631270146269 +2026-04-07 14:21:20.466 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17637912555829 +2026-04-07 14:21:20.859 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17637912555829, size=22 +2026-04-07 14:21:20.860 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641472979646 +2026-04-07 14:21:21.310 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641472979646, size=87 +2026-04-07 14:21:21.310 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641472979646, duplicatedUserId=17733643806298 +2026-04-07 14:21:21.310 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641473645518 +2026-04-07 14:21:21.677 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641473645518, size=87 +2026-04-07 14:21:21.677 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641473645518, duplicatedUserId=17733643806298 +2026-04-07 14:21:21.677 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641474309546 +2026-04-07 14:21:22.077 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641474309546, size=87 +2026-04-07 14:21:22.077 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641474309546, duplicatedUserId=17733643806298 +2026-04-07 14:21:22.077 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641474578041 +2026-04-07 14:21:22.559 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641474578041, size=87 +2026-04-07 14:21:22.559 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641474578041, duplicatedUserId=17733643806298 +2026-04-07 14:21:22.559 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641475861297 +2026-04-07 14:21:23.046 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641475861297, size=88 +2026-04-07 14:21:23.048 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641476363975 +2026-04-07 14:21:23.498 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641476363975, size=87 +2026-04-07 14:21:23.498 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641476363975, duplicatedUserId=17733643806298 +2026-04-07 14:21:23.498 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641476681314 +2026-04-07 14:21:23.933 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641476681314, size=88 +2026-04-07 14:21:23.935 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641476995798 +2026-04-07 14:21:24.397 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641476995798, size=87 +2026-04-07 14:21:24.397 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641476995798, duplicatedUserId=17733643806298 +2026-04-07 14:21:24.397 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641477282569 +2026-04-07 14:21:24.821 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641477282569, size=88 +2026-04-07 14:21:24.823 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641477556924 +2026-04-07 14:21:25.244 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641477556924, size=90 +2026-04-07 14:21:25.246 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17637914654409 +2026-04-07 14:21:25.680 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17637914654409, size=22 +2026-04-07 14:21:25.680 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17637914654409, duplicatedUserId=17637912555829 +2026-04-07 14:21:25.680 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641478948241 +2026-04-07 14:21:26.155 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641478948241, size=89 +2026-04-07 14:21:26.156 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641478948241, duplicatedUserId=17637915273745 +2026-04-07 14:21:26.156 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641460329875 +2026-04-07 14:21:26.504 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641460329875, size=22 +2026-04-07 14:21:26.504 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641460329875, duplicatedUserId=17637912555829 +2026-04-07 14:21:26.504 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641461608145 +2026-04-07 14:21:26.923 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641461608145, size=22 +2026-04-07 14:21:26.923 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641461608145, duplicatedUserId=17637912555829 +2026-04-07 14:21:26.923 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641463418142 +2026-04-07 14:21:27.291 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641463418142, size=22 +2026-04-07 14:21:27.291 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641463418142, duplicatedUserId=17637912555829 +2026-04-07 14:21:27.291 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641464261841 +2026-04-07 14:21:27.606 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641464261841, size=22 +2026-04-07 14:21:27.606 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641464261841, duplicatedUserId=17637912555829 +2026-04-07 14:21:27.606 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641470262645 +2026-04-07 14:21:28.049 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641470262645, size=87 +2026-04-07 14:21:28.049 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641470262645, duplicatedUserId=17733643806298 +2026-04-07 14:21:28.049 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641472202700 +2026-04-07 14:21:28.507 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641472202700, size=87 +2026-04-07 14:21:28.507 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641472202700, duplicatedUserId=17733643806298 +2026-04-07 14:21:28.507 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641472684788 +2026-04-07 14:21:29.050 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641472684788, size=87 +2026-04-07 14:21:29.050 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17641472684788, duplicatedUserId=17733643806298 +2026-04-07 14:21:29.050 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17743160171346 +2026-04-07 14:21:29.510 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17743160171346, size=91 +2026-04-07 14:21:29.510 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17743160171346, duplicatedUserId=17743160904143 +2026-04-07 14:21:29.510 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641212211195 +2026-04-07 14:21:29.990 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17641212211195, size=85 +2026-04-07 14:21:29.992 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17707899927900 +2026-04-07 14:21:30.498 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17707899927900, size=91 +2026-04-07 14:21:30.498 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17707899927900, duplicatedUserId=17743160904143 +2026-04-07 14:21:30.498 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17650924431800 +2026-04-07 14:21:30.958 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17650924431800, size=77 +2026-04-07 14:21:30.958 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17631270139209, userId=17650924431800, duplicatedUserId=17671617358510 +2026-04-07 14:21:30.958 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17742364295797 +2026-04-07 14:21:31.334 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=110fb12c6d12, companyId=17631270139209, userId=17742364295797 +2026-04-07 14:21:31.334 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17725254643423 +2026-04-07 14:21:31.832 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=110fb12c6d12, companyId=17631270139209, userId=17725254643423, size=85 +2026-04-07 14:21:31.833 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17742365707743 +2026-04-07 14:21:32.181 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=110fb12c6d12, companyId=17631270139209, userId=17742365707743 +2026-04-07 14:21:32.182 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17742365139976 +2026-04-07 14:21:32.594 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=110fb12c6d12, companyId=17631270139209, userId=17742365139976 +2026-04-07 14:21:32.594 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=110fb12c6d12, companyId=17631270139209, userId=17742363136641 +2026-04-07 14:21:32.962 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=110fb12c6d12, companyId=17631270139209, userId=17742363136641 +2026-04-07 14:21:32.963 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-company] hit cache, keyHash=6b365ddb7282, companyId=17620011426697 +2026-04-07 14:21:32.963 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-staff] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697 +2026-04-07 14:21:33.285 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-staff] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, size=29 +2026-04-07 14:21:33.285 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17661276253024 +2026-04-07 14:21:33.508 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17620011426697, userId=17661276253024, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:33.508 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17640557016484 +2026-04-07 14:21:33.746 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17620011426697, userId=17640557016484, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:33.746 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17677081173068 +2026-04-07 14:21:33.970 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17620011426697, userId=17677081173068, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:33.970 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17666514978137 +2026-04-07 14:21:34.255 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17620011426697, userId=17666514978137, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:34.255 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17732777563885 +2026-04-07 14:21:34.467 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17620011426697, userId=17732777563885, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:34.468 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17730206862305 +2026-04-07 14:21:34.681 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17620011426697, userId=17730206862305, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:34.681 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17643173839601 +2026-04-07 14:21:34.900 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17620011426697, userId=17643173839601, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:34.900 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17699988687631 +2026-04-07 14:21:35.142 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17620011426697, userId=17699988687631, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:35.142 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17718558697861 +2026-04-07 14:21:35.405 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17620011426697, userId=17718558697861, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:35.405 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17620011435996 +2026-04-07 14:21:35.698 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17620011435996, size=11 +2026-04-07 14:21:35.698 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639774727505 +2026-04-07 14:21:36.032 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639774727505, size=11 +2026-04-07 14:21:36.032 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17639774727505, duplicatedUserId=17620011435996 +2026-04-07 14:21:36.032 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17729660106470 +2026-04-07 14:21:36.371 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17729660106470, size=11 +2026-04-07 14:21:36.371 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17729660106470, duplicatedUserId=17620011435996 +2026-04-07 14:21:36.371 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17730460291664 +2026-04-07 14:21:36.694 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17730460291664, size=11 +2026-04-07 14:21:36.694 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17730460291664, duplicatedUserId=17620011435996 +2026-04-07 14:21:36.694 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17635465811898 +2026-04-07 14:21:37.050 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] upstream returned empty stores, skip cache, keyHash=6b365ddb7282, companyId=17620011426697, userId=17635465811898 +2026-04-07 14:21:37.050 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17748610992756 +2026-04-07 14:21:37.426 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17748610992756, size=11 +2026-04-07 14:21:37.426 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17748610992756, duplicatedUserId=17620011435996 +2026-04-07 14:21:37.426 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17724161646108 +2026-04-07 14:21:37.772 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17724161646108, size=11 +2026-04-07 14:21:37.772 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17724161646108, duplicatedUserId=17620011435996 +2026-04-07 14:21:37.772 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17752257011808 +2026-04-07 14:21:38.107 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17752257011808, size=11 +2026-04-07 14:21:38.107 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17752257011808, duplicatedUserId=17620011435996 +2026-04-07 14:21:38.107 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639770836314 +2026-04-07 14:21:38.429 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639770836314, size=9 +2026-04-07 14:21:38.430 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639774271474 +2026-04-07 14:21:38.764 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639774271474, size=9 +2026-04-07 14:21:38.765 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17639774271474, duplicatedUserId=17639770836314 +2026-04-07 14:21:38.765 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639771328771 +2026-04-07 14:21:39.123 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639771328771, size=9 +2026-04-07 14:21:39.123 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17639771328771, duplicatedUserId=17639770836314 +2026-04-07 14:21:39.123 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639771647243 +2026-04-07 14:21:39.452 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639771647243, size=9 +2026-04-07 14:21:39.452 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17639771647243, duplicatedUserId=17639770836314 +2026-04-07 14:21:39.452 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639772118514 +2026-04-07 14:21:39.779 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639772118514, size=9 +2026-04-07 14:21:39.779 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17639772118514, duplicatedUserId=17639770836314 +2026-04-07 14:21:39.779 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639772482271 +2026-04-07 14:21:40.116 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639772482271, size=9 +2026-04-07 14:21:40.116 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17639772482271, duplicatedUserId=17639770836314 +2026-04-07 14:21:40.116 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639772877215 +2026-04-07 14:21:40.458 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639772877215, size=9 +2026-04-07 14:21:40.458 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17639772877215, duplicatedUserId=17639770836314 +2026-04-07 14:21:40.458 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639773272476 +2026-04-07 14:21:40.790 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639773272476, size=9 +2026-04-07 14:21:40.790 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17639773272476, duplicatedUserId=17639770836314 +2026-04-07 14:21:40.790 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639773635592 +2026-04-07 14:21:41.156 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639773635592, size=9 +2026-04-07 14:21:41.156 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17639773635592, duplicatedUserId=17639770836314 +2026-04-07 14:21:41.156 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639773959266 +2026-04-07 14:21:41.474 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17639773959266, size=9 +2026-04-07 14:21:41.475 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17639773959266, duplicatedUserId=17639770836314 +2026-04-07 14:21:41.475 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17729566998491 +2026-04-07 14:21:41.948 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17729566998491, size=11 +2026-04-07 14:21:41.948 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17729566998491, duplicatedUserId=17620011435996 +2026-04-07 14:21:41.949 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=6b365ddb7282, companyId=17620011426697, userId=17669217644226 +2026-04-07 14:21:42.270 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=6b365ddb7282, companyId=17620011426697, userId=17669217644226, size=9 +2026-04-07 14:21:42.270 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17620011426697, userId=17669217644226, duplicatedUserId=17639770836314 +2026-04-07 14:21:42.270 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-company] hit cache, keyHash=e4ade5d7ed7e, companyId=17543915349961 +2026-04-07 14:21:42.270 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-staff] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961 +2026-04-07 14:21:42.610 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-staff] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, size=22 +2026-04-07 14:21:42.610 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17719218431526 +2026-04-07 14:21:42.819 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17719218431526, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:42.819 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17633627241792 +2026-04-07 14:21:43.073 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17633627241792, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:43.073 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17549810616820 +2026-04-07 14:21:43.299 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17549810616820, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:43.299 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17550861697817 +2026-04-07 14:21:43.534 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17550861697817, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:43.534 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17572485086466 +2026-04-07 14:21:43.754 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17572485086466, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:43.754 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17620718352236 +2026-04-07 14:21:44.024 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17620718352236, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:44.024 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17573395442422 +2026-04-07 14:21:44.252 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17573395442422, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:44.252 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17543971161848 +2026-04-07 14:21:44.481 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17543971161848, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:44.481 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17676840392758 +2026-04-07 14:21:44.702 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17676840392758, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:44.702 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17543973861944 +2026-04-07 14:21:44.950 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17543973861944, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:44.950 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17613993013398 +2026-04-07 14:21:45.166 [scheduling-1] WARN c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip user stores, companyId=17543915349961, userId=17613993013398, msg=紫鸟接口返回失败(获取员工店铺列表, /superbrowser/rest/v1/erp/user/stores): code=40004, sub_code=400, sub_msg=userId存在无效的参数值, msg=业务处理失败 +2026-04-07 14:21:45.166 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17543915345493 +2026-04-07 14:21:45.489 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17543915345493, size=4 +2026-04-07 14:21:45.489 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17544031101153 +2026-04-07 14:21:45.815 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17544031101153, size=4 +2026-04-07 14:21:45.815 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17543915349961, userId=17544031101153, duplicatedUserId=17543915345493 +2026-04-07 14:21:45.815 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17742550269623 +2026-04-07 14:21:46.148 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17742550269623, size=4 +2026-04-07 14:21:46.148 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17543915349961, userId=17742550269623, duplicatedUserId=17543915345493 +2026-04-07 14:21:46.148 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17724131772085 +2026-04-07 14:21:46.492 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17724131772085, size=3 +2026-04-07 14:21:46.492 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17726756808672 +2026-04-07 14:21:46.886 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17726756808672, size=4 +2026-04-07 14:21:46.886 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17543915349961, userId=17726756808672, duplicatedUserId=17543915345493 +2026-04-07 14:21:46.886 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17749293397799 +2026-04-07 14:21:47.262 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17749293397799, size=4 +2026-04-07 14:21:47.262 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17543915349961, userId=17749293397799, duplicatedUserId=17543915345493 +2026-04-07 14:21:47.262 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17544032051397 +2026-04-07 14:21:47.601 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17544032051397, size=3 +2026-04-07 14:21:47.601 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17574963302571 +2026-04-07 14:21:47.931 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17574963302571, size=4 +2026-04-07 14:21:47.931 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17543915349961, userId=17574963302571, duplicatedUserId=17543915345493 +2026-04-07 14:21:47.931 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17587974364164 +2026-04-07 14:21:48.283 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17587974364164, size=4 +2026-04-07 14:21:48.283 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17543915349961, userId=17587974364164, duplicatedUserId=17543915345493 +2026-04-07 14:21:48.283 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17619638133044 +2026-04-07 14:21:48.683 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17619638133044, size=4 +2026-04-07 14:21:48.684 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17543915349961, userId=17619638133044, duplicatedUserId=17543915345493 +2026-04-07 14:21:48.684 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cache miss, requesting upstream, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17668151088348 +2026-04-07 14:21:49.035 [scheduling-1] INFO c.n.a.m.z.service.ZiniaoAuthService - [ziniao-stores] cached upstream result, keyHash=e4ade5d7ed7e, companyId=17543915349961, userId=17668151088348, size=4 +2026-04-07 14:21:49.035 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] skip duplicated user stores snapshot, companyId=17543915349961, userId=17668151088348, duplicatedUserId=17543915345493 +2026-04-07 14:21:49.055 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614679616894 id=3171 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.043130501 bytes=407 +2026-04-07 14:21:49.084 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614682579183 id=3172 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.071614415 bytes=454 +2026-04-07 14:21:49.111 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614683177346 id=3173 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.099524480 bytes=461 +2026-04-07 14:21:49.139 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614699142692 id=3174 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.127248984 bytes=407 +2026-04-07 14:21:49.167 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614700875984 id=3175 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.155359813 bytes=454 +2026-04-07 14:21:49.195 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614701561864 id=3176 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.183391180 bytes=461 +2026-04-07 14:21:49.223 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614706526165 id=3177 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.211505581 bytes=482 +2026-04-07 14:21:49.253 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614718539326 id=3178 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.239838678 bytes=407 +2026-04-07 14:21:49.282 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614729438872 id=3179 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.269116475 bytes=407 +2026-04-07 14:21:49.310 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614739348613 id=3180 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.297702904 bytes=461 +2026-04-07 14:21:49.338 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614749024356 id=3181 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.325457902 bytes=407 +2026-04-07 14:21:49.366 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614758653760 id=3182 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.353446764 bytes=461 +2026-04-07 14:21:49.394 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614770147946 id=3183 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.381642783 bytes=482 +2026-04-07 14:21:49.423 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614770809763 id=3184 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.410711226 bytes=482 +2026-04-07 14:21:49.452 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27614824905417 id=3185 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.439859990 bytes=482 +2026-04-07 14:21:49.480 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27616445564381 id=3186 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.467791605 bytes=461 +2026-04-07 14:21:49.509 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27617253045396 id=3187 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.497623958 bytes=461 +2026-04-07 14:21:49.538 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27617380342247 id=3188 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.526196493 bytes=482 +2026-04-07 14:21:49.567 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619849807148 id=3189 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.554736106 bytes=407 +2026-04-07 14:21:49.595 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619851882520 id=3190 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.583114304 bytes=454 +2026-04-07 14:21:49.624 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619852622209 id=3191 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.612567767 bytes=461 +2026-04-07 14:21:49.653 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619863529761 id=3192 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.641122329 bytes=407 +2026-04-07 14:21:49.682 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619888862389 id=3193 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.669994026 bytes=413 +2026-04-07 14:21:49.709 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619891045060 id=3194 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.697322735 bytes=454 +2026-04-07 14:21:49.738 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619980342853 id=3195 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.726370105 bytes=482 +2026-04-07 14:21:49.768 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27620698695531 id=3196 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.755731352 bytes=407 +2026-04-07 14:21:49.797 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27620752935036 id=3197 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.784777165 bytes=407 +2026-04-07 14:21:49.826 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27620776352588 id=3198 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.814230877 bytes=405 +2026-04-07 14:21:49.857 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27620815037766 id=3199 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.843371824 bytes=405 +2026-04-07 14:21:49.885 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27620823418961 id=3200 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.873294478 bytes=482 +2026-04-07 14:21:49.914 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27620833448994 id=3201 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.900949337 bytes=407 +2026-04-07 14:21:49.942 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27620845725738 id=3202 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.929662211 bytes=407 +2026-04-07 14:21:49.970 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27621472964710 id=3203 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.957701394 bytes=407 +2026-04-07 14:21:49.998 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27621490299033 id=3204 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:49.985683754 bytes=407 +2026-04-07 14:21:50.025 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27623094196314 id=3205 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.013738558 bytes=482 +2026-04-07 14:21:50.052 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27623095912337 id=3206 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.040656599 bytes=461 +2026-04-07 14:21:50.081 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27623341589851 id=3207 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.069002603 bytes=407 +2026-04-07 14:21:50.108 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27623369182585 id=3208 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.096692014 bytes=461 +2026-04-07 14:21:50.137 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27623447966860 id=3209 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.124617477 bytes=482 +2026-04-07 14:21:50.164 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27624113028478 id=3210 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.152501138 bytes=459 +2026-04-07 14:21:50.194 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27624123015530 id=3211 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.181967230 bytes=482 +2026-04-07 14:21:50.225 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27624130104158 id=3212 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.211845394 bytes=482 +2026-04-07 14:21:50.253 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27624829848374 id=3213 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.240693856 bytes=510 +2026-04-07 14:21:50.281 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27624960177757 id=3214 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.269195276 bytes=510 +2026-04-07 14:21:50.310 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27624987979417 id=3215 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.298292742 bytes=482 +2026-04-07 14:21:50.338 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27624993486016 id=3216 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.326471557 bytes=510 +2026-04-07 14:21:50.366 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27624995907021 id=3217 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.354265045 bytes=510 +2026-04-07 14:21:50.394 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27625038483048 id=3218 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.382430452 bytes=482 +2026-04-07 14:21:50.422 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27626870007332 id=3219 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.410413751 bytes=461 +2026-04-07 14:21:50.451 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27626977418402 id=3220 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.438782470 bytes=482 +2026-04-07 14:21:50.479 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627638103514 id=3221 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.466738189 bytes=493 +2026-04-07 14:21:50.507 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627638997495 id=3222 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.494810611 bytes=493 +2026-04-07 14:21:50.535 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627675501299 id=3223 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.523029845 bytes=482 +2026-04-07 14:21:50.563 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627676491948 id=3224 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.551184349 bytes=461 +2026-04-07 14:21:50.591 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627700165278 id=3225 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.579338387 bytes=482 +2026-04-07 14:21:50.619 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628388143089 id=3226 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.607157418 bytes=510 +2026-04-07 14:21:50.647 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628388412469 id=3227 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.634912149 bytes=510 +2026-04-07 14:21:50.675 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628407473021 id=3228 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.662819778 bytes=493 +2026-04-07 14:21:50.703 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628411985102 id=3229 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.690915860 bytes=493 +2026-04-07 14:21:50.731 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628414425209 id=3230 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.718695953 bytes=493 +2026-04-07 14:21:50.758 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628415989891 id=3231 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.746514578 bytes=493 +2026-04-07 14:21:50.786 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628419865826 id=3232 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.774027263 bytes=461 +2026-04-07 14:21:50.814 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631871929950 id=3233 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.802433863 bytes=510 +2026-04-07 14:21:50.842 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631874074945 id=3234 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.830008435 bytes=510 +2026-04-07 14:21:50.870 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631875028267 id=3235 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.858189459 bytes=510 +2026-04-07 14:21:50.899 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633506601085 id=3236 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.886472052 bytes=493 +2026-04-07 14:21:50.926 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633516691452 id=3237 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.914594492 bytes=493 +2026-04-07 14:21:50.954 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633518172756 id=3238 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.942366181 bytes=493 +2026-04-07 14:21:50.982 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633520545721 id=3239 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.970487247 bytes=493 +2026-04-07 14:21:51.010 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633563496315 id=3240 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:50.998344060 bytes=493 +2026-04-07 14:21:51.038 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633565196447 id=3241 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.026073927 bytes=493 +2026-04-07 14:21:51.066 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633575536301 id=3242 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.054029549 bytes=493 +2026-04-07 14:21:51.094 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633579965292 id=3243 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.082431328 bytes=510 +2026-04-07 14:21:51.122 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27634519904260 id=3244 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.110200558 bytes=482 +2026-04-07 14:21:51.150 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636089315657 id=3245 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.137996234 bytes=510 +2026-04-07 14:21:51.178 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636871881519 id=3246 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.166119728 bytes=510 +2026-04-07 14:21:51.207 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636872674378 id=3247 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.194434940 bytes=510 +2026-04-07 14:21:51.235 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636957992327 id=3248 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.222527724 bytes=510 +2026-04-07 14:21:51.263 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636958467431 id=3249 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.251066335 bytes=510 +2026-04-07 14:21:51.291 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636959027549 id=3250 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.279038601 bytes=510 +2026-04-07 14:21:51.319 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27637938086815 id=3251 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.306918378 bytes=510 +2026-04-07 14:21:51.347 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27638901163104 id=3252 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.335064120 bytes=493 +2026-04-07 14:21:51.375 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27638911448562 id=3253 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.363093287 bytes=493 +2026-04-07 14:21:51.403 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27644089194259 id=3254 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.390999094 bytes=510 +2026-04-07 14:21:51.431 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27650774963494 id=3255 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.418691379 bytes=510 +2026-04-07 14:21:51.462 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27650837152640 id=3256 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.449658628 bytes=510 +2026-04-07 14:21:51.490 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27650861101901 id=3257 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.477543304 bytes=510 +2026-04-07 14:21:51.518 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27650938497457 id=3258 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.505648001 bytes=510 +2026-04-07 14:21:51.546 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27653357202357 id=3259 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.533787217 bytes=510 +2026-04-07 14:21:51.574 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27657763937169 id=3260 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.562025673 bytes=407 +2026-04-07 14:21:51.602 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27676917368069 id=3261 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.590341184 bytes=493 +2026-04-07 14:21:51.630 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27679371023707 id=3262 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.618343414 bytes=407 +2026-04-07 14:21:51.659 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27679371402836 id=3263 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.646857924 bytes=407 +2026-04-07 14:21:51.687 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27684680506972 id=3264 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.674766738 bytes=459 +2026-04-07 14:21:51.714 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27700243846388 id=3265 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.702708681 bytes=482 +2026-04-07 14:21:51.742 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27725274462335 id=3266 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.730280527 bytes=493 +2026-04-07 14:21:51.770 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27753776115321 id=3524 companyNameSample=尾号0753的公司113 expiresAt=2026-04-08T02:21:51.758458577 bytes=510 +2026-04-07 14:21:51.798 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633850819476 id=3267 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:51.786358068 bytes=407 +2026-04-07 14:21:51.826 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27635343297390 id=3268 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:51.813820482 bytes=407 +2026-04-07 14:21:51.854 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27635343966916 id=3269 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:51.842476895 bytes=405 +2026-04-07 14:21:51.882 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27635344497933 id=3270 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:51.870288061 bytes=407 +2026-04-07 14:21:51.910 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27635418381270 id=3271 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:51.898208264 bytes=510 +2026-04-07 14:21:51.938 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27635419413345 id=3272 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:51.925861625 bytes=482 +2026-04-07 14:21:51.966 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27635447662372 id=3273 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:51.954323111 bytes=482 +2026-04-07 14:21:51.994 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636438444737 id=3274 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:51.982226067 bytes=407 +2026-04-07 14:21:52.022 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27637281705548 id=3275 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.010377897 bytes=407 +2026-04-07 14:21:52.050 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27637335342760 id=3276 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.038214180 bytes=407 +2026-04-07 14:21:52.079 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27637790728354 id=3277 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.066957032 bytes=482 +2026-04-07 14:21:52.107 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27639830453258 id=3278 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.094818017 bytes=482 +2026-04-07 14:21:52.135 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27639837353865 id=3279 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.123518369 bytes=482 +2026-04-07 14:21:52.163 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27639853465731 id=3280 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.151104550 bytes=482 +2026-04-07 14:21:52.191 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27640505945145 id=3281 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.179018169 bytes=482 +2026-04-07 14:21:52.219 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27643203281183 id=3282 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.207166371 bytes=407 +2026-04-07 14:21:52.247 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27643204037608 id=3283 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.235214467 bytes=405 +2026-04-07 14:21:52.275 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27648296863940 id=3284 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.263243834 bytes=407 +2026-04-07 14:21:52.303 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27648302882840 id=3285 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.291287238 bytes=407 +2026-04-07 14:21:52.331 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27651814212556 id=3286 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.318854760 bytes=407 +2026-04-07 14:21:52.359 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27658903362392 id=3287 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.347116529 bytes=459 +2026-04-07 14:21:52.387 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27659354092941 id=3288 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.375417796 bytes=459 +2026-04-07 14:21:52.415 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27659632942262 id=3289 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.403535548 bytes=459 +2026-04-07 14:21:52.443 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27660379378534 id=3290 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.430991313 bytes=493 +2026-04-07 14:21:52.471 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27660382378876 id=3291 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.459543014 bytes=510 +2026-04-07 14:21:52.500 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27660408676686 id=3292 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.488047960 bytes=407 +2026-04-07 14:21:52.528 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27660436379471 id=3293 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.516096649 bytes=407 +2026-04-07 14:21:52.556 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27660517655521 id=3294 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.544414655 bytes=407 +2026-04-07 14:21:52.585 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27660536259853 id=3295 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.572481383 bytes=459 +2026-04-07 14:21:52.612 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27660593159754 id=3296 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.600375264 bytes=459 +2026-04-07 14:21:52.640 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27661532839389 id=3297 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.628629117 bytes=407 +2026-04-07 14:21:52.669 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27661956623004 id=3298 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.657226882 bytes=510 +2026-04-07 14:21:52.697 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27661970074108 id=3299 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.684869149 bytes=510 +2026-04-07 14:21:52.727 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27661973799581 id=3300 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.714787696 bytes=510 +2026-04-07 14:21:52.757 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27661976074932 id=3301 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.744742480 bytes=510 +2026-04-07 14:21:52.785 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27662115949244 id=3302 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.773082352 bytes=510 +2026-04-07 14:21:52.814 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27663227841565 id=3303 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.801985219 bytes=459 +2026-04-07 14:21:52.842 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27663233151006 id=3304 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.830138826 bytes=459 +2026-04-07 14:21:52.870 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664109869017 id=3305 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.858113545 bytes=493 +2026-04-07 14:21:52.898 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664113426828 id=3306 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.885974356 bytes=493 +2026-04-07 14:21:52.926 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664115786940 id=3307 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.914088716 bytes=493 +2026-04-07 14:21:52.954 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664118571140 id=3308 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.942366447 bytes=493 +2026-04-07 14:21:52.982 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664127976476 id=3309 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.970479404 bytes=493 +2026-04-07 14:21:53.011 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664132505362 id=3310 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:52.999078224 bytes=493 +2026-04-07 14:21:53.039 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664803031207 id=3311 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.027576127 bytes=510 +2026-04-07 14:21:53.068 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664811318826 id=3312 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.055710352 bytes=510 +2026-04-07 14:21:53.097 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664826016813 id=3313 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.084482696 bytes=510 +2026-04-07 14:21:53.124 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664829118779 id=3314 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.112486578 bytes=510 +2026-04-07 14:21:53.153 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27665584832850 id=3315 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.140448811 bytes=459 +2026-04-07 14:21:53.181 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27665619766160 id=3316 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.168579634 bytes=459 +2026-04-07 14:21:53.209 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27669872274699 id=3317 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.196822627 bytes=493 +2026-04-07 14:21:53.237 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27675995127034 id=3318 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.225042212 bytes=493 +2026-04-07 14:21:53.268 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27676000631270 id=3319 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.255054702 bytes=493 +2026-04-07 14:21:53.296 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27676043026450 id=3320 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.283812442 bytes=482 +2026-04-07 14:21:53.325 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27677653452061 id=3321 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.313421958 bytes=407 +2026-04-07 14:21:53.353 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27685347202872 id=3322 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.340968950 bytes=493 +2026-04-07 14:21:53.382 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27685404421899 id=3323 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.369663888 bytes=459 +2026-04-07 14:21:53.410 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27709811945656 id=3324 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.397593014 bytes=510 +2026-04-07 14:21:53.438 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27709814466192 id=3325 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.425852206 bytes=510 +2026-04-07 14:21:53.466 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27725271914514 id=3326 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.453981196 bytes=493 +2026-04-07 14:21:53.494 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27738283094493 id=3327 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.482219419 bytes=459 +2026-04-07 14:21:53.522 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27738284686785 id=3328 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.510190085 bytes=459 +2026-04-07 14:21:53.550 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27738337365392 id=3329 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.538565147 bytes=459 +2026-04-07 14:21:53.578 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27738340329516 id=3330 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.566451594 bytes=459 +2026-04-07 14:21:53.607 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27738341297007 id=3331 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.594440489 bytes=459 +2026-04-07 14:21:53.636 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27739832965392 id=3332 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.623568332 bytes=510 +2026-04-07 14:21:53.665 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27740561955070 id=3333 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.651687940 bytes=493 +2026-04-07 14:21:53.693 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27740830433267 id=3334 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.681089992 bytes=493 +2026-04-07 14:21:53.721 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27742544414098 id=3335 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.709386530 bytes=493 +2026-04-07 14:21:53.749 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27747756092505 id=3336 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.737372717 bytes=493 +2026-04-07 14:21:53.778 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27753888003435 id=3525 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.765506158 bytes=510 +2026-04-07 14:21:53.806 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27753905558016 id=3526 companyNameSample=尾号8880的公司206 expiresAt=2026-04-08T02:21:53.794093737 bytes=510 +2026-04-07 14:21:53.834 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27580078286917 id=3337 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:53.821593567 bytes=407 +2026-04-07 14:21:53.862 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27581744345795 id=3338 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:53.849851783 bytes=407 +2026-04-07 14:21:53.890 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27585304908720 id=3339 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:53.877947167 bytes=493 +2026-04-07 14:21:53.918 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27585372602914 id=3340 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:53.906247567 bytes=510 +2026-04-07 14:21:53.947 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27593929921612 id=3341 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:53.934804250 bytes=413 +2026-04-07 14:21:53.975 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27593936958071 id=3342 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:53.962693686 bytes=454 +2026-04-07 14:21:54.002 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27594018306919 id=3343 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:53.990566290 bytes=405 +2026-04-07 14:21:54.031 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27594143589853 id=3344 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.018624018 bytes=454 +2026-04-07 14:21:54.059 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27600759051168 id=3345 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.046505360 bytes=407 +2026-04-07 14:21:54.087 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27600767512747 id=3346 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.074933952 bytes=454 +2026-04-07 14:21:54.115 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27604273843274 id=3347 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.103205964 bytes=510 +2026-04-07 14:21:54.143 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27607696684757 id=3348 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.131128470 bytes=459 +2026-04-07 14:21:54.171 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27607710537296 id=3349 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.159369226 bytes=459 +2026-04-07 14:21:54.199 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27608623936552 id=3350 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.187188744 bytes=405 +2026-04-07 14:21:54.227 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27608634915729 id=3351 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.214806314 bytes=454 +2026-04-07 14:21:54.255 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27610444496763 id=3352 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.243268635 bytes=405 +2026-04-07 14:21:54.283 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27610452659966 id=3353 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.271099220 bytes=454 +2026-04-07 14:21:54.311 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27610465143594 id=3354 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.299016038 bytes=407 +2026-04-07 14:21:54.343 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27610467691881 id=3355 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.330985022 bytes=454 +2026-04-07 14:21:54.372 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27610487704351 id=3356 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.360315633 bytes=407 +2026-04-07 14:21:54.400 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27611171866710 id=3357 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.388023697 bytes=407 +2026-04-07 14:21:54.428 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27611193007786 id=3358 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.416520777 bytes=454 +2026-04-07 14:21:54.457 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27611880587443 id=3359 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.445400968 bytes=407 +2026-04-07 14:21:54.486 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27612001948172 id=3360 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.473802287 bytes=407 +2026-04-07 14:21:54.513 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27612086365840 id=3361 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.501477883 bytes=407 +2026-04-07 14:21:54.541 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27612106316135 id=3362 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.529113360 bytes=454 +2026-04-07 14:21:54.569 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27612126349505 id=3363 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.556937520 bytes=510 +2026-04-07 14:21:54.596 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27612928875078 id=3364 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.584562921 bytes=510 +2026-04-07 14:21:54.625 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27617210546623 id=3365 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.612322406 bytes=464 +2026-04-07 14:21:54.653 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27617231385568 id=3366 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.640573170 bytes=464 +2026-04-07 14:21:54.681 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619799747985 id=3367 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.668964848 bytes=510 +2026-04-07 14:21:54.709 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619986122963 id=3368 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.697279279 bytes=407 +2026-04-07 14:21:54.738 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619994945855 id=3369 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.725576138 bytes=454 +2026-04-07 14:21:54.766 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27619995295702 id=3370 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.753434211 bytes=461 +2026-04-07 14:21:54.794 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27623423901170 id=3371 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.781924817 bytes=407 +2026-04-07 14:21:54.822 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27623434535892 id=3372 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.809555484 bytes=454 +2026-04-07 14:21:54.850 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27623464675230 id=3373 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.837763724 bytes=459 +2026-04-07 14:21:54.879 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27624172159649 id=3374 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.865735947 bytes=407 +2026-04-07 14:21:54.907 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27624184934017 id=3375 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.895139728 bytes=454 +2026-04-07 14:21:54.935 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27626949564923 id=3376 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.922778874 bytes=407 +2026-04-07 14:21:54.963 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27626957285125 id=3377 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.951274454 bytes=454 +2026-04-07 14:21:54.991 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627505164229 id=3378 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:54.979197754 bytes=493 +2026-04-07 14:21:55.019 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627512619011 id=3379 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.007095676 bytes=493 +2026-04-07 14:21:55.047 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627514412761 id=3380 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.034796228 bytes=493 +2026-04-07 14:21:55.076 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627522531478 id=3381 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.063352016 bytes=493 +2026-04-07 14:21:55.111 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627525401166 id=3382 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.091920630 bytes=493 +2026-04-07 14:21:55.139 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627611758313 id=3383 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.126515400 bytes=493 +2026-04-07 14:21:55.166 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627636628869 id=3384 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.154492721 bytes=493 +2026-04-07 14:21:55.194 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627638549649 id=3385 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.182465781 bytes=493 +2026-04-07 14:21:55.222 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27627640501859 id=3386 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.210501564 bytes=493 +2026-04-07 14:21:55.251 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628409036110 id=3387 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.238188061 bytes=493 +2026-04-07 14:21:55.279 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628410364100 id=3388 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.267105170 bytes=493 +2026-04-07 14:21:55.309 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628411546953 id=3389 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.296262501 bytes=493 +2026-04-07 14:21:55.337 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27628412724640 id=3390 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.325368476 bytes=493 +2026-04-07 14:21:55.365 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631174576166 id=3391 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.353320168 bytes=405 +2026-04-07 14:21:55.393 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631175866454 id=3392 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.381279294 bytes=407 +2026-04-07 14:21:55.422 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631182323763 id=3393 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.409880979 bytes=454 +2026-04-07 14:21:55.450 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631188301663 id=3394 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.437842006 bytes=465 +2026-04-07 14:21:55.478 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631204288177 id=3395 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.465893020 bytes=454 +2026-04-07 14:21:55.506 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631253283663 id=3396 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.494287405 bytes=461 +2026-04-07 14:21:55.534 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27632833647518 id=3397 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.522172248 bytes=459 +2026-04-07 14:21:55.563 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633479507422 id=3398 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.550802367 bytes=493 +2026-04-07 14:21:55.591 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633559828941 id=3399 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.579364681 bytes=493 +2026-04-07 14:21:55.619 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633561148983 id=3400 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.607340995 bytes=493 +2026-04-07 14:21:55.647 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633569154542 id=3401 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.634901956 bytes=405 +2026-04-07 14:21:55.675 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636086274285 id=3402 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.663440426 bytes=510 +2026-04-07 14:21:55.703 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27637738585109 id=3403 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.691199331 bytes=510 +2026-04-07 14:21:55.731 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27643798586804 id=3404 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.719449234 bytes=510 +2026-04-07 14:21:55.762 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27645764925422 id=3405 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.749217753 bytes=510 +2026-04-07 14:21:55.790 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646619639129 id=3406 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.777631115 bytes=510 +2026-04-07 14:21:55.818 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646623518658 id=3407 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.805857362 bytes=493 +2026-04-07 14:21:55.846 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646634781648 id=3408 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.833973917 bytes=493 +2026-04-07 14:21:55.874 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646723576910 id=3409 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.861938014 bytes=459 +2026-04-07 14:21:55.902 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27649868242762 id=3410 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.889898533 bytes=510 +2026-04-07 14:21:55.931 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27651297272077 id=3411 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.919061370 bytes=459 +2026-04-07 14:21:55.959 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27652717442434 id=3412 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.947639144 bytes=510 +2026-04-07 14:21:55.988 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27654329521530 id=3413 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:55.975495312 bytes=510 +2026-04-07 14:21:56.017 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27670727215423 id=3414 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:56.003906055 bytes=482 +2026-04-07 14:21:56.045 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27670758268700 id=3415 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:56.032782428 bytes=482 +2026-04-07 14:21:56.074 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27670761707193 id=3416 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:56.062176243 bytes=482 +2026-04-07 14:21:56.102 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27675834915288 id=3417 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:56.090209676 bytes=482 +2026-04-07 14:21:56.130 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27675896044992 id=3418 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:56.118202500 bytes=482 +2026-04-07 14:21:56.159 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27676843115197 id=3419 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:56.146738534 bytes=493 +2026-04-07 14:21:56.187 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27676922987826 id=3420 companyNameSample=尾号6223的公司124 expiresAt=2026-04-08T02:21:56.174442733 bytes=493 +2026-04-07 14:21:56.215 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631298377656 id=3421 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.202661826 bytes=407 +2026-04-07 14:21:56.243 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27632824632555 id=3422 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.230808552 bytes=407 +2026-04-07 14:21:56.271 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27632832975387 id=3423 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.259259049 bytes=454 +2026-04-07 14:21:56.299 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27632834335979 id=3424 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.287616309 bytes=482 +2026-04-07 14:21:56.329 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27632842589235 id=3425 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.316227769 bytes=461 +2026-04-07 14:21:56.357 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27632846255878 id=3426 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.344723884 bytes=482 +2026-04-07 14:21:56.385 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27632859669206 id=3427 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.372963462 bytes=407 +2026-04-07 14:21:56.413 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27632862265814 id=3428 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.400996457 bytes=454 +2026-04-07 14:21:56.441 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27632893697312 id=3429 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.429158166 bytes=407 +2026-04-07 14:21:56.469 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633021327124 id=3430 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.457388488 bytes=454 +2026-04-07 14:21:56.497 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633582771800 id=3431 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.485350345 bytes=405 +2026-04-07 14:21:56.527 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633589972014 id=3432 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.513844683 bytes=407 +2026-04-07 14:21:56.557 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633598994331 id=3433 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.543046861 bytes=482 +2026-04-07 14:21:56.587 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633603624837 id=3434 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.574108314 bytes=461 +2026-04-07 14:21:56.618 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633689647705 id=3435 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.605485205 bytes=405 +2026-04-07 14:21:56.648 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633695359212 id=3436 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.634517655 bytes=407 +2026-04-07 14:21:56.677 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633696031311 id=3437 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.664443351 bytes=405 +2026-04-07 14:21:56.705 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633764625539 id=3438 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.692829628 bytes=405 +2026-04-07 14:21:56.733 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633781177818 id=3439 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.721193154 bytes=407 +2026-04-07 14:21:56.761 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633791994255 id=3440 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.749383650 bytes=407 +2026-04-07 14:21:56.790 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633813463381 id=3441 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.777668533 bytes=407 +2026-04-07 14:21:56.818 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633816193643 id=3442 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.805673430 bytes=405 +2026-04-07 14:21:56.846 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27633833932686 id=3443 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.833755836 bytes=407 +2026-04-07 14:21:56.874 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27635295716750 id=3444 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.861768710 bytes=482 +2026-04-07 14:21:56.902 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27635307095564 id=3445 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.890098796 bytes=482 +2026-04-07 14:21:56.931 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27635318659463 id=3446 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.919325816 bytes=482 +2026-04-07 14:21:56.961 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636282936849 id=3447 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.948738407 bytes=482 +2026-04-07 14:21:56.989 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636303264624 id=3448 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:56.977226704 bytes=482 +2026-04-07 14:21:57.017 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636309371337 id=3449 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.005367181 bytes=482 +2026-04-07 14:21:57.046 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636325088512 id=3450 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.033907315 bytes=482 +2026-04-07 14:21:57.074 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27636328128413 id=3451 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.062129170 bytes=482 +2026-04-07 14:21:57.102 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27637817018320 id=3452 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.090398007 bytes=482 +2026-04-07 14:21:57.130 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27637832865581 id=3453 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.118543406 bytes=482 +2026-04-07 14:21:57.158 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27639571463881 id=3454 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.146244956 bytes=459 +2026-04-07 14:21:57.187 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27641270718647 id=3455 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.174893844 bytes=493 +2026-04-07 14:21:57.215 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27641272648768 id=3456 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.203380106 bytes=493 +2026-04-07 14:21:57.244 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27641387684916 id=3457 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.231190700 bytes=510 +2026-04-07 14:21:57.272 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27641394062616 id=3458 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.259678768 bytes=493 +2026-04-07 14:21:57.300 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27641396043086 id=3459 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.287882335 bytes=493 +2026-04-07 14:21:57.327 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27641397362273 id=3460 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.315497481 bytes=510 +2026-04-07 14:21:57.356 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27641398327543 id=3461 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.343676562 bytes=510 +2026-04-07 14:21:57.384 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27641494557626 id=3462 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.372037140 bytes=482 +2026-04-07 14:21:57.412 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27643142532290 id=3463 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.400076854 bytes=482 +2026-04-07 14:21:57.442 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646637201923 id=3464 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.429865002 bytes=493 +2026-04-07 14:21:57.471 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646639169998 id=3465 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.458953411 bytes=493 +2026-04-07 14:21:57.499 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646640869714 id=3466 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.487376122 bytes=493 +2026-04-07 14:21:57.527 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646642164121 id=3467 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.515267989 bytes=493 +2026-04-07 14:21:57.555 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646643057386 id=3468 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.543330079 bytes=493 +2026-04-07 14:21:57.584 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646644222570 id=3469 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.571401545 bytes=493 +2026-04-07 14:21:57.612 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646722197163 id=3470 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.599874025 bytes=459 +2026-04-07 14:21:57.640 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646722772810 id=3471 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.628170363 bytes=459 +2026-04-07 14:21:57.668 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27646734393177 id=3472 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.656247838 bytes=459 +2026-04-07 14:21:57.697 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27647344705509 id=3473 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.685013794 bytes=510 +2026-04-07 14:21:57.725 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27647387218644 id=3474 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.713116565 bytes=510 +2026-04-07 14:21:57.753 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27647473116934 id=3475 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.741189348 bytes=459 +2026-04-07 14:21:57.781 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27647487027353 id=3476 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.769599600 bytes=459 +2026-04-07 14:21:57.809 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27647493145772 id=3477 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.797496426 bytes=459 +2026-04-07 14:21:57.838 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27647513127890 id=3478 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.825282440 bytes=510 +2026-04-07 14:21:57.866 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27651634891318 id=3479 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.853621346 bytes=510 +2026-04-07 14:21:57.894 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27652471332660 id=3480 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.881789152 bytes=510 +2026-04-07 14:21:57.923 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27660391014056 id=3481 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.910924220 bytes=493 +2026-04-07 14:21:57.951 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27662155395739 id=3482 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.938709751 bytes=510 +2026-04-07 14:21:57.979 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27663225836466 id=3483 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.967135113 bytes=459 +2026-04-07 14:21:58.007 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27663227196763 id=3484 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:57.994953081 bytes=459 +2026-04-07 14:21:58.036 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664123556332 id=3485 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.024366729 bytes=493 +2026-04-07 14:21:58.067 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664771347790 id=3486 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.054167399 bytes=510 +2026-04-07 14:21:58.095 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664778932395 id=3487 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.083305419 bytes=510 +2026-04-07 14:21:58.123 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27664794133549 id=3488 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.111213524 bytes=510 +2026-04-07 14:21:58.152 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27667385662472 id=3489 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.139425449 bytes=510 +2026-04-07 14:21:58.180 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27674304904587 id=3490 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.167862385 bytes=510 +2026-04-07 14:21:58.208 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27675905198980 id=3491 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.195956593 bytes=407 +2026-04-07 14:21:58.236 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27675978688547 id=3492 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.223727213 bytes=510 +2026-04-07 14:21:58.264 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27675979674821 id=3493 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.251905560 bytes=407 +2026-04-07 14:21:58.292 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27676010444596 id=3494 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.279695256 bytes=407 +2026-04-07 14:21:58.321 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27676853743570 id=3495 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.308556208 bytes=510 +2026-04-07 14:21:58.349 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27676919393238 id=3496 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.337111405 bytes=493 +2026-04-07 14:21:58.377 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27677523483208 id=3497 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.364790948 bytes=407 +2026-04-07 14:21:58.405 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27684657959770 id=3498 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.393048428 bytes=510 +2026-04-07 14:21:58.433 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27688954571631 id=3499 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.421013657 bytes=510 +2026-04-07 14:21:58.461 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27704521982875 id=3500 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.449305841 bytes=510 +2026-04-07 14:21:58.489 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27704522294195 id=3501 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.477102182 bytes=510 +2026-04-07 14:21:58.517 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27704522747115 id=3502 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.505177746 bytes=510 +2026-04-07 14:21:58.545 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27704523356586 id=3503 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.533273650 bytes=510 +2026-04-07 14:21:58.573 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27707122052453 id=3504 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.561110909 bytes=510 +2026-04-07 14:21:58.601 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27720838221402 id=3505 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.588953588 bytes=493 +2026-04-07 14:21:58.629 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27720845128931 id=3506 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.617536268 bytes=493 +2026-04-07 14:21:58.660 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27721727327845 id=3507 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.646811173 bytes=510 +2026-04-07 14:21:58.688 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27734732514956 id=3508 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.675572304 bytes=459 +2026-04-07 14:21:58.716 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27736483706422 id=3509 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.703713571 bytes=459 +2026-04-07 14:21:58.745 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27738285298284 id=3510 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.733103127 bytes=459 +2026-04-07 14:21:58.774 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27738335479827 id=3511 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.761842312 bytes=459 +2026-04-07 14:21:58.802 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27750282647874 id=3512 companyNameSample=尾号6623的公司136 expiresAt=2026-04-08T02:21:58.789883454 bytes=493 +2026-04-07 14:21:58.829 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631289729969 id=3513 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:58.817653299 bytes=407 +2026-04-07 14:21:58.858 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27631303339710 id=3514 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:58.845918009 bytes=454 +2026-04-07 14:21:58.886 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27642362953622 id=3515 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:58.874342196 bytes=493 +2026-04-07 14:21:58.914 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27644960418714 id=3516 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:58.902408875 bytes=407 +2026-04-07 14:21:58.942 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27644962915060 id=3517 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:58.930262917 bytes=454 +2026-04-07 14:21:58.971 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27648364899509 id=3518 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:58.958712591 bytes=407 +2026-04-07 14:21:58.999 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27648365915572 id=3519 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:58.986321047 bytes=405 +2026-04-07 14:21:59.027 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27648371136946 id=3520 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:59.014881992 bytes=454 +2026-04-07 14:21:59.055 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27648374014741 id=3521 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:59.043204203 bytes=454 +2026-04-07 14:21:59.086 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27718530473343 id=3522 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:59.073411211 bytes=518 +2026-04-07 14:21:59.114 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27727976917588 id=3523 companyNameSample=尾号5578的公司115 expiresAt=2026-04-08T02:21:59.101693775 bytes=497 +2026-04-07 14:21:59.142 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27543917795757 id=3167 companyNameSample=rongchuang123 expiresAt=2026-04-08T02:21:59.129681855 bytes=408 +2026-04-07 14:21:59.171 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27543934803932 id=3168 companyNameSample=rongchuang123 expiresAt=2026-04-08T02:21:59.157859413 bytes=511 +2026-04-07 14:21:59.199 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27546394919722 id=3169 companyNameSample=rongchuang123 expiresAt=2026-04-08T02:21:59.186478827 bytes=503 +2026-04-07 14:21:59.231 [scheduling-1] INFO c.n.a.m.z.m.s.ZiniaoMemoryStoreService - [ziniao-shop-index-db] update cacheKey=s:27730548558377 id=3170 companyNameSample=rongchuang123 expiresAt=2026-04-08T02:21:59.218731047 bytes=408 +2026-04-07 14:21:59.243 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] refresh persist shopIndex uniqueShopId=360 nameOnly=0 groupedNames=360 activeRows=360 +2026-04-07 14:21:59.272 [scheduling-1] INFO c.n.a.m.z.s.ZiniaoShopIndexService - [ziniao-index] refresh success invalidUsersSkipped=22 apiKeyProcessed=6/6 nextOffset=0 +2026-04-07 14:21:59.324 [scheduling-1] INFO c.n.a.m.d.s.DeleteBrandRunService - [DeleteBrand] tryFinalizeTask skipping -> finishedFiles (3) < expectedFiles (12) diff --git a/app/.env b/app/.env index 085b36a..9ffac95 100644 --- a/app/.env +++ b/app/.env @@ -13,6 +13,7 @@ client_name=ShuFuAI # java_api_base=http://127.0.0.1:18080 -java_api_base=http://8.136.19.173:18080 +java_api_base=http://8.136.19.173:18081 +# java_api_base=http://8.136.19.173:18080 diff --git a/app/assets/convert-Cfr3mUjs.css b/app/assets/convert-Cfr3mUjs.css deleted file mode 100644 index 1126846..0000000 --- a/app/assets/convert-Cfr3mUjs.css +++ /dev/null @@ -1 +0,0 @@ -.module-page[data-v-89690cc3]{min-height:100vh;background:#1a1a1a}.main-content[data-v-89690cc3]{display:flex;min-height:calc(100vh - 56px);height:calc(100vh - 56px)}.left-panel[data-v-89690cc3]{width:380px;background:#1e1e1e;padding:20px;overflow-y:auto;border-right:1px solid #2a2a2a}.right-panel[data-v-89690cc3]{flex:1;display:flex;flex-direction:column;min-width:0;background:#1a1a1a}.section-title[data-v-89690cc3]{font-size:13px;color:#bbb;margin-bottom:10px}.upload-zone[data-v-89690cc3]{border:1px dashed #3a3a3a;border-radius:10px;padding:24px;text-align:center;background:#252525;margin-bottom:20px;transition:all .2s ease}.upload-zone[data-v-89690cc3]:hover{border-color:#3498db;background:#2a2a2a}.hint[data-v-89690cc3]{color:#888;font-size:13px;margin-bottom:12px;line-height:1.5}.btns[data-v-89690cc3]{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.opt-btn[data-v-89690cc3],.btn-run[data-v-89690cc3],.download[data-v-89690cc3],.btn-delete[data-v-89690cc3],.template-download-row[data-v-89690cc3]{border:none;cursor:pointer;transition:all .2s ease}.opt-btn[data-v-89690cc3]{padding:8px 16px;font-size:13px;color:#ccc;background:#2a2a2a;border:1px solid #3a3a3a;border-radius:6px}.opt-btn.small[data-v-89690cc3]{padding:6px 10px;font-size:12px}.opt-btn[data-v-89690cc3]:hover{color:#3498db;background:#333;border-color:#3498db}.opt-btn.danger[data-v-89690cc3]:hover{color:#ff9f9f;border-color:#e74c3c80}.opt-btn[data-v-89690cc3]:disabled{cursor:not-allowed;opacity:.55}.selected-files[data-v-89690cc3]{margin-top:14px;font-size:12px;color:#888;max-height:112px;overflow-y:auto;text-align:left}.selected-files span[data-v-89690cc3]{display:block;margin:4px 0;word-break:break-all}.more-line[data-v-89690cc3]{color:#b8c1cc}.option-group[data-v-89690cc3]{margin-bottom:20px}.radio-item[data-v-89690cc3]{display:flex;align-items:flex-start;gap:10px;cursor:pointer;padding:10px 12px;border-radius:8px;background:#252525;border:1px solid #2a2a2a;margin-bottom:8px;transition:all .2s ease}.template-item-content[data-v-89690cc3]{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.radio-item[data-v-89690cc3]:hover,.radio-item.active[data-v-89690cc3]{background:#2a2a2a;border-color:#3a3a3a}.radio-item input[data-v-89690cc3]{margin-top:3px}.label[data-v-89690cc3]{font-weight:500;color:#e0e0e0;font-size:13px}.desc[data-v-89690cc3]{font-size:12px;color:#888;margin-top:2px;line-height:1.5;font-weight:400}.template-tag[data-v-89690cc3]{margin-left:8px;padding:2px 8px;border-radius:999px;font-size:11px;color:#8fd0ff;background:#3498db24}.template-tag.muted[data-v-89690cc3]{color:#b8b8b8;background:#ffffff14}.template-tag.custom[data-v-89690cc3]{color:#90f0b3;background:#2ecc7124}.empty-option[data-v-89690cc3]{padding:12px;border:1px dashed #3a3a3a;border-radius:8px;color:#777;font-size:12px}.template-actions[data-v-89690cc3]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.template-actions-hint[data-v-89690cc3]{grid-column:1 / -1;font-size:12px;color:#888;line-height:1.5}.hidden-file-input[data-v-89690cc3]{display:none}.template-download-list[data-v-89690cc3]{display:grid;gap:10px;margin-bottom:20px}.template-download-row[data-v-89690cc3]{width:100%;padding:14px 16px;background:linear-gradient(135deg,#252525,#1f2b1f);border:1px solid #2a3a2a;border-radius:10px;display:flex;align-items:center;gap:14px;text-align:left}.template-download-row[data-v-89690cc3]:hover{border-color:#2e7d32;background:linear-gradient(135deg,#2a2a2a,#243324);box-shadow:0 4px 12px #2e7d3226}.template-download-icon[data-v-89690cc3]{width:48px;height:48px;flex-shrink:0;border-radius:10px;background:linear-gradient(145deg,#1b5e20,#2e7d32,#388e3c);display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em}.template-download-text[data-v-89690cc3]{display:flex;flex-direction:column;min-width:0}.template-download-text .title[data-v-89690cc3]{font-size:14px;color:#e0e0e0;font-weight:600}.template-download-text .hint[data-v-89690cc3]{margin:2px 0 0;font-size:12px;color:#888}.run-row[data-v-89690cc3]{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;margin-top:16px}.btn-run[data-v-89690cc3]{padding:10px 22px;background:#3498db;color:#fff;border-radius:8px;font-size:14px}.btn-run[data-v-89690cc3]:hover{background:#2980b9}.btn-run[data-v-89690cc3]:disabled{background:#555;color:#999;cursor:not-allowed}.loading-msg[data-v-89690cc3]{color:#3498db;font-size:13px}.panel-header[data-v-89690cc3]{padding:16px 20px;border-bottom:1px solid #2a2a2a;font-size:15px;font-weight:600;color:#ddd}.task-list-wrap[data-v-89690cc3]{flex:1;overflow-y:auto;padding:16px}.task-list[data-v-89690cc3]{list-style:none;margin:0;padding:0}.task-item[data-v-89690cc3]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #2a2a2a;border-radius:8px;margin-bottom:10px;background:#1e1e1e}.left[data-v-89690cc3]{flex:1;min-width:0}.id[data-v-89690cc3]{display:inline-block;font-weight:600;color:#e0e0e0;font-size:13px}.files[data-v-89690cc3]{font-size:12px;color:#888;margin-top:4px}.task-right[data-v-89690cc3]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.status[data-v-89690cc3]{padding:4px 10px;border-radius:6px;font-size:12px;white-space:nowrap}.status.success[data-v-89690cc3]{background:#2ecc712e;color:#2ecc71}.status.failed[data-v-89690cc3]{background:#e74c3c2e;color:#ff6b6b}.download[data-v-89690cc3]{padding:6px 10px;border-radius:6px;font-size:12px;background:#3498db2e;color:#69b6ff}.download[data-v-89690cc3]:hover{background:#3498db47}.btn-delete[data-v-89690cc3]{padding:6px 10px;border-radius:6px;font-size:12px;background:#e74c3c1f;color:#ff8f8f}.btn-delete[data-v-89690cc3]:hover{background:#e74c3c38}.empty-tasks[data-v-89690cc3]{color:#666;font-size:13px;padding:24px 8px}.clean-placeholder[data-v-89690cc3]{max-height:none}.clean-result-summary[data-v-89690cc3]{display:grid;grid-template-columns:repeat(3,minmax(0,220px));gap:16px;margin-bottom:18px}.summary-card[data-v-89690cc3]{padding:16px 18px;border:1px solid #2a2a2a;border-radius:10px;background:#1e1e1e}.summary-card strong[data-v-89690cc3]{display:block;margin-top:8px;font-size:24px;color:#eaf4ff}.summary-label[data-v-89690cc3]{font-size:12px;color:#8d8d8d}.result-list-wrap[data-v-89690cc3]{border:1px solid #2a2a2a;border-radius:10px;background:#1e1e1e;min-height:260px}.result-list-header[data-v-89690cc3]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #2a2a2a;font-size:14px;color:#ddd}@media(max-width:1100px){.main-content[data-v-89690cc3]{flex-direction:column;height:auto}.left-panel[data-v-89690cc3]{width:100%;border-right:none;border-bottom:1px solid #2a2a2a}.right-panel[data-v-89690cc3]{min-height:420px}.task-item[data-v-89690cc3]{flex-direction:column;align-items:flex-start}.task-right[data-v-89690cc3]{width:100%;justify-content:flex-start}.clean-result-summary[data-v-89690cc3]{grid-template-columns:1fr}} diff --git a/app/assets/convert.js b/app/assets/convert.js index 756eba2..08e9145 100644 --- a/app/assets/convert.js +++ b/app/assets/convert.js @@ -1 +1 @@ -import{d as A,o as H,a as n,c as o,b as z,B as K,e as s,F as w,r as F,t as i,f as _,n as E,w as M,s as j,u as q,g as u,h as T,x as J,i as k,E as r,y as L,z as O,A as G,_ as Q,p as W,q as X}from"./pywebview-V_UIajJm.js";import{e as Y}from"./brand-1nUVsWrm.js";const Z={class:"page-shell module-page"},ee={class:"main-content"},se={class:"left-panel"},te={class:"upload-zone"},ae={class:"selected-files clean-placeholder"},le={key:0,class:"more-line"},ne={key:1},oe={class:"option-group"},re=["value"],ie={class:"template-item-content"},ce={class:"label"},ue={key:0,class:"template-tag"},de={key:1,class:"template-tag muted"},ve={key:2,class:"template-tag custom"},pe={class:"desc"},_e={key:0,class:"empty-option"},fe={class:"option-group"},me={class:"radio-item active"},he={class:"desc"},ye={class:"run-row"},ge=["disabled"],be={class:"loading-msg"},we={class:"right-panel"},ke={class:"task-list-wrap"},Ce={class:"clean-result-summary"},xe={class:"summary-card"},Fe={class:"summary-card"},Pe={class:"summary-card"},Ee={class:"result-list-wrap"},Te={key:0,class:"empty-tasks"},Ie={key:1,class:"task-list clean-result-list"},Be={class:"left"},Ne=["title"],$e={key:0,class:"files"},De={key:1,class:"files"},Re={class:"task-right"},Se=["onClick"],Ue=["onClick"],Ve=A({__name:"BrandConvertTab",setup(He){const v=u([]),g=u(""),f=u([]),m=u(!1),b=u([]),h=u({total:0,successCount:0,failedCount:0,items:[]}),d=u([]),c=u(""),C=T(()=>v.value.slice(0,8)),I=T(()=>d.value.find(a=>a.id===c.value)||null);async function P(a){const e=k();if(!e?.upload_file_to_java)throw new Error("当前桌面端未提供文件上传桥接能力");const t=[];for(const l of a){const p=typeof l=="string"?l:l.absolutePath,V=typeof l=="string"?void 0:l.relativePath,y=await e.upload_file_to_java(p,V);if(!y?.success||!y.data)throw new Error(y?.error||y?.message||`上传失败:${p}`);t.push(y.data)}return t}async function B(a){const e=await J();d.value=e||[];const t=d.value.find(p=>p.id===c.value);if(t){c.value=t.id;return}const l=d.value.find(p=>p.isDefault);if(l){c.value=l.id;return}c.value=d.value[0]?.id||""}async function N(a,e){v.value=a,g.value="",f.value=await P(a),r.success(e)}async function $(){const a=k();if(!a?.select_brand_xlsx_files){r.warning("当前环境不支持文件选择,请在本机客户端中打开");return}try{const e=await a.select_brand_xlsx_files();if(!e?.length)return;await N(e,`已选择 ${e.length} 个待转换文件`)}catch(e){r.error(e instanceof Error?e.message:"选择失败")}}async function D(){const a=k();if(!a?.select_brand_folder){r.warning("当前环境不支持文件夹选择,请在本机客户端中打开");return}try{const e=await a.select_brand_folder();if(!e)return;g.value=e.split(/[/\\]/).filter(Boolean).pop()||"";const t=await Y(e);if(t.success&&t.items?.length){v.value=t.items.map(l=>l.relativePath),f.value=await P(t.items),r.success(`已选择文件夹内 ${t.items.length} 个 xlsx 文件`);return}r.warning(t.error||"该文件夹下没有 xlsx 文件")}catch(e){r.error(e instanceof Error?e.message:"选择失败")}}async function R(){if(!f.value.length){r.warning("请先选择待转换 Excel 文件或文件夹");return}if(!c.value){r.warning("请先选择模板");return}try{m.value=!0;const a=await L({files:f.value.map(e=>({fileKey:e.fileKey,originalFilename:e.originalFilename,relativePath:e.relativePath})),templateId:c.value,archiveName:f.value.some(e=>!!e.relativePath)&&g.value?g.value:void 0});h.value=a,b.value=a.items||[],await x(),r.success("格式转换完成")}catch(a){r.error(a instanceof Error?a.message:"格式转换失败")}finally{m.value=!1}}async function x(){try{const a=await O();b.value=a.items||[],h.value={total:a.items?.length||0,successCount:a.items?.filter(e=>e.success).length||0,failedCount:a.items?.filter(e=>!e.success).length||0,items:a.items||[]}}catch{}}async function S(a){try{await G(a),await x(),r.success("已删除")}catch(e){r.error(e instanceof Error?e.message:"删除失败")}}async function U(a){const e=k();if(!a.downloadUrl){r.warning("当前结果没有下载地址");return}const t=a.outputFilename||`${new Date().toISOString().slice(0,10).replace(/-/g,"")}.txt`;if(e?.save_file_from_url){const l=await e.save_file_from_url(a.downloadUrl,t);l.success?r.success(`已保存:${l.path||t}`):l.error&&l.error!=="用户取消"&&r.error(l.error);return}window.open(a.downloadUrl,"_blank")}return H(()=>{B().catch(()=>{}),x().catch(()=>{})}),(a,e)=>(n(),o("div",Z,[z(K,{active:"convert"}),s("div",ee,[s("aside",se,[e[5]||(e[5]=s("div",{class:"section-title"},"选择文件",-1)),s("div",te,[e[1]||(e[1]=s("div",{class:"hint"},"选择需要转换的 Excel 文件或文件夹,将按所选模板生成 txt 文件。",-1)),s("div",{class:"btns"},[s("button",{type:"button",class:"opt-btn",onClick:$},"选择 Excel 文件"),s("button",{type:"button",class:"opt-btn",onClick:D},"选择文件夹")]),s("div",ae,[v.value.length?(n(),o(w,{key:0},[(n(!0),o(w,null,F(C.value,t=>(n(),o("span",{key:t},i(t),1))),128)),v.value.length>C.value.length?(n(),o("span",le," 还有 "+i(v.value.length-C.value.length)+" 个文件未展开显示 ",1)):_("",!0)],64)):(n(),o("span",ne,"暂未选择待转换文件"))])]),e[6]||(e[6]=s("div",{class:"section-title"},"模板选择",-1)),s("div",oe,[(n(!0),o(w,null,F(d.value,t=>(n(),o("label",{key:t.id,class:E(["radio-item",{active:c.value===t.id}])},[M(s("input",{"onUpdate:modelValue":e[0]||(e[0]=l=>c.value=l),type:"radio",value:t.id,name:"convert-template"},null,8,re),[[j,c.value]]),s("div",ie,[s("div",null,[s("span",ce,[q(i(t.templateName)+" ",1),t.isDefault?(n(),o("span",ue,"默认")):t.builtIn?(n(),o("span",de,"内置")):(n(),o("span",ve,"自定义"))]),s("div",pe,"输出文件:"+i(t.outputFilename),1)])])],2))),128)),d.value.length?_("",!0):(n(),o("div",_e,"暂无可用模板"))]),e[7]||(e[7]=s("div",{class:"section-title"},"转换说明",-1)),s("div",fe,[s("label",me,[e[3]||(e[3]=s("input",{type:"checkbox",checked:"",disabled:""},null,-1)),s("div",null,[e[2]||(e[2]=s("span",{class:"label"},"按当前模板输出",-1)),s("div",he,"当前模板:"+i(I.value?.templateName||"未加载模板"),1)])]),e[4]||(e[4]=s("label",{class:"radio-item active"},[s("input",{type:"checkbox",checked:"",disabled:""}),s("div",null,[s("span",{class:"label"},"SKU 使用雪花ID-序号"),s("div",{class:"desc"},"例如 1773816146796-1")])],-1))]),s("div",ye,[s("button",{type:"button",class:"btn-run",disabled:m.value,onClick:R},i(m.value?"转换中...":"开始转换"),9,ge),s("span",be,i(m.value?"正在生成并上传结果,请稍候…":"选择文件后即可执行格式转换,结果会显示在右侧供下载"),1)])]),s("section",we,[e[12]||(e[12]=s("div",{class:"panel-header"},"转换结果",-1)),s("div",ke,[s("div",Ce,[s("div",xe,[e[8]||(e[8]=s("span",{class:"summary-label"},"已处理文件",-1)),s("strong",null,i(h.value.total),1)]),s("div",Fe,[e[9]||(e[9]=s("span",{class:"summary-label"},"成功结果",-1)),s("strong",null,i(h.value.successCount),1)]),s("div",Pe,[e[10]||(e[10]=s("span",{class:"summary-label"},"失败文件",-1)),s("strong",null,i(h.value.failedCount),1)])]),s("div",Ee,[e[11]||(e[11]=s("div",{class:"result-list-header"},[s("span",null,"生成的结果压缩包列表")],-1)),b.value.length===0?(n(),o("div",Te," 暂无转换结果,完成格式转换后会在这里展示结果压缩包 ")):(n(),o("ul",Ie,[(n(!0),o(w,null,F(b.value,t=>(n(),o("li",{key:`${t.resultId||t.outputFilename||t.sourceFilename}`,class:"task-item"},[s("div",Be,[s("span",{class:"id",title:t.sourceFilename},i(t.sourceFilename||"-"),9,Ne),t.outputFilename?(n(),o("div",$e,"压缩包文件:"+i(t.outputFilename),1)):_("",!0),t.error?(n(),o("div",De,"错误信息:"+i(t.error),1)):_("",!0)]),s("div",Re,[s("span",{class:E(["status",t.success?"success":"failed"])},i(t.success?"已完成":"失败"),3),t.success&&t.downloadUrl?(n(),o("button",{key:0,type:"button",class:"download",onClick:l=>U(t)}," 下载压缩包 ",8,Se)):_("",!0),t.resultId?(n(),o("button",{key:1,type:"button",class:"btn-delete",onClick:l=>S(t.resultId)}," 删除 ",8,Ue)):_("",!0)])]))),128))]))])])])])]))}}),Ae=Q(Ve,[["__scopeId","data-v-89690cc3"]]);W(Ae).use(X).mount("#app"); +import{d as A,o as H,a as n,c as o,b as z,B as K,e as s,F as w,r as F,t as i,f as _,n as E,w as M,s as j,u as q,g as u,h as T,x as J,i as k,E as r,y as L,z as O,A as G,_ as Q,p as W,q as X}from"./pywebview-V_UIajJm.js";import{e as Y}from"./brand-1nUVsWrm.js";const Z={class:"page-shell module-page"},ee={class:"main-content"},se={class:"left-panel"},te={class:"upload-zone"},ae={class:"selected-files clean-placeholder"},le={key:0,class:"more-line"},ne={key:1},oe={class:"option-group"},re=["value"],ie={class:"template-item-content"},ce={class:"label"},ue={key:0,class:"template-tag"},de={key:1,class:"template-tag muted"},ve={key:2,class:"template-tag custom"},pe={class:"desc"},_e={key:0,class:"empty-option"},fe={class:"option-group"},me={class:"radio-item active"},he={class:"desc"},ye={class:"run-row"},ge=["disabled"],be={class:"loading-msg"},we={class:"right-panel"},ke={class:"task-list-wrap"},Ce={class:"clean-result-summary"},xe={class:"summary-card"},Fe={class:"summary-card"},Pe={class:"summary-card"},Ee={class:"result-list-wrap"},Te={key:0,class:"empty-tasks"},Ie={key:1,class:"task-list clean-result-list"},Be={class:"left"},Ne=["title"],$e={key:0,class:"files"},De={key:1,class:"files"},Re={class:"task-right"},Se=["onClick"],Ue=["onClick"],Ve=A({__name:"BrandConvertTab",setup(He){const v=u([]),g=u(""),f=u([]),m=u(!1),b=u([]),h=u({total:0,successCount:0,failedCount:0,items:[]}),d=u([]),c=u(""),C=T(()=>v.value.slice(0,8)),I=T(()=>d.value.find(a=>a.id===c.value)||null);async function P(a){const e=k();if(!e?.upload_file_to_java)throw new Error("当前桌面端未提供文件上传桥接能力");const t=[];for(const l of a){const p=typeof l=="string"?l:l.absolutePath,V=typeof l=="string"?void 0:l.relativePath,y=await e.upload_file_to_java(p,V);if(!y?.success||!y.data)throw new Error(y?.error||y?.message||`上传失败:${p}`);t.push(y.data)}return t}async function B(a){const e=await J();d.value=e||[];const t=d.value.find(p=>p.id===c.value);if(t){c.value=t.id;return}const l=d.value.find(p=>p.isDefault);if(l){c.value=l.id;return}c.value=d.value[0]?.id||""}async function N(a,e){v.value=a,g.value="",f.value=await P(a),r.success(e)}async function $(){const a=k();if(!a?.select_brand_xlsx_files){r.warning("当前环境不支持文件选择,请在本机客户端中打开");return}try{const e=await a.select_brand_xlsx_files();if(!e?.length)return;await N(e,`已选择 ${e.length} 个待转换文件`)}catch(e){r.error(e instanceof Error?e.message:"选择失败")}}async function D(){const a=k();if(!a?.select_brand_folder){r.warning("当前环境不支持文件夹选择,请在本机客户端中打开");return}try{const e=await a.select_brand_folder();if(!e)return;g.value=e.split(/[/\\]/).filter(Boolean).pop()||"";const t=await Y(e);if(t.success&&t.items?.length){v.value=t.items.map(l=>l.relativePath),f.value=await P(t.items),r.success(`已选择文件夹内 ${t.items.length} 个 xlsx 文件`);return}r.warning(t.error||"该文件夹下没有 xlsx 文件")}catch(e){r.error(e instanceof Error?e.message:"选择失败")}}async function R(){if(!f.value.length){r.warning("请先选择待转换 Excel 文件或文件夹");return}if(!c.value){r.warning("请先选择模板");return}try{m.value=!0;const a=await L({files:f.value.map(e=>({fileKey:e.fileKey,originalFilename:e.originalFilename,relativePath:e.relativePath})),templateId:c.value,archiveName:f.value.some(e=>!!e.relativePath)&&g.value?g.value:void 0});h.value=a,b.value=a.items||[],await x(),r.success("格式转换完成")}catch(a){r.error(a instanceof Error?a.message:"格式转换失败")}finally{m.value=!1}}async function x(){try{const a=await O();b.value=a.items||[],h.value={total:a.items?.length||0,successCount:a.items?.filter(e=>e.success).length||0,failedCount:a.items?.filter(e=>!e.success).length||0,items:a.items||[]}}catch{}}async function S(a){try{await G(a),await x(),r.success("已删除")}catch(e){r.error(e instanceof Error?e.message:"删除失败")}}async function U(a){const e=k();if(!a.downloadUrl){r.warning("当前结果没有下载地址");return}const t=a.outputFilename||`${new Date().toISOString().slice(0,10).replace(/-/g,"")}.txt`;if(e?.save_file_from_url_new){const l=await e.save_file_from_url_new(a.downloadUrl,t);l.success?r.success(`已保存:${l.path||t}`):l.error&&l.error!=="用户取消"&&r.error(l.error);return}window.open(a.downloadUrl,"_blank")}return H(()=>{B().catch(()=>{}),x().catch(()=>{})}),(a,e)=>(n(),o("div",Z,[z(K,{active:"convert"}),s("div",ee,[s("aside",se,[e[5]||(e[5]=s("div",{class:"section-title"},"选择文件",-1)),s("div",te,[e[1]||(e[1]=s("div",{class:"hint"},"选择需要转换的 Excel 文件或文件夹,将按所选模板生成 txt 文件。",-1)),s("div",{class:"btns"},[s("button",{type:"button",class:"opt-btn",onClick:$},"选择 Excel 文件"),s("button",{type:"button",class:"opt-btn",onClick:D},"选择文件夹")]),s("div",ae,[v.value.length?(n(),o(w,{key:0},[(n(!0),o(w,null,F(C.value,t=>(n(),o("span",{key:t},i(t),1))),128)),v.value.length>C.value.length?(n(),o("span",le," 还有 "+i(v.value.length-C.value.length)+" 个文件未展开显示 ",1)):_("",!0)],64)):(n(),o("span",ne,"暂未选择待转换文件"))])]),e[6]||(e[6]=s("div",{class:"section-title"},"模板选择",-1)),s("div",oe,[(n(!0),o(w,null,F(d.value,t=>(n(),o("label",{key:t.id,class:E(["radio-item",{active:c.value===t.id}])},[M(s("input",{"onUpdate:modelValue":e[0]||(e[0]=l=>c.value=l),type:"radio",value:t.id,name:"convert-template"},null,8,re),[[j,c.value]]),s("div",ie,[s("div",null,[s("span",ce,[q(i(t.templateName)+" ",1),t.isDefault?(n(),o("span",ue,"默认")):t.builtIn?(n(),o("span",de,"内置")):(n(),o("span",ve,"自定义"))]),s("div",pe,"输出文件:"+i(t.outputFilename),1)])])],2))),128)),d.value.length?_("",!0):(n(),o("div",_e,"暂无可用模板"))]),e[7]||(e[7]=s("div",{class:"section-title"},"转换说明",-1)),s("div",fe,[s("label",me,[e[3]||(e[3]=s("input",{type:"checkbox",checked:"",disabled:""},null,-1)),s("div",null,[e[2]||(e[2]=s("span",{class:"label"},"按当前模板输出",-1)),s("div",he,"当前模板:"+i(I.value?.templateName||"未加载模板"),1)])]),e[4]||(e[4]=s("label",{class:"radio-item active"},[s("input",{type:"checkbox",checked:"",disabled:""}),s("div",null,[s("span",{class:"label"},"SKU 使用雪花ID-序号"),s("div",{class:"desc"},"例如 1773816146796-1")])],-1))]),s("div",ye,[s("button",{type:"button",class:"btn-run",disabled:m.value,onClick:R},i(m.value?"转换中...":"开始转换"),9,ge),s("span",be,i(m.value?"正在生成并上传结果,请稍候…":"选择文件后即可执行格式转换,结果会显示在右侧供下载"),1)])]),s("section",we,[e[12]||(e[12]=s("div",{class:"panel-header"},"转换结果",-1)),s("div",ke,[s("div",Ce,[s("div",xe,[e[8]||(e[8]=s("span",{class:"summary-label"},"已处理文件",-1)),s("strong",null,i(h.value.total),1)]),s("div",Fe,[e[9]||(e[9]=s("span",{class:"summary-label"},"成功结果",-1)),s("strong",null,i(h.value.successCount),1)]),s("div",Pe,[e[10]||(e[10]=s("span",{class:"summary-label"},"失败文件",-1)),s("strong",null,i(h.value.failedCount),1)])]),s("div",Ee,[e[11]||(e[11]=s("div",{class:"result-list-header"},[s("span",null,"生成的结果压缩包列表")],-1)),b.value.length===0?(n(),o("div",Te," 暂无转换结果,完成格式转换后会在这里展示结果压缩包 ")):(n(),o("ul",Ie,[(n(!0),o(w,null,F(b.value,t=>(n(),o("li",{key:`${t.resultId||t.outputFilename||t.sourceFilename}`,class:"task-item"},[s("div",Be,[s("span",{class:"id",title:t.sourceFilename},i(t.sourceFilename||"-"),9,Ne),t.outputFilename?(n(),o("div",$e,"压缩包文件:"+i(t.outputFilename),1)):_("",!0),t.error?(n(),o("div",De,"错误信息:"+i(t.error),1)):_("",!0)]),s("div",Re,[s("span",{class:E(["status",t.success?"success":"failed"])},i(t.success?"已完成":"失败"),3),t.success&&t.downloadUrl?(n(),o("button",{key:0,type:"button",class:"download",onClick:l=>U(t)}," 下载压缩包 ",8,Se)):_("",!0),t.resultId?(n(),o("button",{key:1,type:"button",class:"btn-delete",onClick:l=>S(t.resultId)}," 删除 ",8,Ue)):_("",!0)])]))),128))]))])])])])]))}}),Ae=Q(Ve,[["__scopeId","data-v-42b0cfec"]]);W(Ae).use(X).mount("#app"); diff --git a/app/assets/dedupe-CS18ls2z.css b/app/assets/dedupe-CS18ls2z.css deleted file mode 100644 index 4db38c4..0000000 --- a/app/assets/dedupe-CS18ls2z.css +++ /dev/null @@ -1 +0,0 @@ -.module-page[data-v-6b14da88]{min-height:100vh;background:#1a1a1a}.main-content[data-v-6b14da88]{display:flex;min-height:calc(100vh - 56px);height:calc(100vh - 56px)}.left-panel[data-v-6b14da88]{width:380px;background:#1e1e1e;padding:20px;overflow-y:auto;border-right:1px solid #2a2a2a}.right-panel[data-v-6b14da88]{flex:1;display:flex;flex-direction:column;min-width:0;background:#1a1a1a}.section-title[data-v-6b14da88]{font-size:13px;color:#bbb;margin-bottom:10px}.upload-zone[data-v-6b14da88]{border:1px dashed #3a3a3a;border-radius:10px;padding:24px;text-align:center;background:#252525;margin-bottom:20px;transition:all .2s ease}.upload-zone[data-v-6b14da88]:hover{border-color:#3498db;background:#2a2a2a}.hint[data-v-6b14da88]{color:#888;font-size:13px;margin-bottom:12px;line-height:1.5}.btns[data-v-6b14da88]{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.opt-btn[data-v-6b14da88],.btn-run[data-v-6b14da88],.download[data-v-6b14da88],.btn-delete[data-v-6b14da88]{border:none;cursor:pointer;transition:all .2s ease}.opt-btn[data-v-6b14da88]{padding:8px 16px;font-size:13px;color:#ccc;background:#2a2a2a;border:1px solid #3a3a3a;border-radius:6px}.opt-btn.small[data-v-6b14da88]{padding:6px 10px;font-size:12px}.opt-btn[data-v-6b14da88]:hover{color:#3498db;background:#333;border-color:#3498db}.selected-files[data-v-6b14da88]{margin-top:14px;font-size:12px;color:#888;max-height:112px;overflow-y:auto;text-align:left}.selected-files span[data-v-6b14da88]{display:block;margin:4px 0;word-break:break-all}.more-line[data-v-6b14da88]{color:#b8c1cc}.option-group[data-v-6b14da88]{margin-bottom:20px}.column-option-group[data-v-6b14da88]{padding:14px;border-radius:10px;background:#252525;border:1px solid #2a2a2a}.column-toolbar[data-v-6b14da88]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.column-count[data-v-6b14da88]{font-size:12px;color:#a9b4bf}.column-actions[data-v-6b14da88]{display:flex;gap:8px}.column-grid[data-v-6b14da88]{display:grid;grid-template-columns:1fr;gap:8px;max-height:280px;overflow-y:auto}.empty-column-state[data-v-6b14da88]{padding:16px 12px;border-radius:8px;border:1px dashed #3a3a3a;background:#202020;color:#7f8790;font-size:12px;line-height:1.6}.column-item[data-v-6b14da88]{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;border:1px solid #2f2f2f;background:#202020;cursor:pointer;transition:all .2s ease;font-size:13px;color:#d7d7d7}.column-item[data-v-6b14da88]:hover,.column-item.active[data-v-6b14da88]{border-color:#3b6f98;background:#26313a}.column-item input[data-v-6b14da88]{margin:0}.column-item span[data-v-6b14da88]{word-break:break-all}.radio-item[data-v-6b14da88]{display:flex;align-items:flex-start;gap:10px;cursor:pointer;padding:10px 12px;border-radius:8px;background:#252525;border:1px solid #2a2a2a;margin-bottom:8px;transition:all .2s ease}.radio-item[data-v-6b14da88]:hover,.radio-item.active[data-v-6b14da88]{background:#2a2a2a;border-color:#3a3a3a}.radio-item input[data-v-6b14da88]{margin-top:3px}.label[data-v-6b14da88]{font-weight:500;color:#e0e0e0;font-size:13px}.desc[data-v-6b14da88]{font-size:12px;color:#888;margin-top:2px;line-height:1.5;font-weight:400}.run-row[data-v-6b14da88]{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;margin-top:16px}.btn-run[data-v-6b14da88]{padding:10px 22px;background:#3498db;color:#fff;border-radius:8px;font-size:14px}.btn-run[data-v-6b14da88]:hover{background:#2980b9}.btn-run[data-v-6b14da88]:disabled{background:#555;color:#999;cursor:not-allowed}.loading-msg[data-v-6b14da88]{color:#3498db;font-size:13px}.panel-header[data-v-6b14da88]{padding:16px 20px;border-bottom:1px solid #2a2a2a;font-size:15px;font-weight:600;color:#ddd}.task-list-wrap[data-v-6b14da88]{flex:1;overflow-y:auto;padding:16px}.task-list[data-v-6b14da88]{list-style:none;margin:0;padding:0}.task-item[data-v-6b14da88]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #2a2a2a;border-radius:8px;margin-bottom:10px;background:#1e1e1e}.left[data-v-6b14da88]{flex:1;min-width:0}.id[data-v-6b14da88]{display:inline-block;font-weight:600;color:#e0e0e0;font-size:13px}.files[data-v-6b14da88]{font-size:12px;color:#888;margin-top:4px}.task-right[data-v-6b14da88]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.status[data-v-6b14da88]{padding:4px 10px;border-radius:6px;font-size:12px;white-space:nowrap}.status.success[data-v-6b14da88]{background:#2ecc712e;color:#2ecc71}.status.failed[data-v-6b14da88]{background:#e74c3c2e;color:#ff6b6b}.download[data-v-6b14da88]{padding:6px 10px;border-radius:6px;font-size:12px;background:#3498db2e;color:#69b6ff}.download[data-v-6b14da88]:hover{background:#3498db47}.btn-delete[data-v-6b14da88]{padding:6px 10px;border-radius:6px;font-size:12px;background:#e74c3c1f;color:#ff8f8f}.btn-delete[data-v-6b14da88]:hover{background:#e74c3c38}.empty-tasks[data-v-6b14da88]{color:#666;font-size:13px;padding:24px 8px}.clean-placeholder[data-v-6b14da88]{max-height:none}.clean-result-summary[data-v-6b14da88]{display:grid;grid-template-columns:repeat(3,minmax(0,220px));gap:16px;margin-bottom:18px}.summary-card[data-v-6b14da88]{padding:16px 18px;border:1px solid #2a2a2a;border-radius:10px;background:#1e1e1e}.summary-card strong[data-v-6b14da88]{display:block;margin-top:8px;font-size:24px;color:#eaf4ff}.summary-label[data-v-6b14da88]{font-size:12px;color:#8d8d8d}.result-list-wrap[data-v-6b14da88]{border:1px solid #2a2a2a;border-radius:10px;background:#1e1e1e;min-height:260px}.result-list-header[data-v-6b14da88]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #2a2a2a;font-size:14px;color:#ddd}@media(max-width:1100px){.main-content[data-v-6b14da88]{flex-direction:column;height:auto}.left-panel[data-v-6b14da88]{width:100%;border-right:none;border-bottom:1px solid #2a2a2a}.right-panel[data-v-6b14da88]{min-height:420px}.task-item[data-v-6b14da88]{flex-direction:column;align-items:flex-start}.task-right[data-v-6b14da88]{width:100%;justify-content:flex-start}.clean-result-summary[data-v-6b14da88]{grid-template-columns:1fr}} diff --git a/app/assets/dedupe.js b/app/assets/dedupe.js index 2e64199..92b70fc 100644 --- a/app/assets/dedupe.js +++ b/app/assets/dedupe.js @@ -1 +1 @@ -import{d as z,o as W,a as n,c as o,b as q,B as J,e as s,F as C,r as F,t as i,f as b,n as I,w as P,v as B,g as u,h as L,i as x,E as r,j as O,k as G,l as Q,m as X,_ as Y,p as Z,q as ee}from"./pywebview-V_UIajJm.js";import{e as se}from"./brand-1nUVsWrm.js";const te={class:"page-shell module-page"},le={class:"main-content"},ae={class:"left-panel"},ne={class:"upload-zone"},oe={class:"selected-files clean-placeholder"},re={key:0,class:"more-line"},ie={key:1},ue={class:"option-group column-option-group"},ce={class:"column-toolbar"},de={class:"column-count"},ve={key:0,class:"column-grid"},pe=["value"],fe={key:1,class:"empty-column-state"},_e={class:"option-group"},me={class:"run-row"},he=["disabled"],ge={class:"loading-msg"},ye={class:"right-panel"},be={class:"task-list-wrap"},we={class:"clean-result-summary"},ke={class:"summary-card"},Ce={class:"summary-card"},Ie={class:"summary-card"},xe={class:"result-list-wrap"},Ee={key:0,class:"empty-tasks"},De={key:1,class:"task-list clean-result-list"},Fe={class:"left"},Pe=["title"],Be={key:0,class:"files"},Se={key:1,class:"files"},Ue={class:"task-right"},Ne=["onClick"],$e=["onClick"],Ae=z({__name:"BrandDedupeTab",setup(Ke){const p=u([]),c=u([]),f=u([]),w=u(""),d=u([]),S=u(!1),_=u(!0),m=u(!0),h=u(!1),k=u([]),g=u({total:0,successCount:0,failedCount:0,items:[]}),E=L(()=>f.value.slice(0,8));function $(){c.value=[...p.value]}function A(){c.value=[]}async function U(l){const e=x();if(!e?.upload_file_to_java)throw new Error("当前桌面端未提供文件上传桥接能力");const t=[];for(const a of l){const v=typeof a=="string"?a:a.absolutePath,j=typeof a=="string"?void 0:a.relativePath,y=await e.upload_file_to_java(v,j);if(!y?.success||!y.data)throw new Error(y?.error||y?.message||`上传失败:${v}`);t.push(y.data)}return t}async function N(l){const e=await X(l);if(!e.headers?.length){r.error("读取 Excel 表头失败"),p.value=[],c.value=[];return}const t=["id","ASIN","国家","价格","卖家名称"],a=[...t.filter(v=>e.headers?.includes(v)),...(e.headers||[]).filter(v=>!t.includes(v))];p.value=a,c.value=t.filter(v=>a.includes(v))}async function H(l,e){f.value=l,w.value="",d.value=await U(l),d.value.length>0&&await N(d.value[0].fileKey),r.success(e)}async function K(){const l=x();if(!l?.select_brand_xlsx_files){r.warning("当前环境不支持文件选择,请在本机客户端中打开");return}try{const e=await l.select_brand_xlsx_files();if(!e?.length)return;await H(e,`已选择 ${e.length} 个待清洗文件`)}catch(e){r.error(e instanceof Error?e.message:"选择失败")}}async function R(){const l=x();if(!l?.select_brand_folder){r.warning("当前环境不支持文件夹选择,请在本机客户端中打开");return}try{const e=await l.select_brand_folder();if(!e)return;w.value=e.split(/[/\\]/).filter(Boolean).pop()||"";const t=await se(e);if(t.success&&t.items?.length){f.value=t.items.map(a=>a.relativePath),d.value=await U(t.items),d.value.length>0&&await N(d.value[0].fileKey),r.success(`已选择文件夹内 ${t.items.length} 个 xlsx 文件`);return}r.warning(t.error||"该文件夹下没有 xlsx 文件")}catch(e){r.error(e instanceof Error?e.message:"选择失败")}}async function V(){if(!d.value.length){r.warning("请先选择待清洗 Excel 文件或文件夹");return}if(!c.value.length){r.warning("请至少选择一列保留列");return}if(!S.value&&!_.value&&!m.value){r.warning("请至少选择一种 ID 保留规则");return}try{h.value=!0;const l=await O({files:d.value.map(e=>({fileKey:e.fileKey,originalFilename:e.originalFilename,relativePath:e.relativePath})),selectedColumns:c.value,keepIntegerIds:S.value,keepUnderscoreIds:_.value,keepIntegerMainIdsWhenNoSubIds:m.value,archiveName:d.value.some(e=>!!e.relativePath)&&w.value?w.value:void 0});g.value=l,k.value=l.items||[],await D(),r.success("数据去重完成")}catch(l){r.error(l instanceof Error?l.message:"去重失败")}finally{h.value=!1}}async function D(){try{const l=await G();k.value=l.items||[],g.value={total:l.items?.length||0,successCount:l.items?.filter(e=>e.success).length||0,failedCount:l.items?.filter(e=>!e.success).length||0,items:l.items||[]}}catch{}}async function M(l){try{await Q(l),await D(),r.success("已删除")}catch(e){r.error(e instanceof Error?e.message:"删除失败")}}async function T(l){const e=x();if(!l.downloadUrl){r.warning("当前结果没有下载地址");return}const t=l.outputFilename||`${new Date().toISOString().slice(0,10).replace(/-/g,"")}_cleaned.xlsx`;if(e?.save_file_from_url){const a=await e.save_file_from_url(l.downloadUrl,t);a.success?r.success(`已保存:${a.path||t}`):a.error&&a.error!=="用户取消"&&r.error(a.error);return}window.open(l.downloadUrl,"_blank")}return W(()=>{D().catch(()=>{})}),(l,e)=>(n(),o("div",te,[q(J,{active:"dedupe"}),s("div",le,[s("aside",ae,[e[7]||(e[7]=s("div",{class:"section-title"},"选择文件",-1)),s("div",ne,[e[3]||(e[3]=s("div",{class:"hint"},"选择需要清洗的 Excel 文件或文件夹,后续将按所选规则输出处理结果。",-1)),s("div",{class:"btns"},[s("button",{type:"button",class:"opt-btn",onClick:K},"选择 Excel 文件"),s("button",{type:"button",class:"opt-btn",onClick:R},"选择文件夹")]),s("div",oe,[f.value.length?(n(),o(C,{key:0},[(n(!0),o(C,null,F(E.value,t=>(n(),o("span",{key:t},i(t),1))),128)),f.value.length>E.value.length?(n(),o("span",re," 还有 "+i(f.value.length-E.value.length)+" 个文件未展开显示 ",1)):b("",!0)],64)):(n(),o("span",ie,"暂未选择待清洗文件"))])]),e[8]||(e[8]=s("div",{class:"section-title"},"保留列设置",-1)),s("div",ue,[s("div",ce,[s("span",de,"已选择 "+i(c.value.length)+" / "+i(p.value.length)+" 列",1),s("div",{class:"column-actions"},[s("button",{type:"button",class:"opt-btn small",onClick:$},"全选"),s("button",{type:"button",class:"opt-btn small",onClick:A},"清空")])]),p.value.length?(n(),o("div",ve,[(n(!0),o(C,null,F(p.value,t=>(n(),o("label",{key:t,class:I(["column-item",{active:c.value.includes(t)}])},[P(s("input",{"onUpdate:modelValue":e[0]||(e[0]=a=>c.value=a),type:"checkbox",value:t},null,8,pe),[[B,c.value]]),s("span",null,i(t),1)],2))),128))])):(n(),o("div",fe,"请选择 Excel 文件后读取表头并填充可保留列")),e[4]||(e[4]=s("div",{class:"desc"},"读取首个 Excel 文件的第一行作为表头,用于动态选择需要保留的列。",-1))]),e[9]||(e[9]=s("div",{class:"section-title"},"ID 保留规则",-1)),s("div",_e,[s("label",{class:I(["radio-item",{active:_.value}])},[P(s("input",{"onUpdate:modelValue":e[1]||(e[1]=t=>_.value=t),type:"checkbox"},null,512),[[B,_.value]]),e[5]||(e[5]=s("div",null,[s("span",{class:"label"},"保留子链接"),s("div",{class:"desc"},"例如 1_1、2_3 这种带下划线的子项 ID")],-1))],2),s("label",{class:I(["radio-item",{active:m.value}])},[P(s("input",{"onUpdate:modelValue":e[2]||(e[2]=t=>m.value=t),type:"checkbox"},null,512),[[B,m.value]]),e[6]||(e[6]=s("div",null,[s("span",{class:"label"},"仅剩主链接无子链接"),s("div",{class:"desc"},"当某个主链接只有 13 这类主 ID、没有 13_1 这类对应子 ID 时,自动保留该主 ID")],-1))],2)]),s("div",me,[s("button",{type:"button",class:"btn-run",disabled:h.value,onClick:V},i(h.value?"清洗中...":"开始清洗"),9,he),s("span",ge,i(h.value?"正在处理文件并上传结果,请稍候…":"选择文件、列和 ID 规则后即可执行清洗,结果会显示在右侧供下载"),1)])]),s("section",ye,[e[14]||(e[14]=s("div",{class:"panel-header"},"去重结果",-1)),s("div",be,[s("div",we,[s("div",ke,[e[10]||(e[10]=s("span",{class:"summary-label"},"已处理文件",-1)),s("strong",null,i(g.value.total),1)]),s("div",Ce,[e[11]||(e[11]=s("span",{class:"summary-label"},"成功结果",-1)),s("strong",null,i(g.value.successCount),1)]),s("div",Ie,[e[12]||(e[12]=s("span",{class:"summary-label"},"失败文件",-1)),s("strong",null,i(g.value.failedCount),1)])]),s("div",xe,[e[13]||(e[13]=s("div",{class:"result-list-header"},[s("span",null,"处理后的 Excel 列表")],-1)),k.value.length===0?(n(),o("div",Ee," 暂无去重结果,完成数据去重后会在这里展示输出文件 ")):(n(),o("ul",De,[(n(!0),o(C,null,F(k.value,t=>(n(),o("li",{key:`${t.resultId||t.outputFilename||t.sourceFilename}`,class:"task-item"},[s("div",Fe,[s("span",{class:"id",title:t.sourceFilename},i(t.sourceFilename||"-"),9,Pe),t.outputFilename?(n(),o("div",Be,"输出文件:"+i(t.outputFilename),1)):b("",!0),t.error?(n(),o("div",Se,"错误信息:"+i(t.error),1)):b("",!0)]),s("div",Ue,[s("span",{class:I(["status",t.success?"success":"failed"])},i(t.success?"已完成":"失败"),3),t.success&&t.downloadUrl?(n(),o("button",{key:0,type:"button",class:"download",onClick:a=>T(t)}," 下载文件 ",8,Ne)):b("",!0),t.resultId?(n(),o("button",{key:1,type:"button",class:"btn-delete",onClick:a=>M(t.resultId)}," 删除 ",8,$e)):b("",!0)])]))),128))]))])])])])]))}}),He=Y(Ae,[["__scopeId","data-v-6b14da88"]]);Z(He).use(ee).mount("#app"); +import{d as z,o as W,a as n,c as o,b as q,B as J,e as s,F as C,r as F,t as i,f as b,n as I,w as P,v as B,g as u,h as L,i as x,E as r,j as O,k as G,l as Q,m as X,_ as Y,p as Z,q as ee}from"./pywebview-V_UIajJm.js";import{e as se}from"./brand-1nUVsWrm.js";const te={class:"page-shell module-page"},le={class:"main-content"},ae={class:"left-panel"},ne={class:"upload-zone"},oe={class:"selected-files clean-placeholder"},re={key:0,class:"more-line"},ie={key:1},ue={class:"option-group column-option-group"},ce={class:"column-toolbar"},de={class:"column-count"},ve={key:0,class:"column-grid"},pe=["value"],fe={key:1,class:"empty-column-state"},_e={class:"option-group"},me={class:"run-row"},he=["disabled"],ge={class:"loading-msg"},ye={class:"right-panel"},be={class:"task-list-wrap"},we={class:"clean-result-summary"},ke={class:"summary-card"},Ce={class:"summary-card"},Ie={class:"summary-card"},xe={class:"result-list-wrap"},Ee={key:0,class:"empty-tasks"},De={key:1,class:"task-list clean-result-list"},Fe={class:"left"},Pe=["title"],Be={key:0,class:"files"},Se={key:1,class:"files"},Ue={class:"task-right"},Ne=["onClick"],$e=["onClick"],Ae=z({__name:"BrandDedupeTab",setup(Ke){const p=u([]),c=u([]),f=u([]),w=u(""),d=u([]),S=u(!1),_=u(!0),m=u(!0),h=u(!1),k=u([]),g=u({total:0,successCount:0,failedCount:0,items:[]}),E=L(()=>f.value.slice(0,8));function $(){c.value=[...p.value]}function A(){c.value=[]}async function U(l){const e=x();if(!e?.upload_file_to_java)throw new Error("当前桌面端未提供文件上传桥接能力");const t=[];for(const a of l){const v=typeof a=="string"?a:a.absolutePath,j=typeof a=="string"?void 0:a.relativePath,y=await e.upload_file_to_java(v,j);if(!y?.success||!y.data)throw new Error(y?.error||y?.message||`上传失败:${v}`);t.push(y.data)}return t}async function N(l){const e=await X(l);if(!e.headers?.length){r.error("读取 Excel 表头失败"),p.value=[],c.value=[];return}const t=["id","ASIN","国家","价格","卖家名称"],a=[...t.filter(v=>e.headers?.includes(v)),...(e.headers||[]).filter(v=>!t.includes(v))];p.value=a,c.value=t.filter(v=>a.includes(v))}async function H(l,e){f.value=l,w.value="",d.value=await U(l),d.value.length>0&&await N(d.value[0].fileKey),r.success(e)}async function K(){const l=x();if(!l?.select_brand_xlsx_files){r.warning("当前环境不支持文件选择,请在本机客户端中打开");return}try{const e=await l.select_brand_xlsx_files();if(!e?.length)return;await H(e,`已选择 ${e.length} 个待清洗文件`)}catch(e){r.error(e instanceof Error?e.message:"选择失败")}}async function R(){const l=x();if(!l?.select_brand_folder){r.warning("当前环境不支持文件夹选择,请在本机客户端中打开");return}try{const e=await l.select_brand_folder();if(!e)return;w.value=e.split(/[/\\]/).filter(Boolean).pop()||"";const t=await se(e);if(t.success&&t.items?.length){f.value=t.items.map(a=>a.relativePath),d.value=await U(t.items),d.value.length>0&&await N(d.value[0].fileKey),r.success(`已选择文件夹内 ${t.items.length} 个 xlsx 文件`);return}r.warning(t.error||"该文件夹下没有 xlsx 文件")}catch(e){r.error(e instanceof Error?e.message:"选择失败")}}async function V(){if(!d.value.length){r.warning("请先选择待清洗 Excel 文件或文件夹");return}if(!c.value.length){r.warning("请至少选择一列保留列");return}if(!S.value&&!_.value&&!m.value){r.warning("请至少选择一种 ID 保留规则");return}try{h.value=!0;const l=await O({files:d.value.map(e=>({fileKey:e.fileKey,originalFilename:e.originalFilename,relativePath:e.relativePath})),selectedColumns:c.value,keepIntegerIds:S.value,keepUnderscoreIds:_.value,keepIntegerMainIdsWhenNoSubIds:m.value,archiveName:d.value.some(e=>!!e.relativePath)&&w.value?w.value:void 0});g.value=l,k.value=l.items||[],await D(),r.success("数据去重完成")}catch(l){r.error(l instanceof Error?l.message:"去重失败")}finally{h.value=!1}}async function D(){try{const l=await G();k.value=l.items||[],g.value={total:l.items?.length||0,successCount:l.items?.filter(e=>e.success).length||0,failedCount:l.items?.filter(e=>!e.success).length||0,items:l.items||[]}}catch{}}async function M(l){try{await Q(l),await D(),r.success("已删除")}catch(e){r.error(e instanceof Error?e.message:"删除失败")}}async function T(l){const e=x();if(!l.downloadUrl){r.warning("当前结果没有下载地址");return}const t=l.outputFilename||`${new Date().toISOString().slice(0,10).replace(/-/g,"")}_cleaned.xlsx`;if(e?.save_file_from_url_new){const a=await e.save_file_from_url_new(l.downloadUrl,t);a.success?r.success(`已保存:${a.path||t}`):a.error&&a.error!=="用户取消"&&r.error(a.error);return}window.open(l.downloadUrl,"_blank")}return W(()=>{D().catch(()=>{})}),(l,e)=>(n(),o("div",te,[q(J,{active:"dedupe"}),s("div",le,[s("aside",ae,[e[7]||(e[7]=s("div",{class:"section-title"},"选择文件",-1)),s("div",ne,[e[3]||(e[3]=s("div",{class:"hint"},"选择需要清洗的 Excel 文件或文件夹,后续将按所选规则输出处理结果。",-1)),s("div",{class:"btns"},[s("button",{type:"button",class:"opt-btn",onClick:K},"选择 Excel 文件"),s("button",{type:"button",class:"opt-btn",onClick:R},"选择文件夹")]),s("div",oe,[f.value.length?(n(),o(C,{key:0},[(n(!0),o(C,null,F(E.value,t=>(n(),o("span",{key:t},i(t),1))),128)),f.value.length>E.value.length?(n(),o("span",re," 还有 "+i(f.value.length-E.value.length)+" 个文件未展开显示 ",1)):b("",!0)],64)):(n(),o("span",ie,"暂未选择待清洗文件"))])]),e[8]||(e[8]=s("div",{class:"section-title"},"保留列设置",-1)),s("div",ue,[s("div",ce,[s("span",de,"已选择 "+i(c.value.length)+" / "+i(p.value.length)+" 列",1),s("div",{class:"column-actions"},[s("button",{type:"button",class:"opt-btn small",onClick:$},"全选"),s("button",{type:"button",class:"opt-btn small",onClick:A},"清空")])]),p.value.length?(n(),o("div",ve,[(n(!0),o(C,null,F(p.value,t=>(n(),o("label",{key:t,class:I(["column-item",{active:c.value.includes(t)}])},[P(s("input",{"onUpdate:modelValue":e[0]||(e[0]=a=>c.value=a),type:"checkbox",value:t},null,8,pe),[[B,c.value]]),s("span",null,i(t),1)],2))),128))])):(n(),o("div",fe,"请选择 Excel 文件后读取表头并填充可保留列")),e[4]||(e[4]=s("div",{class:"desc"},"读取首个 Excel 文件的第一行作为表头,用于动态选择需要保留的列。",-1))]),e[9]||(e[9]=s("div",{class:"section-title"},"ID 保留规则",-1)),s("div",_e,[s("label",{class:I(["radio-item",{active:_.value}])},[P(s("input",{"onUpdate:modelValue":e[1]||(e[1]=t=>_.value=t),type:"checkbox"},null,512),[[B,_.value]]),e[5]||(e[5]=s("div",null,[s("span",{class:"label"},"保留子链接"),s("div",{class:"desc"},"例如 1_1、2_3 这种带下划线的子项 ID")],-1))],2),s("label",{class:I(["radio-item",{active:m.value}])},[P(s("input",{"onUpdate:modelValue":e[2]||(e[2]=t=>m.value=t),type:"checkbox"},null,512),[[B,m.value]]),e[6]||(e[6]=s("div",null,[s("span",{class:"label"},"仅剩主链接无子链接"),s("div",{class:"desc"},"当某个主链接只有 13 这类主 ID、没有 13_1 这类对应子 ID 时,自动保留该主 ID")],-1))],2)]),s("div",me,[s("button",{type:"button",class:"btn-run",disabled:h.value,onClick:V},i(h.value?"清洗中...":"开始清洗"),9,he),s("span",ge,i(h.value?"正在处理文件并上传结果,请稍候…":"选择文件、列和 ID 规则后即可执行清洗,结果会显示在右侧供下载"),1)])]),s("section",ye,[e[14]||(e[14]=s("div",{class:"panel-header"},"去重结果",-1)),s("div",be,[s("div",we,[s("div",ke,[e[10]||(e[10]=s("span",{class:"summary-label"},"已处理文件",-1)),s("strong",null,i(g.value.total),1)]),s("div",Ce,[e[11]||(e[11]=s("span",{class:"summary-label"},"成功结果",-1)),s("strong",null,i(g.value.successCount),1)]),s("div",Ie,[e[12]||(e[12]=s("span",{class:"summary-label"},"失败文件",-1)),s("strong",null,i(g.value.failedCount),1)])]),s("div",xe,[e[13]||(e[13]=s("div",{class:"result-list-header"},[s("span",null,"处理后的 Excel 列表")],-1)),k.value.length===0?(n(),o("div",Ee," 暂无去重结果,完成数据去重后会在这里展示输出文件 ")):(n(),o("ul",De,[(n(!0),o(C,null,F(k.value,t=>(n(),o("li",{key:`${t.resultId||t.outputFilename||t.sourceFilename}`,class:"task-item"},[s("div",Fe,[s("span",{class:"id",title:t.sourceFilename},i(t.sourceFilename||"-"),9,Pe),t.outputFilename?(n(),o("div",Be,"输出文件:"+i(t.outputFilename),1)):b("",!0),t.error?(n(),o("div",Se,"错误信息:"+i(t.error),1)):b("",!0)]),s("div",Ue,[s("span",{class:I(["status",t.success?"success":"failed"])},i(t.success?"已完成":"失败"),3),t.success&&t.downloadUrl?(n(),o("button",{key:0,type:"button",class:"download",onClick:a=>T(t)}," 下载文件 ",8,Ne)):b("",!0),t.resultId?(n(),o("button",{key:1,type:"button",class:"btn-delete",onClick:a=>M(t.resultId)}," 删除 ",8,$e)):b("",!0)])]))),128))]))])])])])]))}}),He=Y(Ae,[["__scopeId","data-v-fb6e6263"]]);Z(He).use(ee).mount("#app"); diff --git a/app/assets/delete-brand.js b/app/assets/delete-brand.js index 092e1ce..fa57f35 100644 --- a/app/assets/delete-brand.js +++ b/app/assets/delete-brand.js @@ -1 +1 @@ -import{d as Oe,o as He,I as Je,a as u,c,b as Ge,B as je,e as o,F as O,r as oe,t as f,f as p,J as Ve,K as Fe,n as Ne,g as m,h as Y,L as ze,i as H,E as h,M as Qe,N as Xe,O as We,P as Ye,_ as Ze,p as es,q as ss}from"./pywebview-V_UIajJm.js";import{e as ts}from"./brand-1nUVsWrm.js";const ns={class:"page-shell module-page"},as={class:"main-content"},ls={class:"left-panel"},os={class:"upload-zone"},rs={class:"selected-files clean-placeholder split-selected-files"},is={key:0,class:"more-line"},us={key:1},cs={class:"run-row"},ds=["disabled"],fs={class:"loading-msg"},vs={key:0,class:"queue-debug-card"},ps={key:0,class:"queue-debug-line"},hs={key:1,class:"queue-debug-payload"},_s={class:"right-panel"},gs={class:"task-list-wrap"},ys={class:"clean-result-summary"},ks={class:"summary-card"},ms={class:"summary-card"},ws={class:"summary-card"},Is={class:"result-list-wrap"},Ss={key:0,class:"empty-tasks"},bs={key:0,class:"result-subsection"},Cs={class:"task-list clean-result-list"},Ts={class:"left split-result-main"},Fs=["title"],Ns={class:"files"},Es={class:"files"},Rs={key:0,class:"files"},xs={key:1,class:"files"},$s={key:2,class:"files"},Ps={key:3,class:"time"},As={key:4,class:"delete-brand-progress-block"},Ds={class:"delete-brand-progress-header"},Ms={class:"delete-brand-progress-bar"},Bs={class:"files delete-brand-progress"},Us={key:5,class:"files split-entry-list delete-brand-preview"},qs={key:6,class:"files"},Ls={class:"task-right split-result-actions"},Ks=["onClick"],Os=["onClick"],Hs=["onClick"],Js={key:1,class:"result-subsection"},Gs={class:"task-list clean-result-list"},js={class:"left split-result-main"},Vs=["title"],zs={class:"files"},Qs={class:"files"},Xs={key:0,class:"files"},Ws={key:1,class:"files"},Ys={key:2,class:"time"},Zs={key:3,class:"delete-brand-progress-block"},et={class:"delete-brand-progress-header"},st={class:"delete-brand-progress-bar"},tt={class:"files delete-brand-progress"},nt={key:4,class:"files split-entry-list delete-brand-preview"},at={key:5,class:"files"},lt={class:"task-right split-result-actions"},ot=["onClick"],rt=["onClick"],it=Oe({__name:"BrandDeleteBrandTab",setup(ct){function M(){return`delete-brand:current-tasks:${typeof window<"u"&&window.localStorage.getItem("uid")||"0"}`}const $=m([]),J=m([]),B=m(!1),re=m([]),v=m([]),G=m([]),j=m({total:0,successCount:0,failedCount:0,items:[]}),T=m(""),C=m(""),g=m({}),S=m(null),Z=m(!1),P=m(!1),A=m(""),V=m(!1),ee=Y(()=>$.value.slice(0,10)),F=Y(()=>{const e=[];return v.value.forEach(s=>{e.push(...s.items)}),e});function Ee(){try{const e=typeof window<"u"?window.localStorage.getItem(M()):null;if(e){if(v.value=JSON.parse(e),v.value.length>0){const s=v.value[v.value.length-1];T.value=s.queuePushResult||"",C.value=s.queuePayloadText||""}}else v.value=[]}catch{v.value=[]}}function ie(e,s,t,n){if(!s?.length)return;const a=v.value.findIndex(d=>d.taskId===e),r=a>=0?v.value[a]:null,l=s.map(d=>{const _=r?.items.find(Ke=>D(Ke,d)),k=Array.isArray(d.countries)?d.countries:void 0,y=Array.isArray(_?.countries)?_?.countries:void 0,w=k&&k.length>0?k:y&&y.length>0?y:k??y,I=Array.isArray(d.previewRows)?d.previewRows:void 0,b=Array.isArray(_?.previewRows)?_?.previewRows:void 0,le=I&&I.length>0?I:b&&b.length>0?b:I??b;return{...d,countries:w,previewRows:le,_pushed:_?._pushed??d._pushed??!1,_completed:_?._completed??d._completed??!1}}),i={taskId:e,items:l,createdAt:r?.createdAt||Date.now(),queuePushResult:t??r?.queuePushResult,queuePayloadText:n??r?.queuePayloadText};a>=0?v.value[a]=i:v.value.push(i),typeof window<"u"&&window.localStorage.setItem(M(),JSON.stringify(v.value))}function ue(e){const s=v.value.length;v.value=v.value.filter(t=>t.taskId!==e),v.value.length!==s&&typeof window<"u"&&window.localStorage.setItem(M(),JSON.stringify(v.value))}const z=Y(()=>G.value.filter(e=>!F.value.some(s=>D(s,e)))),Re=Y(()=>F.value.length>0||z.value.length>0);function ce(){typeof window<"u"&&window.localStorage.setItem(M(),JSON.stringify(v.value))}function N(e){return e?(v.value.find(t=>t.taskId===e)?.items.length||0)>1:!1}function U(e){return e&&v.value.find(s=>s.taskId===e)||null}function D(e,s){return!e||!s?!1:e.resultId!=null&&s.resultId!=null?e.resultId===s.resultId:e.fileKey&&s.fileKey?e.fileKey===s.fileKey:e.sourceFilename===s.sourceFilename}function E(e,s){const t=U(e);return t&&t.items.find(n=>D(n,s))||null}function de(e){if(!e)return!1;const s=U(e);if(!s)return!1;let t=!1;const n=g.value[e]?.line_progress?.info,a=N(e);if(n?.file_name&&n.current_line!=null&&n.total_lines!=null&&n.total_lines>0&&n.current_line>=n.total_lines){const r=s.items.find(l=>l.sourceFilename===n.file_name);r&&!r._completed&&(r._completed=!0,t=!0)}if(!a){const r=g.value[e]?.task?.status;if((r==="SUCCESS"||r==="FAILED")&&s.items.length===1){const l=s.items[0];l&&!l._completed&&(l._completed=!0,t=!0)}}return t&&ce(),t}function fe(e){return e&&g.value[e]?.task?.status||""}function Q(e){if(e.error)return e.error;if(e.matchStatus&&e.matchStatus!=="MATCHED")return e.matchMessage||"";const s=e.taskId;return s&&g.value[s]?.task?.errorMessage||""}function ve(e){const s=e.taskId;if(!s)return!1;const t=g.value[s]?.line_progress,n=fe(s),a=N(s),r=x(e);if(a){const l=E(s,e),i=K(e)===A.value,d=!!(t?.has_progress&&t?.info?.file_name===e.sourceFilename);return!!(i||d||l?._pushed||(n==="RUNNING"||n==="PENDING"||!n)&&l?._completed)}return r==="本文件解析完毕"||r==="已被全局判定为终态"?!1:t?.has_progress||t?.info?!0:r==="已入队"||r==="处理中"}function pe(e){return e.map(s=>s.matchStatus==="MATCHED"?{...s,_pushed:!1,_completed:!1}:{...s,matched:!1,openStoreUrl:void 0,error:s.error||void 0,_pushed:!1,_completed:!1})}function he(e){return e.matchStatus==="MATCHED"?`已匹配 ${e.shopId||""}`.trim():e.matchMessage?e.matchMessage:e.matchStatus==="CONFLICT"?"存在多个同名店铺,请人工确认":e.matchStatus==="PENDING"||e.matchStatus==="INDEX_STALE"?"店铺索引暂未就绪":e.matchStatus?e.matchStatus:e.matched?`已匹配 ${e.shopId||""}`.trim():"待匹配"}function xe(){re.value=[...F.value,...z.value]}function R(){xe(),$e(re.value)}function $e(e){j.value={total:e.length,successCount:e.filter(s=>s.success).length,failedCount:e.filter(s=>!s.success).length,items:e}}function se(e){const s=e.taskId;return s&&(g.value[s]?.fileProgress||[]).find(a=>a.fileKey&&e.fileKey?a.fileKey===e.fileKey:a.sourceFilename&&e.sourceFilename?a.sourceFilename===e.sourceFilename:!1)||null}function _e(e){const s=e.taskId;if(!s)return"";const t=g.value[s],n=t?.line_progress?.info,a=se(e);if(N(s)){const i=E(s,e),d=t?.task?.status,_=!!(n?.file_name&&n.file_name===e.sourceFilename);let k=i?._completed?"COMPLETED":(i?._pushed,"PENDING"),y=0,w=Math.max(0,e.totalRows??a?.totalRows??0);d==="SUCCESS"||d==="FAILED"&&i?._completed?(k="COMPLETED",y=w):_?(k="RUNNING",y=Math.max(0,Math.min(w||Number.MAX_SAFE_INTEGER,n?.current_line??0)),!w&&n?.total_lines&&n.total_lines>0&&(w=n.total_lines)):i?._completed?(k="COMPLETED",y=w):i?._pushed&&(k="PENDING",y=0);const I=[];if(I.push(`文件状态:${k}`),I.push(`文件进度:${y}/${w}`),n?.finished_files!=null){const b=n.file_total&&n.file_total>0?`/${n.file_total}`:"";I.push(`已完成文件:${n.finished_files}${b}`)}return n?.phase&&I.push(`阶段:${n.phase}`),I.join("|")}if(a){const i=[],d=a.processedRows??0,_=a.totalRows??0;if(a.status&&i.push(`文件状态:${a.status}`),i.push(`文件进度:${d}/${_}`),n?.finished_files!=null){const k=n.file_total&&n.file_total>0?`/${n.file_total}`:"";i.push(`已完成文件:${n.finished_files}${k}`)}return n?.phase&&i.push(`阶段:${n.phase}`),i.join("|")}if(!t?.line_progress?.has_progress||!n){const i=t?.task?.status;return i?`任务状态:${i}`:""}const l=[];if(n.phase&&l.push(`阶段:${n.phase}`),n.file_index&&n.file_total&&l.push(`文件:${n.file_index}/${n.file_total}`),n.file_name&&l.push(`当前文件:${n.file_name}`),n.current_line!=null&&n.total_lines!=null&&l.push(`${N(s)?"当前文件进度":"进度"}:${n.current_line}/${n.total_lines}`),n.current_country&&l.push(`国家:${n.current_country}`),n.current_asin&&l.push(`ASIN:${n.current_asin}`),n.finished_files!=null){const i=n.file_total&&n.file_total>0?`/${n.file_total}`:"";l.push(`已完成文件:${n.finished_files}${i}`)}return l.join("|")}function X(e){const s=e.taskId;if(!s)return 0;const t=g.value[s]?.line_progress?.info;if(N(s)){const l=E(s,e);if(g.value[s]?.task?.status==="SUCCESS"||l?._completed)return 100;const d=Math.max(0,e.totalRows??se(e)?.totalRows??0);if(!!(t?.file_name&&t.file_name===e.sourceFilename)){if(t?.current_line!=null&&t?.total_lines&&t.total_lines>0)return Math.max(0,Math.min(100,Math.round(t.current_line/t.total_lines*100)));if(t?.current_line!=null&&d>0)return Math.max(0,Math.min(100,Math.round(t.current_line/d*100)))}return 0}const a=se(e);return a?Math.max(0,Math.min(100,a.percent??0)):t?t.current_line!=null&&t.total_lines&&t.total_lines>0?Math.max(0,Math.min(100,Math.round(t.current_line/t.total_lines*100))):t.finished_files!=null&&t.file_total&&t.file_total>0?Math.max(0,Math.min(100,Math.round(t.finished_files/t.file_total*100))):g.value[s]?.task?.status==="SUCCESS"?100:0:0}function ge(e){const s=g.value[e]?.task?.status;return s==="SUCCESS"||s==="FAILED"}function q(){const e=new Set;return v.value.forEach(s=>{s.items.some(t=>t._pushed)&&e.add(s.taskId)}),Array.from(e)}function x(e){const s=e.taskId;if(!s||!U(s))return"";const n=E(s,e),a=fe(s),r=g.value[s]?.line_progress,l=N(s);if(!l&&(a==="SUCCESS"||a==="FAILED"||e.taskStatus==="SUCCESS"||e.taskStatus==="FAILED"))return"已被全局判定为终态";if(n?._completed)return"本文件解析完毕";if(a==="RUNNING"&&r?.has_progress&&r?.info?.file_name===e.sourceFilename)return"处理中";if(l&&!n?._pushed&&!n?._completed)return"未入队";if(l&&a==="SUCCESS")return"本文件解析完毕";if(!l){const i=g.value[s];if(i?.items&&i.items.find(_=>D(_,e))&&a==="SUCCESS")return"本文件解析完毕"}return n?._pushed?"已入队":"未入队"}function ye(e){if(e.downloadUrl)return!0;const s=e.taskId;return s?g.value[s]?.task?.status==="SUCCESS":!1}function Pe(e){const s=e?.task?.id;if(!s)return!1;const t=v.value.find(l=>l.taskId===s);if(!t)return!1;const n=e?.items||[];let a=!1;const r=t.items.map(l=>{const i=n.find(le=>D(le,l));if(!i)return l;const d=Array.isArray(i.countries)?i.countries:void 0,_=Array.isArray(l.countries)?l.countries:void 0,k=d&&d.length>0?d:_&&_.length>0?_:d??_,y=Array.isArray(i.previewRows)?i.previewRows:void 0,w=Array.isArray(l.previewRows)?l.previewRows:void 0,I=y&&y.length>0?y:w&&w.length>0?w:y??w,b={...l,...i,countries:k,previewRows:I,_pushed:l._pushed,_completed:l._completed};return JSON.stringify(b)!==JSON.stringify(l)&&(a=!0),b});for(const l of n)r.some(i=>D(i,l))||(r.push({...l,_pushed:!1,_completed:!1}),a=!0);return JSON.stringify(r)!==JSON.stringify(t.items)&&(t.items=r,a=!0),a&&ce(),a}async function te(e){const s=e||q();if(s.length)try{const t=await ze(s);let n=!1;for(const a of t.items||[]){const r=a?.task?.id;typeof r=="number"&&r>0&&(g.value[r]=a,Pe(a)&&(n=!0),de(r)&&(n=!0))}n&&R()}catch{}}function Ae(){return document.visibilityState==="visible"?4500:1e4}function ne(e=!1){if(S.value){if(!e)return;clearTimeout(S.value),S.value=null}const s=async()=>{if(S.value=null,Z.value){ne();return}const t=q();if(!t.length)return;Z.value=!0;let n=!1,a=!1;try{await te(t),await qe();for(const r of t)ge(r)&&(U(r)?.items?.every(d=>d._completed)??!0)&&(ue(r),n=!0,a=!0)}finally{Z.value=!1}a?await L():n&&R(),q().length>0&&ne()};e?s():S.value=window.setTimeout(s,Ae())}function ae(e=!1){S.value&&!e||ne(e)}function W(e){const s=e.taskId?g.value[e.taskId]?.task?.status:null;return s==="SUCCESS"?{className:"success",text:"已完成"}:s==="FAILED"?{className:"failed",text:"失败"}:s==="RUNNING"?{className:"running",text:"执行中"}:e.taskStatus==="SUCCESS"?{className:"success",text:"已完成"}:e.taskStatus==="FAILED"?{className:"failed",text:"失败"}:e.taskStatus==="RUNNING"?{className:"running",text:"执行中"}:e.success?{className:"success",text:"已完成"}:{className:"failed",text:"失败"}}function ke(){S.value&&(window.clearTimeout(S.value),S.value=null)}async function me(e){const s=H();if(!s?.upload_file_to_java)throw new Error("当前桌面端未提供文件上传桥接能力");const t=[];for(const n of e){const a=typeof n=="string"?n:n.absolutePath,r=typeof n=="string"?void 0:n.relativePath,l=await s.upload_file_to_java(a,r);if(!l?.success||!l.data)throw new Error(l?.error||l?.message||`上传失败:${a}`);t.push(l.data)}return t}async function De(){const e=H();if(!e?.select_brand_xlsx_files){h.warning("当前环境不支持文件选择,请在本机客户端中打开");return}try{const s=await e.select_brand_xlsx_files();if(!s?.length)return;$.value=s,J.value=await me(s),h.success(`已选择 ${s.length} 个删除品牌文件`)}catch(s){h.error(s instanceof Error?s.message:"选择失败")}}async function Me(){const e=H();if(!e?.select_brand_folder){h.warning("当前环境不支持文件夹选择,请在本机客户端中打开");return}try{const s=await e.select_brand_folder();if(!s)return;const t=await ts(s);if(!t.success||!t.items?.length){h.warning(t.error||"该文件夹下没有 xlsx 文件");return}$.value=t.items.map(n=>n.relativePath||n.absolutePath),J.value=await me(t.items),h.success(`已选择文件夹内 ${t.items.length} 个 xlsx 文件`)}catch(s){h.error(s instanceof Error?s.message:"选择失败")}}async function Be(){if(!J.value.length){h.warning("请先选择待处理文件");return}try{B.value=!0;const e=await Qe({files:J.value.map(a=>({fileKey:a.fileKey,originalFilename:a.originalFilename,relativePath:a.relativePath}))}),s=pe(e.items||[]),t=s.some(a=>a.matchStatus==="MATCHED"),n=s.some(a=>a.matchStatus&&a.matchStatus!=="MATCHED");T.value="解析完成,等待手动点击打开紫鸟进行单任务处理",C.value="",s.length&&s[0].taskId&&ie(s[0].taskId,s,T.value,C.value),R(),n?h.warning("部分文件尚未命中可用店铺索引,已保留状态信息,请等待后台刷新后重试。"):t?h.success("删除品牌解析完成,请手动推送"):h.warning("当前没有可推送的已匹配文件,请先等待店铺索引刷新。"),await L()}catch(e){h.error(e instanceof Error?e.message:"执行失败")}finally{B.value=!1}}async function we(e){const s=e.taskId;if(!s){h.warning("未找到任务ID");return}const t=H(),n=Xe(s),a=e.outputFilename||e.sourceFilename||`delete-brand_${s}.xlsx`;if(t?.save_file_from_url){const r=await t.save_file_from_url(n,a);r.success?h.success(`已保存:${r.path||a}`):r.error&&r.error!=="用户取消"&&h.error(r.error);return}window.open(n,"_blank")}async function L(){try{const e=await We();G.value=pe(e.items||[]),R(),await te(),ae(!0)}catch(e){console.error("loadHistory error:",e)}}function Ie(e){v.value.forEach(t=>{t.items=t.items.filter(n=>n.resultId!==e)});const s=v.value.length;v.value=v.value.filter(t=>t.items.length>0),v.value.length!==s&&typeof window<"u"&&window.localStorage.setItem(M(),JSON.stringify(v.value)),G.value=G.value.filter(t=>t.resultId!==e),R(),q().length===0&&ke()}async function Se(e){try{await Ye(e),Ie(e),await L(),h.success("已删除")}catch(s){const t=s instanceof Error?s.message:"删除失败";if(typeof t=="string"&&t.includes("记录不存在")){Ie(e),h.success("已删除");return}h.error(t)}}function be(e){const s=e.slice(0,5).map(n=>`${n.country}:${n.asin}${n.status?`(${n.status})`:""}`);return e.length-s.length>0?`${s.join("、")} 等 ${e.length} 条`:s.join("、")}function dt(e,s){}function Ce(){for(const e of v.value)for(const s of e.items){const t=x(s);if(t==="已入队"||t==="处理中")return!0}return!1}function K(e){return e.resultId!=null?`result:${e.resultId}`:`task:${e.taskId||0}:${e.sourceFilename||""}`}function Ue(){return F.value.find(e=>!e.openStoreUrl||K(e)===A.value||E(e.taskId,e)?._completed?!1:x(e)==="未入队")}async function Te(e,s){if(s?.auto&&Ce())return e.taskId,e.sourceFilename,!1;const t=H(),n=e.taskId;if(!n)return!1;const a=v.value.find(d=>d.taskId===n);if(!a)return!1;if(!t?.enqueue_json)return h.error("当前环境未启用 pywebview enqueue_json(浏览器环境不会推送)"),!1;const r={type:"delete-brand-run",ts:Date.now(),data:{taskId:n,items:[e]}};C.value=JSON.stringify(r,null,2);const l=await t.enqueue_json(r);let i="";if(l?.success){i=`已推送文件 ${e.sourceFilename},当前队列长度:${l.queue_size??"-"}`;const d=E(n,e);d&&(d._pushed=!0,d._completed=!1),A.value=K(e),ie(n,a.items,i,C.value),ae(!0)}else i=`推送到 Python 队列失败:${l?.error||"未知错误"}`;return T.value=i,!!l?.success}async function qe(){if(!P.value||V.value){P.value,V.value;return}if(Ce())return;const e=A.value;if(e){const t=F.value.find(n=>K(n)===e);if(t){const n=t.taskId,a=N(n);a&&(de(n),x(t),void 0);const r=x(t);if(r==="已入队"||r==="处理中"){t.sourceFilename;return}if(a){const l=E(n,t);if(l&&!l._completed){t.sourceFilename,l._pushed,l._completed;return}}}}const s=Ue();if(!s){A.value="",P.value=!1;return}V.value=!0;try{s.taskId,s.sourceFilename,K(s),await Te(s,{auto:!0})||(s.taskId,s.sourceFilename,P.value=!1)}finally{V.value=!1}}async function Le(e){P.value=!0,await Te(e)||(P.value=!1,A.value="")}return He(()=>{Ee();const e=q();e.length>0?te(e).then(async()=>{let s=!1,t=!1;for(const n of e)ge(n)&&(U(n)?.items?.every(l=>l._completed)??!0)&&(ue(n),s=!0,t=!0);t?await L():s&&R(),ae(!0)}):R(),L().catch(()=>{})}),Je(()=>{ke()}),(e,s)=>(u(),c("div",ns,[Ge(je,{active:"delete-brand"}),o("div",as,[o("aside",ls,[s[2]||(s[2]=o("div",{class:"section-title"},"选择文件",-1)),o("div",os,[s[0]||(s[0]=o("div",{class:"hint"},"上传删除品牌 Excel;无论是直接上传文件还是上传文件夹批量导入,都会按每个 Excel 文件名作为店铺名。",-1)),o("div",{class:"btns"},[o("button",{type:"button",class:"opt-btn",onClick:De},"选择 Excel 文件"),o("button",{type:"button",class:"opt-btn",onClick:Me},"选择文件夹")]),o("div",rs,[$.value.length?(u(),c(O,{key:0},[(u(!0),c(O,null,oe(ee.value,t=>(u(),c("span",{key:t},f(t),1))),128)),$.value.length>ee.value.length?(u(),c("span",is," 还有 "+f($.value.length-ee.value.length)+" 个文件未展开显示 ",1)):p("",!0)],64)):(u(),c("span",us,"暂未选择删除品牌文件"))])]),s[3]||(s[3]=Ve('
执行说明
',2)),o("div",cs,[o("button",{type:"button",class:"btn-run",disabled:B.value,onClick:Be},f(B.value?"解析中...":"开始解析"),9,ds),o("span",fs,f(B.value?"正在读取删除品牌数据,请稍候…":"解析后会在右侧展示按国家分组的去重结果"),1)]),T.value||C.value?(u(),c("div",vs,[s[1]||(s[1]=o("div",{class:"section-title queue-debug-title"},"Python 队列推送结果",-1)),T.value?(u(),c("div",ps,f(T.value),1)):p("",!0),C.value?(u(),c("pre",hs,f(C.value),1)):p("",!0)])):p("",!0)]),o("section",_s,[s[12]||(s[12]=o("div",{class:"panel-header"},"删除品牌结果",-1)),o("div",gs,[o("div",ys,[o("div",ks,[s[4]||(s[4]=o("span",{class:"summary-label"},"已处理文件",-1)),o("strong",null,f(j.value.total),1)]),o("div",ms,[s[5]||(s[5]=o("span",{class:"summary-label"},"成功结果",-1)),o("strong",null,f(j.value.successCount),1)]),o("div",ws,[s[6]||(s[6]=o("span",{class:"summary-label"},"失败文件",-1)),o("strong",null,f(j.value.failedCount),1)])]),o("div",Is,[s[11]||(s[11]=o("div",{class:"result-list-header"},[o("span",null,"删除品牌结果列表")],-1)),Re.value?(u(),c(O,{key:1},[F.value.length?(u(),c("div",bs,[s[8]||(s[8]=o("div",{class:"result-subsection-title"},"当前任务",-1)),o("ul",Cs,[(u(!0),c(O,null,oe(F.value,t=>(u(),c("li",{key:`current-${t.taskId||t.resultId||t.sourceFilename}`,class:"task-item split-result-item"},[o("div",Ts,[o("span",{class:"id",title:t.sourceFilename},f(t.sourceFilename||"-"),9,Fs),o("div",Ns,"店铺名:"+f(t.shopName||"-"),1),o("div",Es,"匹配结果:"+f(he(t)),1),t.platform?(u(),c("div",Rs,"平台:"+f(t.platform),1)):p("",!0),x(t)?(u(),c("div",xs,"队列状态:"+f(x(t)),1)):p("",!0),t.countryCount!==void 0&&t.matched?(u(),c("div",$s,"国家数:"+f(t.countryCount),1)):p("",!0),t.totalRows!==void 0&&t.matched?(u(),c("div",Ps,"去重后 "+f(t.totalRows)+" 条 ",1)):p("",!0),ve(t)?(u(),c("div",As,[o("div",Ds,[s[7]||(s[7]=o("span",null,"任务进度",-1)),o("span",null,f(X(t))+"%",1)]),o("div",Ms,[o("div",{class:"delete-brand-progress-bar-fill",style:Fe({width:`${X(t)}%`})},null,4)]),o("div",Bs,f(_e(t)),1)])):p("",!0),t.previewRows?.length?(u(),c("div",Us,f(be(t.previewRows)),1)):p("",!0),Q(t)?(u(),c("div",qs,"错误信息:"+f(Q(t)),1)):p("",!0)]),o("div",Ls,[o("span",{class:Ne(["status",W(t).className])},f(W(t).text),3),t.openStoreUrl?(u(),c("button",{key:0,type:"button",class:"download",onClick:n=>Le(t)}," 打开紫鸟 ",8,Ks)):p("",!0),ye(t)?(u(),c("button",{key:1,type:"button",class:"download",onClick:n=>we(t)}," 下载 ",8,Os)):p("",!0),t.resultId?(u(),c("button",{key:2,type:"button",class:"btn-delete",onClick:n=>Se(t.resultId)}," 删除 ",8,Hs)):p("",!0)])]))),128))])])):p("",!0),z.value.length?(u(),c("div",Js,[s[10]||(s[10]=o("div",{class:"result-subsection-title"},"历史记录",-1)),o("ul",Gs,[(u(!0),c(O,null,oe(z.value,t=>(u(),c("li",{key:`history-${t.taskId||t.resultId||t.sourceFilename}`,class:"task-item split-result-item"},[o("div",js,[o("span",{class:"id",title:t.sourceFilename},f(t.sourceFilename||"-"),9,Vs),o("div",zs,"店铺名:"+f(t.shopName||"-"),1),o("div",Qs,"匹配结果:"+f(he(t)),1),t.platform?(u(),c("div",Xs,"平台:"+f(t.platform),1)):p("",!0),t.countryCount!==void 0&&t.matched?(u(),c("div",Ws,"国家数:"+f(t.countryCount),1)):p("",!0),t.totalRows!==void 0&&t.matched?(u(),c("div",Ys,"去重后 "+f(t.totalRows)+" 条 ",1)):p("",!0),ve(t)?(u(),c("div",Zs,[o("div",et,[s[9]||(s[9]=o("span",null,"任务进度",-1)),o("span",null,f(X(t))+"%",1)]),o("div",st,[o("div",{class:"delete-brand-progress-bar-fill",style:Fe({width:`${X(t)}%`})},null,4)]),o("div",tt,f(_e(t)),1)])):p("",!0),t.previewRows?.length?(u(),c("div",nt,f(be(t.previewRows)),1)):p("",!0),Q(t)?(u(),c("div",at,"错误信息:"+f(Q(t)),1)):p("",!0)]),o("div",lt,[o("span",{class:Ne(["status",W(t).className])},f(W(t).text),3),ye(t)?(u(),c("button",{key:0,type:"button",class:"download",onClick:n=>we(t)}," 下载 ",8,ot)):p("",!0),t.resultId?(u(),c("button",{key:1,type:"button",class:"btn-delete",onClick:n=>Se(t.resultId)}," 删除 ",8,rt)):p("",!0)])]))),128))])])):p("",!0)],64)):(u(),c("div",Ss," 暂无删除品牌结果,完成解析后会在这里展示按国家分组的去重结果 "))])])])])]))}}),ut=Ze(it,[["__scopeId","data-v-d37369fa"]]);es(ut).use(ss).mount("#app"); +import{d as Oe,o as He,I as Je,a as u,c,b as Ge,B as je,e as o,F as K,r as oe,t as f,f as p,J as Ve,K as Fe,n as Ne,g as m,h as W,L as ze,i as O,E as h,M as Qe,N as Xe,O as We,P as Ye,_ as Ze,p as es,q as ss}from"./pywebview-V_UIajJm.js";import{e as ts}from"./brand-1nUVsWrm.js";const ns={class:"page-shell module-page"},as={class:"main-content"},ls={class:"left-panel"},os={class:"upload-zone"},rs={class:"selected-files clean-placeholder split-selected-files"},is={key:0,class:"more-line"},us={key:1},cs={class:"run-row"},ds=["disabled"],fs={class:"loading-msg"},vs={key:0,class:"queue-debug-card"},ps={key:0,class:"queue-debug-line"},hs={key:1,class:"queue-debug-payload"},_s={class:"right-panel"},gs={class:"task-list-wrap"},ys={class:"clean-result-summary"},ks={class:"summary-card"},ms={class:"summary-card"},ws={class:"summary-card"},Is={class:"result-list-wrap"},Ss={key:0,class:"empty-tasks"},bs={key:0,class:"result-subsection"},Cs={class:"task-list clean-result-list"},Ts={class:"left split-result-main"},Fs=["title"],Ns={class:"files"},Es={class:"files"},Rs={key:0,class:"files"},xs={key:1,class:"files"},$s={key:2,class:"files"},Ps={key:3,class:"time"},As={key:4,class:"delete-brand-progress-block"},Ds={class:"delete-brand-progress-header"},Ms={class:"delete-brand-progress-bar"},Bs={class:"files delete-brand-progress"},Us={key:5,class:"files split-entry-list delete-brand-preview"},qs={key:6,class:"files"},Ls={class:"task-right split-result-actions"},Ks=["onClick"],Os=["onClick"],Hs=["onClick"],Js={key:1,class:"result-subsection"},Gs={class:"task-list clean-result-list"},js={class:"left split-result-main"},Vs=["title"],zs={class:"files"},Qs={class:"files"},Xs={key:0,class:"files"},Ws={key:1,class:"files"},Ys={key:2,class:"time"},Zs={key:3,class:"delete-brand-progress-block"},et={class:"delete-brand-progress-header"},st={class:"delete-brand-progress-bar"},tt={class:"files delete-brand-progress"},nt={key:4,class:"files split-entry-list delete-brand-preview"},at={key:5,class:"files"},lt={class:"task-right split-result-actions"},ot=["onClick"],rt=["onClick"],it=Oe({__name:"BrandDeleteBrandTab",setup(ct){function M(){return`delete-brand:current-tasks:${typeof window<"u"&&window.localStorage.getItem("uid")||"0"}`}const $=m([]),H=m([]),B=m(!1),re=m([]),v=m([]),J=m([]),G=m({total:0,successCount:0,failedCount:0,items:[]}),T=m(""),C=m(""),g=m({}),S=m(null),Y=m(!1),P=m(!1),A=m(""),j=m(!1),Z=W(()=>$.value.slice(0,10)),F=W(()=>{const e=[];return v.value.forEach(s=>{e.push(...s.items)}),e});function Ee(){try{const e=typeof window<"u"?window.localStorage.getItem(M()):null;if(e){if(v.value=JSON.parse(e),v.value.length>0){const s=v.value[v.value.length-1];T.value=s.queuePushResult||"",C.value=s.queuePayloadText||""}}else v.value=[]}catch{v.value=[]}}function ie(e,s,t,n){if(!s?.length)return;const a=v.value.findIndex(d=>d.taskId===e),r=a>=0?v.value[a]:null,l=s.map(d=>{const _=r?.items.find(Ke=>D(Ke,d)),k=Array.isArray(d.countries)?d.countries:void 0,y=Array.isArray(_?.countries)?_?.countries:void 0,w=k&&k.length>0?k:y&&y.length>0?y:k??y,I=Array.isArray(d.previewRows)?d.previewRows:void 0,b=Array.isArray(_?.previewRows)?_?.previewRows:void 0,le=I&&I.length>0?I:b&&b.length>0?b:I??b;return{...d,countries:w,previewRows:le,_pushed:_?._pushed??d._pushed??!1,_completed:_?._completed??d._completed??!1}}),i={taskId:e,items:l,createdAt:r?.createdAt||Date.now(),queuePushResult:t??r?.queuePushResult,queuePayloadText:n??r?.queuePayloadText};a>=0?v.value[a]=i:v.value.push(i),typeof window<"u"&&window.localStorage.setItem(M(),JSON.stringify(v.value))}function ue(e){const s=v.value.length;v.value=v.value.filter(t=>t.taskId!==e),v.value.length!==s&&typeof window<"u"&&window.localStorage.setItem(M(),JSON.stringify(v.value))}const V=W(()=>J.value.filter(e=>!F.value.some(s=>D(s,e)))),Re=W(()=>F.value.length>0||V.value.length>0);function ce(){typeof window<"u"&&window.localStorage.setItem(M(),JSON.stringify(v.value))}function N(e){return e?(v.value.find(t=>t.taskId===e)?.items.length||0)>1:!1}function ee(e){return e&&v.value.find(s=>s.taskId===e)||null}function D(e,s){return!e||!s?!1:e.resultId!=null&&s.resultId!=null?e.resultId===s.resultId:e.fileKey&&s.fileKey?e.fileKey===s.fileKey:e.sourceFilename===s.sourceFilename}function E(e,s){const t=ee(e);return t&&t.items.find(n=>D(n,s))||null}function de(e){if(!e)return!1;const s=ee(e);if(!s)return!1;let t=!1;const n=g.value[e]?.line_progress?.info,a=N(e);if(n?.file_name&&n.current_line!=null&&n.total_lines!=null&&n.total_lines>0&&n.current_line>=n.total_lines){const r=s.items.find(l=>l.sourceFilename===n.file_name);r&&!r._completed&&(r._completed=!0,t=!0)}if(!a){const r=g.value[e]?.task?.status;if((r==="SUCCESS"||r==="FAILED")&&s.items.length===1){const l=s.items[0];l&&!l._completed&&(l._completed=!0,t=!0)}}return t&&ce(),t}function fe(e){return e&&g.value[e]?.task?.status||""}function z(e){if(e.error)return e.error;if(e.matchStatus&&e.matchStatus!=="MATCHED")return e.matchMessage||"";const s=e.taskId;return s&&g.value[s]?.task?.errorMessage||""}function ve(e){const s=e.taskId;if(!s)return!1;const t=g.value[s]?.line_progress,n=fe(s),a=N(s),r=x(e);if(a){const l=E(s,e),i=L(e)===A.value,d=!!(t?.has_progress&&t?.info?.file_name===e.sourceFilename);return!!(i||d||l?._pushed||(n==="RUNNING"||n==="PENDING"||!n)&&l?._completed)}return r==="本文件解析完毕"||r==="已被全局判定为终态"?!1:t?.has_progress||t?.info?!0:r==="已入队"||r==="处理中"}function pe(e){return e.map(s=>s.matchStatus==="MATCHED"?{...s,_pushed:!1,_completed:!1}:{...s,matched:!1,openStoreUrl:void 0,error:s.error||void 0,_pushed:!1,_completed:!1})}function he(e){return e.matchStatus==="MATCHED"?`已匹配 ${e.shopId||""}`.trim():e.matchMessage?e.matchMessage:e.matchStatus==="CONFLICT"?"存在多个同名店铺,请人工确认":e.matchStatus==="PENDING"||e.matchStatus==="INDEX_STALE"?"店铺索引暂未就绪":e.matchStatus?e.matchStatus:e.matched?`已匹配 ${e.shopId||""}`.trim():"待匹配"}function xe(){re.value=[...F.value,...V.value]}function R(){xe(),$e(re.value)}function $e(e){G.value={total:e.length,successCount:e.filter(s=>s.success).length,failedCount:e.filter(s=>!s.success).length,items:e}}function se(e){const s=e.taskId;return s&&(g.value[s]?.fileProgress||[]).find(a=>a.fileKey&&e.fileKey?a.fileKey===e.fileKey:a.sourceFilename&&e.sourceFilename?a.sourceFilename===e.sourceFilename:!1)||null}function _e(e){const s=e.taskId;if(!s)return"";const t=g.value[s],n=t?.line_progress?.info,a=se(e);if(N(s)){const i=E(s,e),d=t?.task?.status,_=!!(n?.file_name&&n.file_name===e.sourceFilename);let k=i?._completed?"COMPLETED":(i?._pushed,"PENDING"),y=0,w=Math.max(0,e.totalRows??a?.totalRows??0);d==="SUCCESS"||d==="FAILED"&&i?._completed?(k="COMPLETED",y=w):_?(k="RUNNING",y=Math.max(0,Math.min(w||Number.MAX_SAFE_INTEGER,n?.current_line??0)),!w&&n?.total_lines&&n.total_lines>0&&(w=n.total_lines)):i?._completed?(k="COMPLETED",y=w):i?._pushed&&(k="PENDING",y=0);const I=[];if(I.push(`文件状态:${k}`),I.push(`文件进度:${y}/${w}`),n?.finished_files!=null){const b=n.file_total&&n.file_total>0?`/${n.file_total}`:"";I.push(`已完成文件:${n.finished_files}${b}`)}return n?.phase&&I.push(`阶段:${n.phase}`),I.join("|")}if(a){const i=[],d=a.processedRows??0,_=a.totalRows??0;if(a.status&&i.push(`文件状态:${a.status}`),i.push(`文件进度:${d}/${_}`),n?.finished_files!=null){const k=n.file_total&&n.file_total>0?`/${n.file_total}`:"";i.push(`已完成文件:${n.finished_files}${k}`)}return n?.phase&&i.push(`阶段:${n.phase}`),i.join("|")}if(!t?.line_progress?.has_progress||!n){const i=t?.task?.status;return i?`任务状态:${i}`:""}const l=[];if(n.phase&&l.push(`阶段:${n.phase}`),n.file_index&&n.file_total&&l.push(`文件:${n.file_index}/${n.file_total}`),n.file_name&&l.push(`当前文件:${n.file_name}`),n.current_line!=null&&n.total_lines!=null&&l.push(`${N(s)?"当前文件进度":"进度"}:${n.current_line}/${n.total_lines}`),n.current_country&&l.push(`国家:${n.current_country}`),n.current_asin&&l.push(`ASIN:${n.current_asin}`),n.finished_files!=null){const i=n.file_total&&n.file_total>0?`/${n.file_total}`:"";l.push(`已完成文件:${n.finished_files}${i}`)}return l.join("|")}function Q(e){const s=e.taskId;if(!s)return 0;const t=g.value[s]?.line_progress?.info;if(N(s)){const l=E(s,e);if(g.value[s]?.task?.status==="SUCCESS"||l?._completed)return 100;const d=Math.max(0,e.totalRows??se(e)?.totalRows??0);if(!!(t?.file_name&&t.file_name===e.sourceFilename)){if(t?.current_line!=null&&t?.total_lines&&t.total_lines>0)return Math.max(0,Math.min(100,Math.round(t.current_line/t.total_lines*100)));if(t?.current_line!=null&&d>0)return Math.max(0,Math.min(100,Math.round(t.current_line/d*100)))}return 0}const a=se(e);return a?Math.max(0,Math.min(100,a.percent??0)):t?t.current_line!=null&&t.total_lines&&t.total_lines>0?Math.max(0,Math.min(100,Math.round(t.current_line/t.total_lines*100))):t.finished_files!=null&&t.file_total&&t.file_total>0?Math.max(0,Math.min(100,Math.round(t.finished_files/t.file_total*100))):g.value[s]?.task?.status==="SUCCESS"?100:0:0}function ge(e){const s=g.value[e]?.task?.status;return s==="SUCCESS"||s==="FAILED"}function U(){const e=new Set;return v.value.forEach(s=>{s.items.some(t=>t._pushed)&&e.add(s.taskId)}),Array.from(e)}function x(e){const s=e.taskId;if(!s||!ee(s))return"";const n=E(s,e),a=fe(s),r=g.value[s]?.line_progress,l=N(s);if(!l&&(a==="SUCCESS"||a==="FAILED"||e.taskStatus==="SUCCESS"||e.taskStatus==="FAILED"))return"已被全局判定为终态";if(n?._completed)return"本文件解析完毕";if(a==="RUNNING"&&r?.has_progress&&r?.info?.file_name===e.sourceFilename)return"处理中";if(l&&!n?._pushed&&!n?._completed)return"未入队";if(l&&a==="SUCCESS")return"本文件解析完毕";if(!l){const i=g.value[s];if(i?.items&&i.items.find(_=>D(_,e))&&a==="SUCCESS")return"本文件解析完毕"}return n?._pushed?"已入队":"未入队"}function ye(e){if(e.downloadUrl)return!0;const s=e.taskId;return s?g.value[s]?.task?.status==="SUCCESS":!1}function Pe(e){const s=e?.task?.id;if(!s)return!1;const t=v.value.find(l=>l.taskId===s);if(!t)return!1;const n=e?.items||[];let a=!1;const r=t.items.map(l=>{const i=n.find(le=>D(le,l));if(!i)return l;const d=Array.isArray(i.countries)?i.countries:void 0,_=Array.isArray(l.countries)?l.countries:void 0,k=d&&d.length>0?d:_&&_.length>0?_:d??_,y=Array.isArray(i.previewRows)?i.previewRows:void 0,w=Array.isArray(l.previewRows)?l.previewRows:void 0,I=y&&y.length>0?y:w&&w.length>0?w:y??w,b={...l,...i,countries:k,previewRows:I,_pushed:l._pushed,_completed:l._completed};return JSON.stringify(b)!==JSON.stringify(l)&&(a=!0),b});for(const l of n)r.some(i=>D(i,l))||(r.push({...l,_pushed:!1,_completed:!1}),a=!0);return JSON.stringify(r)!==JSON.stringify(t.items)&&(t.items=r,a=!0),a&&ce(),a}async function te(e){const s=e||U();if(s.length)try{const t=await ze(s);let n=!1;for(const a of t.items||[]){const r=a?.task?.id;typeof r=="number"&&r>0&&(g.value[r]=a,Pe(a)&&(n=!0),de(r)&&(n=!0))}n&&R()}catch{}}function Ae(){return document.visibilityState==="visible"?4500:1e4}function ne(e=!1){if(S.value){if(!e)return;clearTimeout(S.value),S.value=null}const s=async()=>{if(S.value=null,Y.value){ne();return}const t=U();if(!t.length)return;Y.value=!0;let n=!1,a=!1;try{await te(t),await qe();for(const r of t)ge(r)&&(ue(r),n=!0,a=!0)}finally{Y.value=!1}a?await q():n&&R(),U().length>0&&ne()};e?s():S.value=window.setTimeout(s,Ae())}function ae(e=!1){S.value&&!e||ne(e)}function X(e){const s=e.taskId?g.value[e.taskId]?.task?.status:null;return s==="SUCCESS"?{className:"success",text:"已完成"}:s==="FAILED"?{className:"failed",text:"失败"}:s==="RUNNING"?{className:"running",text:"执行中"}:e.taskStatus==="SUCCESS"?{className:"success",text:"已完成"}:e.taskStatus==="FAILED"?{className:"failed",text:"失败"}:e.taskStatus==="RUNNING"?{className:"running",text:"执行中"}:e.success?{className:"success",text:"已完成"}:{className:"failed",text:"失败"}}function ke(){S.value&&(window.clearTimeout(S.value),S.value=null)}async function me(e){const s=O();if(!s?.upload_file_to_java)throw new Error("当前桌面端未提供文件上传桥接能力");const t=[];for(const n of e){const a=typeof n=="string"?n:n.absolutePath,r=typeof n=="string"?void 0:n.relativePath,l=await s.upload_file_to_java(a,r);if(!l?.success||!l.data)throw new Error(l?.error||l?.message||`上传失败:${a}`);t.push(l.data)}return t}async function De(){const e=O();if(!e?.select_brand_xlsx_files){h.warning("当前环境不支持文件选择,请在本机客户端中打开");return}try{const s=await e.select_brand_xlsx_files();if(!s?.length)return;$.value=s,H.value=await me(s),h.success(`已选择 ${s.length} 个删除品牌文件`)}catch(s){h.error(s instanceof Error?s.message:"选择失败")}}async function Me(){const e=O();if(!e?.select_brand_folder){h.warning("当前环境不支持文件夹选择,请在本机客户端中打开");return}try{const s=await e.select_brand_folder();if(!s)return;const t=await ts(s);if(!t.success||!t.items?.length){h.warning(t.error||"该文件夹下没有 xlsx 文件");return}$.value=t.items.map(n=>n.relativePath||n.absolutePath),H.value=await me(t.items),h.success(`已选择文件夹内 ${t.items.length} 个 xlsx 文件`)}catch(s){h.error(s instanceof Error?s.message:"选择失败")}}async function Be(){if(!H.value.length){h.warning("请先选择待处理文件");return}try{B.value=!0;const e=await Qe({files:H.value.map(a=>({fileKey:a.fileKey,originalFilename:a.originalFilename,relativePath:a.relativePath}))}),s=pe(e.items||[]),t=s.some(a=>a.matchStatus==="MATCHED"),n=s.some(a=>a.matchStatus&&a.matchStatus!=="MATCHED");T.value="解析完成,等待手动点击打开紫鸟进行单任务处理",C.value="",s.length&&s[0].taskId&&ie(s[0].taskId,s,T.value,C.value),R(),n?h.warning("部分文件尚未命中可用店铺索引,已保留状态信息,请等待后台刷新后重试。"):t?h.success("删除品牌解析完成,请手动推送"):h.warning("当前没有可推送的已匹配文件,请先等待店铺索引刷新。"),await q()}catch(e){h.error(e instanceof Error?e.message:"执行失败")}finally{B.value=!1}}async function we(e){const s=e.taskId;if(!s){h.warning("未找到任务ID");return}const t=O(),n=Xe(s),a=e.outputFilename||e.sourceFilename||`delete-brand_${s}.xlsx`;if(t?.save_file_from_url_new){const r=await t.save_file_from_url_new(n,a);r.success?h.success(`已保存:${r.path||a}`):r.error&&r.error!=="用户取消"&&h.error(r.error);return}window.open(n,"_blank")}async function q(){try{const e=await We();J.value=pe(e.items||[]),R(),await te(),ae(!0)}catch(e){console.error("loadHistory error:",e)}}function Ie(e){v.value.forEach(t=>{t.items=t.items.filter(n=>n.resultId!==e)});const s=v.value.length;v.value=v.value.filter(t=>t.items.length>0),v.value.length!==s&&typeof window<"u"&&window.localStorage.setItem(M(),JSON.stringify(v.value)),J.value=J.value.filter(t=>t.resultId!==e),R(),U().length===0&&ke()}async function Se(e){try{await Ye(e),Ie(e),await q(),h.success("已删除")}catch(s){const t=s instanceof Error?s.message:"删除失败";if(typeof t=="string"&&t.includes("记录不存在")){Ie(e),h.success("已删除");return}h.error(t)}}function be(e){const s=e.slice(0,5).map(n=>`${n.country}:${n.asin}${n.status?`(${n.status})`:""}`);return e.length-s.length>0?`${s.join("、")} 等 ${e.length} 条`:s.join("、")}function dt(e,s){}function Ce(){for(const e of v.value)for(const s of e.items){const t=x(s);if(t==="已入队"||t==="处理中")return!0}return!1}function L(e){return e.resultId!=null?`result:${e.resultId}`:`task:${e.taskId||0}:${e.sourceFilename||""}`}function Ue(){return F.value.find(e=>!e.openStoreUrl||L(e)===A.value||E(e.taskId,e)?._completed?!1:x(e)==="未入队")}async function Te(e,s){if(s?.auto&&Ce())return e.taskId,e.sourceFilename,!1;const t=O(),n=e.taskId;if(!n)return!1;const a=v.value.find(d=>d.taskId===n);if(!a)return!1;if(!t?.enqueue_json)return h.error("当前环境未启用 pywebview enqueue_json(浏览器环境不会推送)"),!1;const r={type:"delete-brand-run",ts:Date.now(),data:{taskId:n,items:[e]}};C.value=JSON.stringify(r,null,2);const l=await t.enqueue_json(r);let i="";if(l?.success){i=`已推送文件 ${e.sourceFilename},当前队列长度:${l.queue_size??"-"}`;const d=E(n,e);d&&(d._pushed=!0,d._completed=!1),A.value=L(e),ie(n,a.items,i,C.value),ae(!0)}else i=`推送到 Python 队列失败:${l?.error||"未知错误"}`;return T.value=i,!!l?.success}async function qe(){if(!P.value||j.value){P.value,j.value;return}if(Ce())return;const e=A.value;if(e){const t=F.value.find(n=>L(n)===e);if(t){const n=t.taskId,a=N(n);a&&(de(n),x(t),void 0);const r=x(t);if(r==="已入队"||r==="处理中"){t.sourceFilename;return}if(a){const l=E(n,t);if(l&&!l._completed){t.sourceFilename,l._pushed,l._completed;return}}}}const s=Ue();if(!s){A.value="",P.value=!1;return}j.value=!0;try{s.taskId,s.sourceFilename,L(s),await Te(s,{auto:!0})||(s.taskId,s.sourceFilename,P.value=!1)}finally{j.value=!1}}async function Le(e){P.value=!0,await Te(e)||(P.value=!1,A.value="")}return He(()=>{Ee();const e=U();e.length>0?te(e).then(async()=>{let s=!1,t=!1;for(const n of e)ge(n)&&(ue(n),s=!0,t=!0);t?await q():s&&R(),ae(!0)}):R(),q().catch(()=>{})}),Je(()=>{ke()}),(e,s)=>(u(),c("div",ns,[Ge(je,{active:"delete-brand"}),o("div",as,[o("aside",ls,[s[2]||(s[2]=o("div",{class:"section-title"},"选择文件",-1)),o("div",os,[s[0]||(s[0]=o("div",{class:"hint"},"上传删除品牌 Excel;无论是直接上传文件还是上传文件夹批量导入,都会按每个 Excel 文件名作为店铺名。",-1)),o("div",{class:"btns"},[o("button",{type:"button",class:"opt-btn",onClick:De},"选择 Excel 文件"),o("button",{type:"button",class:"opt-btn",onClick:Me},"选择文件夹")]),o("div",rs,[$.value.length?(u(),c(K,{key:0},[(u(!0),c(K,null,oe(Z.value,t=>(u(),c("span",{key:t},f(t),1))),128)),$.value.length>Z.value.length?(u(),c("span",is," 还有 "+f($.value.length-Z.value.length)+" 个文件未展开显示 ",1)):p("",!0)],64)):(u(),c("span",us,"暂未选择删除品牌文件"))])]),s[3]||(s[3]=Ve('
执行说明
',2)),o("div",cs,[o("button",{type:"button",class:"btn-run",disabled:B.value,onClick:Be},f(B.value?"解析中...":"开始解析"),9,ds),o("span",fs,f(B.value?"正在读取删除品牌数据,请稍候…":"解析后会在右侧展示按国家分组的去重结果"),1)]),T.value||C.value?(u(),c("div",vs,[s[1]||(s[1]=o("div",{class:"section-title queue-debug-title"},"Python 队列推送结果",-1)),T.value?(u(),c("div",ps,f(T.value),1)):p("",!0),C.value?(u(),c("pre",hs,f(C.value),1)):p("",!0)])):p("",!0)]),o("section",_s,[s[12]||(s[12]=o("div",{class:"panel-header"},"删除品牌结果",-1)),o("div",gs,[o("div",ys,[o("div",ks,[s[4]||(s[4]=o("span",{class:"summary-label"},"已处理文件",-1)),o("strong",null,f(G.value.total),1)]),o("div",ms,[s[5]||(s[5]=o("span",{class:"summary-label"},"成功结果",-1)),o("strong",null,f(G.value.successCount),1)]),o("div",ws,[s[6]||(s[6]=o("span",{class:"summary-label"},"失败文件",-1)),o("strong",null,f(G.value.failedCount),1)])]),o("div",Is,[s[11]||(s[11]=o("div",{class:"result-list-header"},[o("span",null,"删除品牌结果列表")],-1)),Re.value?(u(),c(K,{key:1},[F.value.length?(u(),c("div",bs,[s[8]||(s[8]=o("div",{class:"result-subsection-title"},"当前任务",-1)),o("ul",Cs,[(u(!0),c(K,null,oe(F.value,t=>(u(),c("li",{key:`current-${t.taskId||t.resultId||t.sourceFilename}`,class:"task-item split-result-item"},[o("div",Ts,[o("span",{class:"id",title:t.sourceFilename},f(t.sourceFilename||"-"),9,Fs),o("div",Ns,"店铺名:"+f(t.shopName||"-"),1),o("div",Es,"匹配结果:"+f(he(t)),1),t.platform?(u(),c("div",Rs,"平台:"+f(t.platform),1)):p("",!0),x(t)?(u(),c("div",xs,"队列状态:"+f(x(t)),1)):p("",!0),t.countryCount!==void 0&&t.matched?(u(),c("div",$s,"国家数:"+f(t.countryCount),1)):p("",!0),t.totalRows!==void 0&&t.matched?(u(),c("div",Ps,"去重后 "+f(t.totalRows)+" 条 ",1)):p("",!0),ve(t)?(u(),c("div",As,[o("div",Ds,[s[7]||(s[7]=o("span",null,"任务进度",-1)),o("span",null,f(Q(t))+"%",1)]),o("div",Ms,[o("div",{class:"delete-brand-progress-bar-fill",style:Fe({width:`${Q(t)}%`})},null,4)]),o("div",Bs,f(_e(t)),1)])):p("",!0),t.previewRows?.length?(u(),c("div",Us,f(be(t.previewRows)),1)):p("",!0),z(t)?(u(),c("div",qs,"错误信息:"+f(z(t)),1)):p("",!0)]),o("div",Ls,[o("span",{class:Ne(["status",X(t).className])},f(X(t).text),3),t.openStoreUrl?(u(),c("button",{key:0,type:"button",class:"download",onClick:n=>Le(t)}," 打开紫鸟 ",8,Ks)):p("",!0),ye(t)?(u(),c("button",{key:1,type:"button",class:"download",onClick:n=>we(t)}," 下载 ",8,Os)):p("",!0),t.resultId?(u(),c("button",{key:2,type:"button",class:"btn-delete",onClick:n=>Se(t.resultId)}," 删除 ",8,Hs)):p("",!0)])]))),128))])])):p("",!0),V.value.length?(u(),c("div",Js,[s[10]||(s[10]=o("div",{class:"result-subsection-title"},"历史记录",-1)),o("ul",Gs,[(u(!0),c(K,null,oe(V.value,t=>(u(),c("li",{key:`history-${t.taskId||t.resultId||t.sourceFilename}`,class:"task-item split-result-item"},[o("div",js,[o("span",{class:"id",title:t.sourceFilename},f(t.sourceFilename||"-"),9,Vs),o("div",zs,"店铺名:"+f(t.shopName||"-"),1),o("div",Qs,"匹配结果:"+f(he(t)),1),t.platform?(u(),c("div",Xs,"平台:"+f(t.platform),1)):p("",!0),t.countryCount!==void 0&&t.matched?(u(),c("div",Ws,"国家数:"+f(t.countryCount),1)):p("",!0),t.totalRows!==void 0&&t.matched?(u(),c("div",Ys,"去重后 "+f(t.totalRows)+" 条 ",1)):p("",!0),ve(t)?(u(),c("div",Zs,[o("div",et,[s[9]||(s[9]=o("span",null,"任务进度",-1)),o("span",null,f(Q(t))+"%",1)]),o("div",st,[o("div",{class:"delete-brand-progress-bar-fill",style:Fe({width:`${Q(t)}%`})},null,4)]),o("div",tt,f(_e(t)),1)])):p("",!0),t.previewRows?.length?(u(),c("div",nt,f(be(t.previewRows)),1)):p("",!0),z(t)?(u(),c("div",at,"错误信息:"+f(z(t)),1)):p("",!0)]),o("div",lt,[o("span",{class:Ne(["status",X(t).className])},f(X(t).text),3),ye(t)?(u(),c("button",{key:0,type:"button",class:"download",onClick:n=>we(t)}," 下载 ",8,ot)):p("",!0),t.resultId?(u(),c("button",{key:1,type:"button",class:"btn-delete",onClick:n=>Se(t.resultId)}," 删除 ",8,rt)):p("",!0)])]))),128))])])):p("",!0)],64)):(u(),c("div",Ss," 暂无删除品牌结果,完成解析后会在这里展示按国家分组的去重结果 "))])])])])]))}}),ut=Ze(it,[["__scopeId","data-v-022906a7"]]);es(ut).use(ss).mount("#app"); diff --git a/app/assets/split-mwLUJT1K.css b/app/assets/split-mwLUJT1K.css deleted file mode 100644 index ed2b083..0000000 --- a/app/assets/split-mwLUJT1K.css +++ /dev/null @@ -1 +0,0 @@ -.module-page[data-v-4df71c3f]{min-height:100vh;background:#1a1a1a}.main-content[data-v-4df71c3f]{display:flex;min-height:calc(100vh - 56px);height:calc(100vh - 56px)}.left-panel[data-v-4df71c3f]{width:380px;background:#1e1e1e;padding:20px;overflow-y:auto;border-right:1px solid #2a2a2a}.right-panel[data-v-4df71c3f]{flex:1;display:flex;flex-direction:column;min-width:0;background:#1a1a1a}.section-title[data-v-4df71c3f]{font-size:13px;color:#bbb;margin-bottom:10px}.upload-zone[data-v-4df71c3f]{border:1px dashed #3a3a3a;border-radius:10px;padding:24px;text-align:center;background:#252525;margin-bottom:20px;transition:all .2s ease}.upload-zone[data-v-4df71c3f]:hover{border-color:#3498db;background:#2a2a2a}.hint[data-v-4df71c3f]{color:#888;font-size:13px;margin-bottom:12px;line-height:1.5}.btns[data-v-4df71c3f]{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.opt-btn[data-v-4df71c3f],.btn-run[data-v-4df71c3f],.download[data-v-4df71c3f],.btn-delete[data-v-4df71c3f]{border:none;cursor:pointer;transition:all .2s ease}.opt-btn[data-v-4df71c3f]{padding:8px 16px;font-size:13px;color:#ccc;background:#2a2a2a;border:1px solid #3a3a3a;border-radius:6px}.opt-btn.small[data-v-4df71c3f]{padding:6px 10px;font-size:12px}.opt-btn[data-v-4df71c3f]:hover{color:#3498db;background:#333;border-color:#3498db}.selected-files[data-v-4df71c3f]{margin-top:14px;font-size:12px;color:#888;max-height:112px;overflow-y:auto;text-align:left}.selected-files span[data-v-4df71c3f]{display:block;margin:4px 0;word-break:break-all}.more-line[data-v-4df71c3f]{color:#b8c1cc}.split-selected-files[data-v-4df71c3f]{max-height:120px;min-height:72px;padding-right:4px}.option-group[data-v-4df71c3f]{margin-bottom:20px}.column-option-group[data-v-4df71c3f]{padding:14px;border-radius:10px;background:#252525;border:1px solid #2a2a2a}.column-toolbar[data-v-4df71c3f]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.column-count[data-v-4df71c3f]{font-size:12px;color:#a9b4bf}.column-actions[data-v-4df71c3f]{display:flex;gap:8px}.column-grid[data-v-4df71c3f]{display:grid;grid-template-columns:1fr;gap:8px;max-height:280px;overflow-y:auto}.empty-column-state[data-v-4df71c3f]{padding:16px 12px;border-radius:8px;border:1px dashed #3a3a3a;background:#202020;color:#7f8790;font-size:12px;line-height:1.6}.column-item[data-v-4df71c3f]{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;border:1px solid #2f2f2f;background:#202020;cursor:pointer;transition:all .2s ease;font-size:13px;color:#d7d7d7}.column-item[data-v-4df71c3f]:hover,.column-item.active[data-v-4df71c3f]{border-color:#3b6f98;background:#26313a}.column-item input[data-v-4df71c3f]{margin:0}.column-item span[data-v-4df71c3f]{word-break:break-all}.radio-item[data-v-4df71c3f]{display:flex;align-items:flex-start;gap:10px;cursor:pointer;padding:10px 12px;border-radius:8px;background:#252525;border:1px solid #2a2a2a;margin-bottom:8px;transition:all .2s ease}.radio-item[data-v-4df71c3f]:hover,.radio-item.active[data-v-4df71c3f]{background:#2a2a2a;border-color:#3a3a3a}.radio-item input[data-v-4df71c3f]{margin-top:3px}.label[data-v-4df71c3f]{font-weight:500;color:#e0e0e0;font-size:13px}.desc[data-v-4df71c3f]{font-size:12px;color:#888;margin-top:2px;line-height:1.5;font-weight:400}.split-input-card[data-v-4df71c3f]{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-radius:10px;border:1px solid #2f2f2f;background:#252525}.split-number-input[data-v-4df71c3f]{width:100%;padding:12px 14px;border-radius:8px;border:1px solid #3a3a3a;background:#1b1b1b;color:#eaf4ff;font-size:22px;font-weight:700;line-height:1.2;outline:none;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.split-number-input[data-v-4df71c3f]:focus{border-color:#3498db;box-shadow:0 0 0 3px #3498db2e;background:#20252b}.split-number-input[data-v-4df71c3f]::placeholder{color:#708090;font-size:14px;font-weight:400}.run-row[data-v-4df71c3f]{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;margin-top:16px}.btn-run[data-v-4df71c3f]{padding:10px 22px;background:#3498db;color:#fff;border-radius:8px;font-size:14px}.btn-run[data-v-4df71c3f]:hover{background:#2980b9}.btn-run[data-v-4df71c3f]:disabled{background:#555;color:#999;cursor:not-allowed}.loading-msg[data-v-4df71c3f]{color:#3498db;font-size:13px}.panel-header[data-v-4df71c3f]{padding:16px 20px;border-bottom:1px solid #2a2a2a;font-size:15px;font-weight:600;color:#ddd}.task-list-wrap[data-v-4df71c3f]{flex:1;overflow-y:auto;padding:16px}.task-list[data-v-4df71c3f]{list-style:none;margin:0;padding:0}.task-item[data-v-4df71c3f]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #2a2a2a;border-radius:8px;margin-bottom:10px;background:#1e1e1e}.split-result-item[data-v-4df71c3f]{align-items:flex-start}.left[data-v-4df71c3f]{flex:1;min-width:0}.split-result-main[data-v-4df71c3f]{display:flex;flex-direction:column;gap:4px}.id[data-v-4df71c3f]{display:inline-block;font-weight:600;color:#e0e0e0;font-size:13px}.files[data-v-4df71c3f]{font-size:12px;color:#888;margin-top:4px}.time[data-v-4df71c3f]{font-size:12px;color:#666;margin-top:2px}.split-entry-list[data-v-4df71c3f]{line-height:1.6;word-break:break-all;max-width:100%}.task-right[data-v-4df71c3f]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.split-result-actions[data-v-4df71c3f]{flex-shrink:0;min-width:180px;justify-content:flex-end;align-self:center}.status[data-v-4df71c3f]{padding:4px 10px;border-radius:6px;font-size:12px;white-space:nowrap}.status.success[data-v-4df71c3f]{background:#2ecc712e;color:#2ecc71}.status.failed[data-v-4df71c3f]{background:#e74c3c2e;color:#ff6b6b}.download[data-v-4df71c3f]{padding:6px 10px;border-radius:6px;font-size:12px;background:#3498db2e;color:#69b6ff}.download[data-v-4df71c3f]:hover{background:#3498db47}.btn-delete[data-v-4df71c3f]{padding:6px 10px;border-radius:6px;font-size:12px;background:#e74c3c1f;color:#ff8f8f}.btn-delete[data-v-4df71c3f]:hover{background:#e74c3c38}.empty-tasks[data-v-4df71c3f]{color:#666;font-size:13px;padding:24px 8px}.clean-placeholder[data-v-4df71c3f]{max-height:112px}.clean-result-summary[data-v-4df71c3f]{display:grid;grid-template-columns:repeat(3,minmax(0,220px));gap:16px;margin-bottom:18px}.summary-card[data-v-4df71c3f]{padding:16px 18px;border:1px solid #2a2a2a;border-radius:10px;background:#1e1e1e}.summary-card strong[data-v-4df71c3f]{display:block;margin-top:8px;font-size:24px;color:#eaf4ff}.summary-label[data-v-4df71c3f]{font-size:12px;color:#8d8d8d}.result-list-wrap[data-v-4df71c3f]{border:1px solid #2a2a2a;border-radius:10px;background:#1e1e1e;min-height:260px}.result-list-header[data-v-4df71c3f]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #2a2a2a;font-size:14px;color:#ddd}@media(max-width:1100px){.main-content[data-v-4df71c3f]{flex-direction:column;height:auto}.left-panel[data-v-4df71c3f]{width:100%;border-right:none;border-bottom:1px solid #2a2a2a}.right-panel[data-v-4df71c3f]{min-height:420px}.task-item[data-v-4df71c3f]{flex-direction:column;align-items:flex-start}.task-right[data-v-4df71c3f]{width:100%;justify-content:flex-start}.split-result-actions[data-v-4df71c3f]{min-width:0;align-self:flex-start}.clean-result-summary[data-v-4df71c3f]{grid-template-columns:1fr}} diff --git a/app/assets/split.js b/app/assets/split.js index bee324a..b087676 100644 --- a/app/assets/split.js +++ b/app/assets/split.js @@ -1 +1 @@ -import{d as G,o as J,a,c as n,b as L,B as O,e,F as S,r as $,t as i,f as v,n as x,w as k,s as V,C as M,g as d,h as Q,i as F,E as r,D as W,G as X,m as Y,v as Z,H as ss,_ as es,p as ts,q as ls}from"./pywebview-V_UIajJm.js";import{e as as}from"./brand-1nUVsWrm.js";const ns={class:"page-shell module-page"},os={class:"main-content"},is={class:"left-panel"},rs={class:"upload-zone"},us={class:"selected-files clean-placeholder split-selected-files"},ds={key:0,class:"more-line"},cs={key:1},ps={class:"option-group column-option-group"},vs={class:"column-toolbar"},fs={class:"column-count"},_s={class:"column-actions"},ms={key:0,class:"column-grid"},ys=["value"],gs={key:1,class:"empty-column-state"},hs={class:"option-group"},bs={class:"radio-item active"},ws={class:"desc"},ks={class:"option-group"},Cs={class:"option-group"},Ss={key:0,class:"split-input-card"},xs={key:1,class:"split-input-card"},Fs={class:"run-row"},Es=["disabled"],Ps={class:"loading-msg"},$s={class:"right-panel"},Bs={class:"task-list-wrap"},Rs={class:"clean-result-summary"},Us={class:"summary-card"},Is={class:"summary-card"},Vs={class:"summary-card"},Ms={class:"result-list-wrap"},Ts={key:0,class:"empty-tasks"},Ds={key:1,class:"task-list clean-result-list"},Hs={class:"left split-result-main"},Ns=["title"],js={key:0,class:"files"},As={key:1,class:"time"},Ks={key:2,class:"files"},zs={key:3,class:"files split-entry-list"},qs={key:4,class:"files"},Gs={class:"task-right split-result-actions"},Js=["onClick"],Ls=["onClick"],Os=G({__name:"BrandSplitTab",setup(Ws){const f=d([]),C=d(""),c=d([]),_=d([]),p=d([]),B=d(0),u=d("rows_per_file"),m=d(2e3),y=d(5),g=d(!1),h=d([]),b=d({total:0,successCount:0,failedCount:0,items:[]}),E=Q(()=>f.value.slice(0,8));function T(l){b.value={total:l.length,successCount:l.filter(s=>s.success).length,failedCount:l.filter(s=>!s.success).length,items:l}}async function R(l){const s=F();if(!s?.upload_file_to_java)throw new Error("当前桌面端未提供文件上传桥接能力");const t=[];for(const o of l){const I=typeof o=="string"?o:o.absolutePath,q=typeof o=="string"?void 0:o.relativePath,w=await s.upload_file_to_java(I,q);if(!w?.success||!w.data)throw new Error(w?.error||w?.message||`上传失败:${I}`);t.push(w.data)}return t}async function U(l){const s=await Y(l);_.value=s.headers||[],p.value=[...s.headers||[]],B.value=s.totalRows||0}async function D(l,s){f.value=l,C.value="",c.value=await R(l),c.value.length>0&&await U(c.value[0].fileKey),r.success(s)}async function H(){const l=F();if(!l?.select_brand_xlsx_files){r.warning("当前环境不支持文件选择,请在本机客户端中打开");return}try{const s=await l.select_brand_xlsx_files();if(!s?.length)return;await D(s,`已选择 ${s.length} 个待拆分文件`)}catch(s){r.error(s instanceof Error?s.message:"选择失败")}}async function N(){const l=F();if(!l?.select_brand_folder){r.warning("当前环境不支持文件夹选择,请在本机客户端中打开");return}try{const s=await l.select_brand_folder();if(!s)return;C.value=s.split(/[/\\]/).filter(Boolean).pop()||"";const t=await as(s);if(t.success&&t.items?.length){f.value=t.items.map(o=>o.relativePath),c.value=await R(t.items),c.value.length>0&&await U(c.value[0].fileKey),r.success(`已选择文件夹内 ${t.items.length} 个 xlsx 文件`);return}r.warning(t.error||"该文件夹下没有 xlsx 文件")}catch(s){r.error(s instanceof Error?s.message:"选择失败")}}async function j(){if(!c.value.length){r.warning("请先选择待拆分 Excel 文件或文件夹");return}if(!p.value.length){r.warning("请至少选择一列保留列");return}if(u.value==="rows_per_file"&&(!m.value||m.value<=0)){r.warning("请输入有效的每份条数");return}if(u.value==="parts"&&(!y.value||y.value<=0)){r.warning("请输入有效的拆分份数");return}try{g.value=!0;const l=await W({files:c.value.map(s=>({fileKey:s.fileKey,originalFilename:s.originalFilename,relativePath:s.relativePath})),selectedColumns:p.value,splitMode:u.value,rowsPerFile:u.value==="rows_per_file"&&m.value||void 0,parts:u.value==="parts"&&y.value||void 0,archiveName:c.value.some(s=>!!s.relativePath)&&C.value?C.value:void 0});b.value=l,h.value=l.items||[],await P(),r.success("数据拆分完成")}catch(l){r.error(l instanceof Error?l.message:"数据拆分失败")}finally{g.value=!1}}async function P(){try{const l=await X();h.value=l.items||[],T(h.value)}catch{}}async function A(l){try{await ss(l),await P(),r.success("已删除")}catch(s){r.error(s instanceof Error?s.message:"删除失败")}}function K(l){const s=l.slice(0,4).map(o=>o.rowCount!==void 0?`${o.filename}(${o.rowCount}条)`:o.filename);return l.length-s.length>0?`${s.join("、")} 等 ${l.length} 个文件`:s.join("、")}async function z(l){const s=F();if(!l.downloadUrl){r.warning("当前结果没有下载地址");return}const t=l.outputFilename||`${new Date().toISOString().slice(0,10).replace(/-/g,"")}.zip`;if(s?.save_file_from_url){const o=await s.save_file_from_url(l.downloadUrl,t);o.success?r.success(`已保存:${o.path||t}`):o.error&&o.error!=="用户取消"&&r.error(o.error);return}window.open(l.downloadUrl,"_blank")}return J(()=>{P().catch(()=>{})}),(l,s)=>(a(),n("div",ns,[L(O,{active:"split"}),e("div",os,[e("aside",is,[s[14]||(s[14]=e("div",{class:"section-title"},"选择文件",-1)),e("div",rs,[s[7]||(s[7]=e("div",{class:"hint"},"选择需要拆分的 Excel 文件或文件夹,按规则拆成多个 Excel 文件。",-1)),e("div",{class:"btns"},[e("button",{type:"button",class:"opt-btn",onClick:H},"选择 Excel 文件"),e("button",{type:"button",class:"opt-btn",onClick:N},"选择文件夹")]),e("div",us,[f.value.length?(a(),n(S,{key:0},[(a(!0),n(S,null,$(E.value,t=>(a(),n("span",{key:t},i(t),1))),128)),f.value.length>E.value.length?(a(),n("span",ds," 还有 "+i(f.value.length-E.value.length)+" 个文件未展开显示 ",1)):v("",!0)],64)):(a(),n("span",cs,"暂未选择待拆分文件"))])]),s[15]||(s[15]=e("div",{class:"section-title"},"保留列设置",-1)),e("div",ps,[e("div",vs,[e("span",fs,"已选择 "+i(p.value.length)+" / "+i(_.value.length)+" 列",1),e("div",_s,[e("button",{type:"button",class:"opt-btn small",onClick:s[0]||(s[0]=t=>p.value=[..._.value])},"全选"),e("button",{type:"button",class:"opt-btn small",onClick:s[1]||(s[1]=t=>p.value=[])},"清空")])]),_.value.length?(a(),n("div",ms,[(a(!0),n(S,null,$(_.value,t=>(a(),n("label",{key:t,class:x(["column-item",{active:p.value.includes(t)}])},[k(e("input",{"onUpdate:modelValue":s[2]||(s[2]=o=>p.value=o),type:"checkbox",value:t},null,8,ys),[[Z,p.value]]),e("span",null,i(t),1)],2))),128))])):(a(),n("div",gs,"请选择 Excel 文件后读取表头并填充可保留列"))]),s[16]||(s[16]=e("div",{class:"section-title"},"总条数",-1)),e("div",hs,[e("label",bs,[s[9]||(s[9]=e("input",{type:"checkbox",checked:"",disabled:""},null,-1)),e("div",null,[s[8]||(s[8]=e("span",{class:"label"},"当前数据总条数",-1)),e("div",ws,i(B.value)+" 条(不含表头)",1)])])]),s[17]||(s[17]=e("div",{class:"section-title"},"拆分模式",-1)),e("div",ks,[e("label",{class:x(["radio-item",{active:u.value==="rows_per_file"}])},[k(e("input",{"onUpdate:modelValue":s[3]||(s[3]=t=>u.value=t),type:"radio",value:"rows_per_file",name:"split-mode"},null,512),[[V,u.value]]),s[10]||(s[10]=e("div",null,[e("span",{class:"label"},"按每份条数"),e("div",{class:"desc"},"例如每份 2000 条,最后一份放剩余数据")],-1))],2),e("label",{class:x(["radio-item",{active:u.value==="parts"}])},[k(e("input",{"onUpdate:modelValue":s[4]||(s[4]=t=>u.value=t),type:"radio",value:"parts",name:"split-mode"},null,512),[[V,u.value]]),s[11]||(s[11]=e("div",null,[e("span",{class:"label"},"按份数平均拆分"),e("div",{class:"desc"},"例如拆 5 份,按总条数尽量平均分配")],-1))],2)]),s[18]||(s[18]=e("div",{class:"section-title"},"拆分参数",-1)),e("div",Cs,[u.value==="rows_per_file"?(a(),n("label",Ss,[s[12]||(s[12]=e("span",{class:"label"},"每份条数",-1)),k(e("input",{"onUpdate:modelValue":s[5]||(s[5]=t=>m.value=t),class:"split-number-input",type:"number",min:"1",placeholder:"例如 2000"},null,512),[[M,m.value,void 0,{number:!0}]])])):(a(),n("label",xs,[s[13]||(s[13]=e("span",{class:"label"},"拆分份数",-1)),k(e("input",{"onUpdate:modelValue":s[6]||(s[6]=t=>y.value=t),class:"split-number-input",type:"number",min:"1",placeholder:"例如 5"},null,512),[[M,y.value,void 0,{number:!0}]])]))]),e("div",Fs,[e("button",{type:"button",class:"btn-run",disabled:g.value,onClick:j},i(g.value?"拆分中...":"开始拆分"),9,Es),e("span",Ps,i(g.value?"正在拆分并上传结果,请稍候…":"选择文件、保留列和拆分规则后即可执行拆分,结果会显示在右侧供下载"),1)])]),e("section",$s,[s[23]||(s[23]=e("div",{class:"panel-header"},"拆分结果",-1)),e("div",Bs,[e("div",Rs,[e("div",Us,[s[19]||(s[19]=e("span",{class:"summary-label"},"已处理文件",-1)),e("strong",null,i(b.value.total),1)]),e("div",Is,[s[20]||(s[20]=e("span",{class:"summary-label"},"成功结果",-1)),e("strong",null,i(b.value.successCount),1)]),e("div",Vs,[s[21]||(s[21]=e("span",{class:"summary-label"},"失败文件",-1)),e("strong",null,i(b.value.failedCount),1)])]),e("div",Ms,[s[22]||(s[22]=e("div",{class:"result-list-header"},[e("span",null,"拆分结果压缩包列表")],-1)),h.value.length===0?(a(),n("div",Ts," 暂无拆分结果,完成数据拆分后会在这里展示压缩包文件 ")):(a(),n("ul",Ds,[(a(!0),n(S,null,$(h.value,t=>(a(),n("li",{key:`${t.resultId||t.outputFilename||t.sourceFilename}-${t.rowCount||0}`,class:"task-item split-result-item"},[e("div",Hs,[e("span",{class:"id",title:t.sourceFilename},i(t.sourceFilename||"-"),9,Ns),t.outputFilename?(a(),n("div",js,"压缩包文件:"+i(t.outputFilename),1)):v("",!0),t.rowCount!==void 0?(a(),n("div",As,"压缩包共包含 "+i(t.rowCount)+" 条数据",1)):v("",!0),t.entryCount&&t.entryCount>0?(a(),n("div",Ks,"压缩包内共 "+i(t.entryCount)+" 个拆分文件",1)):v("",!0),t.entries&&t.entries.length?(a(),n("div",zs," 压缩包内容:"+i(K(t.entries)),1)):v("",!0),t.error?(a(),n("div",qs,"错误信息:"+i(t.error),1)):v("",!0)]),e("div",Gs,[e("span",{class:x(["status",t.success?"success":"failed"])},i(t.success?"已完成":"失败"),3),t.success&&t.downloadUrl?(a(),n("button",{key:0,type:"button",class:"download",onClick:o=>z(t)}," 下载压缩包 ",8,Js)):v("",!0),t.resultId?(a(),n("button",{key:1,type:"button",class:"btn-delete",onClick:o=>A(t.resultId)}," 删除 ",8,Ls)):v("",!0)])]))),128))]))])])])])]))}}),Qs=es(Os,[["__scopeId","data-v-4df71c3f"]]);ts(Qs).use(ls).mount("#app"); +import{d as G,o as J,a,c as n,b as L,B as O,e,F as S,r as $,t as i,f as v,n as x,w as k,s as V,C as M,g as d,h as Q,i as F,E as r,D as W,G as X,m as Y,v as Z,H as ss,_ as es,p as ts,q as ls}from"./pywebview-V_UIajJm.js";import{e as as}from"./brand-1nUVsWrm.js";const ns={class:"page-shell module-page"},os={class:"main-content"},is={class:"left-panel"},rs={class:"upload-zone"},us={class:"selected-files clean-placeholder split-selected-files"},ds={key:0,class:"more-line"},cs={key:1},ps={class:"option-group column-option-group"},vs={class:"column-toolbar"},fs={class:"column-count"},_s={class:"column-actions"},ms={key:0,class:"column-grid"},ys=["value"],gs={key:1,class:"empty-column-state"},hs={class:"option-group"},ws={class:"radio-item active"},bs={class:"desc"},ks={class:"option-group"},Cs={class:"option-group"},Ss={key:0,class:"split-input-card"},xs={key:1,class:"split-input-card"},Fs={class:"run-row"},Es=["disabled"],Ps={class:"loading-msg"},$s={class:"right-panel"},Bs={class:"task-list-wrap"},Rs={class:"clean-result-summary"},Us={class:"summary-card"},Is={class:"summary-card"},Vs={class:"summary-card"},Ms={class:"result-list-wrap"},Ts={key:0,class:"empty-tasks"},Ds={key:1,class:"task-list clean-result-list"},Hs={class:"left split-result-main"},Ns=["title"],js={key:0,class:"files"},As={key:1,class:"time"},Ks={key:2,class:"files"},zs={key:3,class:"files split-entry-list"},qs={key:4,class:"files"},Gs={class:"task-right split-result-actions"},Js=["onClick"],Ls=["onClick"],Os=G({__name:"BrandSplitTab",setup(Ws){const f=d([]),C=d(""),c=d([]),_=d([]),p=d([]),B=d(0),u=d("rows_per_file"),m=d(2e3),y=d(5),g=d(!1),h=d([]),w=d({total:0,successCount:0,failedCount:0,items:[]}),E=Q(()=>f.value.slice(0,8));function T(l){w.value={total:l.length,successCount:l.filter(s=>s.success).length,failedCount:l.filter(s=>!s.success).length,items:l}}async function R(l){const s=F();if(!s?.upload_file_to_java)throw new Error("当前桌面端未提供文件上传桥接能力");const t=[];for(const o of l){const I=typeof o=="string"?o:o.absolutePath,q=typeof o=="string"?void 0:o.relativePath,b=await s.upload_file_to_java(I,q);if(!b?.success||!b.data)throw new Error(b?.error||b?.message||`上传失败:${I}`);t.push(b.data)}return t}async function U(l){const s=await Y(l);_.value=s.headers||[],p.value=[...s.headers||[]],B.value=s.totalRows||0}async function D(l,s){f.value=l,C.value="",c.value=await R(l),c.value.length>0&&await U(c.value[0].fileKey),r.success(s)}async function H(){const l=F();if(!l?.select_brand_xlsx_files){r.warning("当前环境不支持文件选择,请在本机客户端中打开");return}try{const s=await l.select_brand_xlsx_files();if(!s?.length)return;await D(s,`已选择 ${s.length} 个待拆分文件`)}catch(s){r.error(s instanceof Error?s.message:"选择失败")}}async function N(){const l=F();if(!l?.select_brand_folder){r.warning("当前环境不支持文件夹选择,请在本机客户端中打开");return}try{const s=await l.select_brand_folder();if(!s)return;C.value=s.split(/[/\\]/).filter(Boolean).pop()||"";const t=await as(s);if(t.success&&t.items?.length){f.value=t.items.map(o=>o.relativePath),c.value=await R(t.items),c.value.length>0&&await U(c.value[0].fileKey),r.success(`已选择文件夹内 ${t.items.length} 个 xlsx 文件`);return}r.warning(t.error||"该文件夹下没有 xlsx 文件")}catch(s){r.error(s instanceof Error?s.message:"选择失败")}}async function j(){if(!c.value.length){r.warning("请先选择待拆分 Excel 文件或文件夹");return}if(!p.value.length){r.warning("请至少选择一列保留列");return}if(u.value==="rows_per_file"&&(!m.value||m.value<=0)){r.warning("请输入有效的每份条数");return}if(u.value==="parts"&&(!y.value||y.value<=0)){r.warning("请输入有效的拆分份数");return}try{g.value=!0;const l=await W({files:c.value.map(s=>({fileKey:s.fileKey,originalFilename:s.originalFilename,relativePath:s.relativePath})),selectedColumns:p.value,splitMode:u.value,rowsPerFile:u.value==="rows_per_file"&&m.value||void 0,parts:u.value==="parts"&&y.value||void 0,archiveName:c.value.some(s=>!!s.relativePath)&&C.value?C.value:void 0});w.value=l,h.value=l.items||[],await P(),r.success("数据拆分完成")}catch(l){r.error(l instanceof Error?l.message:"数据拆分失败")}finally{g.value=!1}}async function P(){try{const l=await X();h.value=l.items||[],T(h.value)}catch{}}async function A(l){try{await ss(l),await P(),r.success("已删除")}catch(s){r.error(s instanceof Error?s.message:"删除失败")}}function K(l){const s=l.slice(0,4).map(o=>o.rowCount!==void 0?`${o.filename}(${o.rowCount}条)`:o.filename);return l.length-s.length>0?`${s.join("、")} 等 ${l.length} 个文件`:s.join("、")}async function z(l){const s=F();if(!l.downloadUrl){r.warning("当前结果没有下载地址");return}const t=l.outputFilename||`${new Date().toISOString().slice(0,10).replace(/-/g,"")}.zip`;if(s?.save_file_from_url_new){const o=await s.save_file_from_url_new(l.downloadUrl,t);o.success?r.success(`已保存:${o.path||t}`):o.error&&o.error!=="用户取消"&&r.error(o.error);return}window.open(l.downloadUrl,"_blank")}return J(()=>{P().catch(()=>{})}),(l,s)=>(a(),n("div",ns,[L(O,{active:"split"}),e("div",os,[e("aside",is,[s[14]||(s[14]=e("div",{class:"section-title"},"选择文件",-1)),e("div",rs,[s[7]||(s[7]=e("div",{class:"hint"},"选择需要拆分的 Excel 文件或文件夹,按规则拆成多个 Excel 文件。",-1)),e("div",{class:"btns"},[e("button",{type:"button",class:"opt-btn",onClick:H},"选择 Excel 文件"),e("button",{type:"button",class:"opt-btn",onClick:N},"选择文件夹")]),e("div",us,[f.value.length?(a(),n(S,{key:0},[(a(!0),n(S,null,$(E.value,t=>(a(),n("span",{key:t},i(t),1))),128)),f.value.length>E.value.length?(a(),n("span",ds," 还有 "+i(f.value.length-E.value.length)+" 个文件未展开显示 ",1)):v("",!0)],64)):(a(),n("span",cs,"暂未选择待拆分文件"))])]),s[15]||(s[15]=e("div",{class:"section-title"},"保留列设置",-1)),e("div",ps,[e("div",vs,[e("span",fs,"已选择 "+i(p.value.length)+" / "+i(_.value.length)+" 列",1),e("div",_s,[e("button",{type:"button",class:"opt-btn small",onClick:s[0]||(s[0]=t=>p.value=[..._.value])},"全选"),e("button",{type:"button",class:"opt-btn small",onClick:s[1]||(s[1]=t=>p.value=[])},"清空")])]),_.value.length?(a(),n("div",ms,[(a(!0),n(S,null,$(_.value,t=>(a(),n("label",{key:t,class:x(["column-item",{active:p.value.includes(t)}])},[k(e("input",{"onUpdate:modelValue":s[2]||(s[2]=o=>p.value=o),type:"checkbox",value:t},null,8,ys),[[Z,p.value]]),e("span",null,i(t),1)],2))),128))])):(a(),n("div",gs,"请选择 Excel 文件后读取表头并填充可保留列"))]),s[16]||(s[16]=e("div",{class:"section-title"},"总条数",-1)),e("div",hs,[e("label",ws,[s[9]||(s[9]=e("input",{type:"checkbox",checked:"",disabled:""},null,-1)),e("div",null,[s[8]||(s[8]=e("span",{class:"label"},"当前数据总条数",-1)),e("div",bs,i(B.value)+" 条(不含表头)",1)])])]),s[17]||(s[17]=e("div",{class:"section-title"},"拆分模式",-1)),e("div",ks,[e("label",{class:x(["radio-item",{active:u.value==="rows_per_file"}])},[k(e("input",{"onUpdate:modelValue":s[3]||(s[3]=t=>u.value=t),type:"radio",value:"rows_per_file",name:"split-mode"},null,512),[[V,u.value]]),s[10]||(s[10]=e("div",null,[e("span",{class:"label"},"按每份条数"),e("div",{class:"desc"},"例如每份 2000 条,最后一份放剩余数据")],-1))],2),e("label",{class:x(["radio-item",{active:u.value==="parts"}])},[k(e("input",{"onUpdate:modelValue":s[4]||(s[4]=t=>u.value=t),type:"radio",value:"parts",name:"split-mode"},null,512),[[V,u.value]]),s[11]||(s[11]=e("div",null,[e("span",{class:"label"},"按份数平均拆分"),e("div",{class:"desc"},"例如拆 5 份,按总条数尽量平均分配")],-1))],2)]),s[18]||(s[18]=e("div",{class:"section-title"},"拆分参数",-1)),e("div",Cs,[u.value==="rows_per_file"?(a(),n("label",Ss,[s[12]||(s[12]=e("span",{class:"label"},"每份条数",-1)),k(e("input",{"onUpdate:modelValue":s[5]||(s[5]=t=>m.value=t),class:"split-number-input",type:"number",min:"1",placeholder:"例如 2000"},null,512),[[M,m.value,void 0,{number:!0}]])])):(a(),n("label",xs,[s[13]||(s[13]=e("span",{class:"label"},"拆分份数",-1)),k(e("input",{"onUpdate:modelValue":s[6]||(s[6]=t=>y.value=t),class:"split-number-input",type:"number",min:"1",placeholder:"例如 5"},null,512),[[M,y.value,void 0,{number:!0}]])]))]),e("div",Fs,[e("button",{type:"button",class:"btn-run",disabled:g.value,onClick:j},i(g.value?"拆分中...":"开始拆分"),9,Es),e("span",Ps,i(g.value?"正在拆分并上传结果,请稍候…":"选择文件、保留列和拆分规则后即可执行拆分,结果会显示在右侧供下载"),1)])]),e("section",$s,[s[23]||(s[23]=e("div",{class:"panel-header"},"拆分结果",-1)),e("div",Bs,[e("div",Rs,[e("div",Us,[s[19]||(s[19]=e("span",{class:"summary-label"},"已处理文件",-1)),e("strong",null,i(w.value.total),1)]),e("div",Is,[s[20]||(s[20]=e("span",{class:"summary-label"},"成功结果",-1)),e("strong",null,i(w.value.successCount),1)]),e("div",Vs,[s[21]||(s[21]=e("span",{class:"summary-label"},"失败文件",-1)),e("strong",null,i(w.value.failedCount),1)])]),e("div",Ms,[s[22]||(s[22]=e("div",{class:"result-list-header"},[e("span",null,"拆分结果压缩包列表")],-1)),h.value.length===0?(a(),n("div",Ts," 暂无拆分结果,完成数据拆分后会在这里展示压缩包文件 ")):(a(),n("ul",Ds,[(a(!0),n(S,null,$(h.value,t=>(a(),n("li",{key:`${t.resultId||t.outputFilename||t.sourceFilename}-${t.rowCount||0}`,class:"task-item split-result-item"},[e("div",Hs,[e("span",{class:"id",title:t.sourceFilename},i(t.sourceFilename||"-"),9,Ns),t.outputFilename?(a(),n("div",js,"压缩包文件:"+i(t.outputFilename),1)):v("",!0),t.rowCount!==void 0?(a(),n("div",As,"压缩包共包含 "+i(t.rowCount)+" 条数据",1)):v("",!0),t.entryCount&&t.entryCount>0?(a(),n("div",Ks,"压缩包内共 "+i(t.entryCount)+" 个拆分文件 ",1)):v("",!0),t.entries&&t.entries.length?(a(),n("div",zs," 压缩包内容:"+i(K(t.entries)),1)):v("",!0),t.error?(a(),n("div",qs,"错误信息:"+i(t.error),1)):v("",!0)]),e("div",Gs,[e("span",{class:x(["status",t.success?"success":"failed"])},i(t.success?"已完成":"失败"),3),t.success&&t.downloadUrl?(a(),n("button",{key:0,type:"button",class:"download",onClick:o=>z(t)}," 下载压缩包 ",8,Js)):v("",!0),t.resultId?(a(),n("button",{key:1,type:"button",class:"btn-delete",onClick:o=>A(t.resultId)}," 删除 ",8,Ls)):v("",!0)])]))),128))]))])])])])]))}}),Qs=es(Os,[["__scopeId","data-v-648ed72b"]]);ts(Qs).use(ls).mount("#app"); diff --git a/app/new_web_source/convert.html b/app/new_web_source/convert.html index cbb529e..d1e687d 100644 --- a/app/new_web_source/convert.html +++ b/app/new_web_source/convert.html @@ -8,7 +8,7 @@ - +
diff --git a/app/new_web_source/dedupe.html b/app/new_web_source/dedupe.html index ffe9b93..51c02ce 100644 --- a/app/new_web_source/dedupe.html +++ b/app/new_web_source/dedupe.html @@ -8,7 +8,7 @@ - +
diff --git a/app/new_web_source/delete-brand.html b/app/new_web_source/delete-brand.html index 40e844b..dbec384 100644 --- a/app/new_web_source/delete-brand.html +++ b/app/new_web_source/delete-brand.html @@ -8,7 +8,7 @@ - +
diff --git a/app/new_web_source/split.html b/app/new_web_source/split.html index f774bb5..ee216a1 100644 --- a/app/new_web_source/split.html +++ b/app/new_web_source/split.html @@ -8,7 +8,7 @@ - +
diff --git a/backend-java/aiimage-backend.log.2026-04-02.0.gz b/backend-java/aiimage-backend.log.2026-04-02.0.gz deleted file mode 100644 index 5fef1dd..0000000 Binary files a/backend-java/aiimage-backend.log.2026-04-02.0.gz and /dev/null differ diff --git a/backend-java/aiimage-backend.log.2026-04-06.0.gz b/backend-java/aiimage-backend.log.2026-04-06.0.gz new file mode 100644 index 0000000..60d55d3 Binary files /dev/null and b/backend-java/aiimage-backend.log.2026-04-06.0.gz differ diff --git a/backend-java/sdk-java-5.0.6.jar b/backend-java/sdk-java-5.0.6.jar deleted file mode 100644 index 6af6a20..0000000 Binary files a/backend-java/sdk-java-5.0.6.jar and /dev/null differ diff --git a/backend-java/src/main/java/com/nanri/aiimage/common/security/ShopCredentialCryptoService.java b/backend-java/src/main/java/com/nanri/aiimage/common/security/ShopCredentialCryptoService.java new file mode 100644 index 0000000..00fff2e --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/common/security/ShopCredentialCryptoService.java @@ -0,0 +1,60 @@ +package com.nanri.aiimage.common.security; + +import com.nanri.aiimage.common.exception.BusinessException; +import jakarta.annotation.PostConstruct; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Service; + +import javax.crypto.Cipher; +import javax.crypto.spec.SecretKeySpec; +import java.nio.charset.StandardCharsets; +import java.security.MessageDigest; +import java.util.Base64; + +@Service +public class ShopCredentialCryptoService { + + @Value("${aiimage.security.shop-credential-key:change-me-shop-credential-key}") + private String rawKey; + + private SecretKeySpec keySpec; + + @PostConstruct + public void init() { + try { + MessageDigest sha256 = MessageDigest.getInstance("SHA-256"); + byte[] full = sha256.digest(rawKey.getBytes(StandardCharsets.UTF_8)); + byte[] key16 = new byte[16]; + System.arraycopy(full, 0, key16, 0, 16); + this.keySpec = new SecretKeySpec(key16, "AES"); + } catch (Exception ex) { + throw new BusinessException("初始化店铺凭据加密器失败"); + } + } + + public String encrypt(String plainText) { + try { + Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding"); + cipher.init(Cipher.ENCRYPT_MODE, keySpec); + byte[] encrypted = cipher.doFinal((plainText == null ? "" : plainText).getBytes(StandardCharsets.UTF_8)); + return Base64.getEncoder().encodeToString(encrypted); + } catch (Exception ex) { + throw new BusinessException("店铺凭据加密失败"); + } + } + + public String decrypt(String cipherText) { + try { + if (cipherText == null || cipherText.isBlank()) { + return ""; + } + Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding"); + cipher.init(Cipher.DECRYPT_MODE, keySpec); + byte[] decrypted = cipher.doFinal(Base64.getDecoder().decode(cipherText)); + return new String(decrypted, StandardCharsets.UTF_8); + } catch (Exception ex) { + // 兼容历史数据:旧记录可能是明文或使用旧密钥加密,回退原文避免中断自动化流程。 + return cipherText == null ? "" : cipherText; + } + } +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/productrisk/service/ProductRiskTaskCacheService.java b/backend-java/src/main/java/com/nanri/aiimage/modules/productrisk/service/ProductRiskTaskCacheService.java new file mode 100644 index 0000000..69f25f1 --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/productrisk/service/ProductRiskTaskCacheService.java @@ -0,0 +1,86 @@ +package com.nanri.aiimage.modules.productrisk.service; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.nanri.aiimage.common.exception.BusinessException; +import com.nanri.aiimage.modules.productrisk.model.dto.ProductRiskShopPayloadDto; +import lombok.RequiredArgsConstructor; +import org.springframework.data.redis.core.StringRedisTemplate; +import org.springframework.stereotype.Service; + +import java.time.Duration; +import java.util.Map; + +@Service +@RequiredArgsConstructor +public class ProductRiskTaskCacheService { + + private static final long PAYLOAD_TTL_HOURS = 24; + + private final StringRedisTemplate stringRedisTemplate; + private final ObjectMapper objectMapper; + + public ProductRiskShopPayloadDto getShopMergedPayload(Long taskId, String shopKey) { + if (taskId == null || taskId <= 0 || shopKey == null || shopKey.isBlank()) { + return null; + } + Object raw = stringRedisTemplate.opsForHash().get(buildShopPayloadKey(taskId), shopKey); + if (!(raw instanceof String json) || json.isBlank()) { + return null; + } + try { + return objectMapper.readValue(json, ProductRiskShopPayloadDto.class); + } catch (Exception ex) { + throw new BusinessException("读取商品风险店铺缓存失败"); + } + } + + public void saveShopMergedPayload(Long taskId, String shopKey, ProductRiskShopPayloadDto payload) { + if (taskId == null || taskId <= 0 || shopKey == null || shopKey.isBlank() || payload == null) { + return; + } + try { + stringRedisTemplate.opsForHash().put(buildShopPayloadKey(taskId), shopKey, objectMapper.writeValueAsString(payload)); + stringRedisTemplate.expire(buildShopPayloadKey(taskId), Duration.ofHours(PAYLOAD_TTL_HOURS)); + } catch (Exception ex) { + throw new BusinessException("暂存商品风险店铺缓存失败"); + } + } + + public void removeShopMergedPayload(Long taskId, String shopKey) { + if (taskId == null || taskId <= 0 || shopKey == null || shopKey.isBlank()) { + return; + } + stringRedisTemplate.opsForHash().delete(buildShopPayloadKey(taskId), shopKey); + } + + public Map getAllShopMergedPayload(Long taskId) { + try { + Map raw = stringRedisTemplate.opsForHash().entries(buildShopPayloadKey(taskId)); + if (raw == null || raw.isEmpty()) { + return Map.of(); + } + java.util.LinkedHashMap out = new java.util.LinkedHashMap<>(); + for (Map.Entry entry : raw.entrySet()) { + if (!(entry.getKey() instanceof String key) || !(entry.getValue() instanceof String val) || val.isBlank()) { + continue; + } + out.put(key, objectMapper.readValue(val, ProductRiskShopPayloadDto.class)); + } + return out; + } catch (Exception ex) { + throw new BusinessException("读取商品风险缓存失败"); + } + } + + public void deleteTaskCache(Long taskId) { + if (taskId == null || taskId <= 0) { + return; + } + stringRedisTemplate.delete(buildShopPayloadKey(taskId)); + } + + private String buildShopPayloadKey(Long taskId) { + return "product-risk:task:shop-payload:" + taskId; + } +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/productrisk/service/ProductRiskTaskService.java b/backend-java/src/main/java/com/nanri/aiimage/modules/productrisk/service/ProductRiskTaskService.java index fe64cc6..8307cdc 100644 --- a/backend-java/src/main/java/com/nanri/aiimage/modules/productrisk/service/ProductRiskTaskService.java +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/productrisk/service/ProductRiskTaskService.java @@ -56,6 +56,7 @@ public class ProductRiskTaskService { private final ProductRiskExcelAssemblyService excelAssemblyService; private final OssStorageService ossStorageService; private final ObjectMapper objectMapper; + private final ProductRiskTaskCacheService productRiskTaskCacheService; public ProductRiskDashboardVo dashboard(Long userId) { if (userId == null || userId <= 0) { @@ -251,6 +252,10 @@ public class ProductRiskTaskService { log.warn("[product-risk] compact result json failed: {}", ex.getMessage()); } fileTaskMapper.updateById(task); + + if ("SUCCESS".equals(task.getStatus()) || "FAILED".equals(task.getStatus())) { + productRiskTaskCacheService.deleteTaskCache(taskId); + } } public ProductRiskTaskBatchVo getTaskDetailsBatch(List taskIds) { @@ -402,6 +407,14 @@ public class ProductRiskTaskService { for (FileResultEntity fr : resultRows) { String shopKey = fr.getSourceFilename(); ProductRiskShopPayloadDto payload = shopKey == null ? null : payloadByShop.get(shopKey); + + // 兼容单店任务:若规范化店名偶发不一致(空格/符号差异)导致未命中,且任务与回传都只有 1 个店时按唯一店回填。 + if (payload == null && resultRows.size() == 1 && payloadByShop.size() == 1) { + payload = payloadByShop.values().iterator().next(); + log.warn("[product-risk] single-shop fallback matched taskId={} dbShop={} payloadShop={}", + taskId, shopKey, payload.getShopName()); + } + if (payload == null) { // 与删除品牌一致:支持队列逐条处理、分次回传,未在本次 payload 中的店铺保持待处理 continue; @@ -409,12 +422,20 @@ public class ProductRiskTaskService { if (payload.getError() != null && !payload.getError().isBlank()) { markResultFailed(fr, payload.getError()); batchErrors.add(shopKey + ": " + payload.getError()); + productRiskTaskCacheService.removeShopMergedPayload(taskId, shopKey); continue; } + + // 分次上报累积:合并到 Redis 缓存,再按“合并后是否完成”决定是否出包。 + ProductRiskShopPayloadDto mergedPayload = mergeShopPayload(taskId, shopKey, payload); + if (!isShopPayloadCompleted(mergedPayload)) { + continue; + } + try { - Map> countries = excelAssemblyService.normalizeCountriesMap(payload.getCountries()); - String displayName = payload.getShopName() != null && !payload.getShopName().isBlank() - ? payload.getShopName().trim() + Map> countries = excelAssemblyService.normalizeCountriesMap(mergedPayload.getCountries()); + String displayName = mergedPayload.getShopName() != null && !mergedPayload.getShopName().isBlank() + ? mergedPayload.getShopName().trim() : shopKey; String stem = safeFileStem(displayName); File xlsx = FileUtil.file(workRoot, stem + ".xlsx"); @@ -432,10 +453,12 @@ public class ProductRiskTaskService { fileResultMapper.updateById(fr); FileUtil.del(xlsx); FileUtil.del(zip); + productRiskTaskCacheService.removeShopMergedPayload(taskId, shopKey); } catch (Exception ex) { log.warn("[product-risk] shop assemble failed taskId={} shop={} msg={}", taskId, shopKey, ex.getMessage()); markResultFailed(fr, ex.getMessage() == null ? "组装失败" : ex.getMessage()); batchErrors.add(shopKey + ": " + ex.getMessage()); + productRiskTaskCacheService.removeShopMergedPayload(taskId, shopKey); } } @@ -631,4 +654,155 @@ public class ProductRiskTaskService { } return s.replaceAll("[\\\\/:*?\"<>|]", "_"); } + + private ProductRiskShopPayloadDto mergeShopPayload(Long taskId, String shopKey, ProductRiskShopPayloadDto incoming) { + ProductRiskShopPayloadDto merged = productRiskTaskCacheService.getShopMergedPayload(taskId, shopKey); + if (merged == null) { + merged = new ProductRiskShopPayloadDto(); + } + + if (incoming.getShopName() != null && !incoming.getShopName().isBlank()) { + merged.setShopName(incoming.getShopName().trim()); + } else if (merged.getShopName() == null || merged.getShopName().isBlank()) { + merged.setShopName(shopKey); + } + + if (incoming.getError() != null && !incoming.getError().isBlank()) { + merged.setError(incoming.getError()); + } + + Map> nextCountries = + merged.getCountries() == null ? new LinkedHashMap<>() : new LinkedHashMap<>(merged.getCountries()); + + if (incoming.getCountries() != null && !incoming.getCountries().isEmpty()) { + for (Map.Entry> entry : incoming.getCountries().entrySet()) { + com.nanri.aiimage.modules.productrisk.model.enums.ProductRiskCountryCode code = entry.getKey(); + if (code == null) { + continue; + } + List incomingRows = entry.getValue(); + if (incomingRows == null || incomingRows.isEmpty()) { + continue; + } + nextCountries.put(code, mergeCountryRows(nextCountries.get(code), incomingRows)); + } + } + + merged.setCountries(nextCountries); + productRiskTaskCacheService.saveShopMergedPayload(taskId, shopKey, merged); + return merged; + } + + private List mergeCountryRows(List existingRows, List incomingRows) { + List safeExisting = existingRows == null ? List.of() : existingRows; + LinkedHashMap byKey = new LinkedHashMap<>(); + + for (ProductRiskRowDto row : safeExisting) { + if (row == null) { + continue; + } + byKey.put(buildRowKey(row), cloneRow(row)); + } + + for (ProductRiskRowDto row : incomingRows) { + if (row == null) { + continue; + } + String key = buildRowKey(row); + ProductRiskRowDto prev = byKey.get(key); + byKey.put(key, mergeRow(prev, row)); + } + + return new ArrayList<>(byKey.values()); + } + + private String buildRowKey(ProductRiskRowDto row) { + String asinSku = row == null || row.getProductAsinSku() == null ? "" : row.getProductAsinSku().trim().toUpperCase(Locale.ROOT); + String removeAsin = row == null || row.getRemoveAsin() == null ? "" : row.getRemoveAsin().trim().toUpperCase(Locale.ROOT); + String status = row == null || row.getStatus() == null ? "" : row.getStatus().trim().toUpperCase(Locale.ROOT); + if (!asinSku.isBlank()) { + return "asinSku:" + asinSku; + } + if (!removeAsin.isBlank()) { + return "removeAsin:" + removeAsin; + } + if (!status.isBlank()) { + return "status:" + status; + } + return "row:" + java.util.UUID.randomUUID(); + } + + private ProductRiskRowDto mergeRow(ProductRiskRowDto prev, ProductRiskRowDto incoming) { + if (prev == null) { + return cloneRow(incoming); + } + ProductRiskRowDto merged = cloneRow(prev); + merged.setShopName(firstNonBlank(incoming.getShopName(), merged.getShopName())); + merged.setProductAsinSku(firstNonBlank(incoming.getProductAsinSku(), merged.getProductAsinSku())); + merged.setStatus(firstNonBlank(incoming.getStatus(), merged.getStatus())); + merged.setDone(firstNonBlank(incoming.getDone(), merged.getDone())); + merged.setRemoveAsin(firstNonBlank(incoming.getRemoveAsin(), merged.getRemoveAsin())); + merged.setRemoveStatus(firstNonBlank(incoming.getRemoveStatus(), merged.getRemoveStatus())); + return merged; + } + + private ProductRiskRowDto cloneRow(ProductRiskRowDto row) { + ProductRiskRowDto out = new ProductRiskRowDto(); + if (row == null) { + return out; + } + out.setShopName(row.getShopName()); + out.setProductAsinSku(row.getProductAsinSku()); + out.setStatus(row.getStatus()); + out.setDone(row.getDone()); + out.setRemoveAsin(row.getRemoveAsin()); + out.setRemoveStatus(row.getRemoveStatus()); + return out; + } + + private String firstNonBlank(String preferred, String fallback) { + if (preferred != null && !preferred.isBlank()) { + return preferred; + } + return fallback; + } + + private boolean isShopPayloadCompleted(ProductRiskShopPayloadDto payload) { + if (payload == null || payload.getCountries() == null || payload.getCountries().isEmpty()) { + return false; + } + boolean hasAnyRow = false; + for (List rows : payload.getCountries().values()) { + if (rows == null || rows.isEmpty()) { + continue; + } + for (ProductRiskRowDto row : rows) { + if (row == null) { + continue; + } + hasAnyRow = true; + if (!isDoneValue(row.getDone())) { + return false; + } + } + } + return hasAnyRow; + } + + private boolean isDoneValue(String value) { + if (value == null) { + return false; + } + String normalized = value.trim().toLowerCase(Locale.ROOT); + if (normalized.isBlank()) { + return false; + } + return "true".equals(normalized) + || "1".equals(normalized) + || "yes".equals(normalized) + || "y".equals(normalized) + || "是".equals(normalized) + || "完成".equals(normalized) + || "已完成".equals(normalized); + } } diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/controller/ShopManageController.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/controller/ShopManageController.java new file mode 100644 index 0000000..c645559 --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/controller/ShopManageController.java @@ -0,0 +1,115 @@ +package com.nanri.aiimage.modules.shopkey.controller; + +import com.nanri.aiimage.common.api.ApiResponse; +import com.nanri.aiimage.modules.shopkey.model.dto.ShopManageCreateRequest; +import com.nanri.aiimage.modules.shopkey.model.dto.ShopManageUpdateRequest; +import com.nanri.aiimage.modules.shopkey.model.dto.ShopManageGroupCreateRequest; +import com.nanri.aiimage.modules.shopkey.model.dto.ShopManageGroupUpdateRequest; +import com.nanri.aiimage.modules.shopkey.model.vo.ShopManageItemVo; +import com.nanri.aiimage.modules.shopkey.model.vo.ShopManagePageVo; +import com.nanri.aiimage.modules.shopkey.model.vo.ShopManageGroupItemVo; +import com.nanri.aiimage.modules.shopkey.model.vo.ShopManageCredentialVo; +import com.nanri.aiimage.modules.shopkey.service.ShopManageService; +import com.nanri.aiimage.modules.shopkey.service.ShopManageGroupService; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.Parameter; +import io.swagger.v3.oas.annotations.media.Content; +import io.swagger.v3.oas.annotations.media.Schema; +import io.swagger.v3.oas.annotations.responses.ApiResponses; +import io.swagger.v3.oas.annotations.tags.Tag; +import jakarta.validation.Valid; +import lombok.RequiredArgsConstructor; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestHeader; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@RequiredArgsConstructor +@RequestMapping("/api/admin/shop-manages") +@Tag(name = "店铺管理", description = "维护店铺信息,支持增删改查。") +public class ShopManageController { + + @Value("${aiimage.security.internal-token:}") + private String internalToken; + + private final ShopManageService shopManageService; + private final ShopManageGroupService shopManageGroupService; + + @GetMapping + @Operation(summary = "分页查询店铺", description = "分页查询店铺列表。") + @ApiResponses({ + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "200", description = "查询成功", content = @Content(schema = @Schema(implementation = ShopManagePageVo.class))) + }) + public ApiResponse page( + @Parameter(description = "页码") @RequestParam(defaultValue = "1") Long page, + @Parameter(description = "每页数量") @RequestParam(defaultValue = "15") Long pageSize) { + return ApiResponse.success(shopManageService.page(page, pageSize)); + } + + @PostMapping + @Operation(summary = "新增店铺", description = "新增一条店铺记录。") + public ApiResponse create(@Valid @RequestBody ShopManageCreateRequest request) { + return ApiResponse.success("创建成功", shopManageService.create(request)); + } + + @PutMapping("/{id}") + @Operation(summary = "更新店铺", description = "按 ID 更新一条店铺记录。") + public ApiResponse update( + @Parameter(description = "主键ID", required = true) @PathVariable Long id, + @Valid @RequestBody ShopManageUpdateRequest request) { + return ApiResponse.success("更新成功", shopManageService.update(id, request)); + } + + @DeleteMapping("/{id}") + @Operation(summary = "删除店铺", description = "按 ID 删除一条店铺记录。") + public ApiResponse delete(@Parameter(description = "主键ID", required = true) @PathVariable Long id) { + shopManageService.delete(id); + return ApiResponse.success("删除成功", null); + } + + @GetMapping("/groups") + @Operation(summary = "查询分组列表", description = "用于店铺管理下拉选择。") + public ApiResponse> listGroups() { + return ApiResponse.success(shopManageGroupService.list()); + } + + @PostMapping("/groups") + @Operation(summary = "新增分组", description = "新增一条店铺分组。") + public ApiResponse createGroup(@Valid @RequestBody ShopManageGroupCreateRequest request) { + return ApiResponse.success("创建成功", shopManageGroupService.create(request)); + } + + @PutMapping("/groups/{id}") + @Operation(summary = "更新分组", description = "按 ID 更新分组名称。") + public ApiResponse updateGroup( + @Parameter(description = "主键ID", required = true) @PathVariable Long id, + @Valid @RequestBody ShopManageGroupUpdateRequest request) { + return ApiResponse.success("更新成功", shopManageGroupService.update(id, request)); + } + + @DeleteMapping("/groups/{id}") + @Operation(summary = "删除分组", description = "删除分组(分组下有店铺时不允许删除)。") + public ApiResponse deleteGroup(@Parameter(description = "主键ID", required = true) @PathVariable Long id) { + shopManageGroupService.delete(id); + return ApiResponse.success("删除成功", null); + } + + @GetMapping("/credential") + @Operation(summary = "按店铺名获取明文凭据(内部)", description = "仅供 Python 自动化内部调用,需传 X-Internal-Token。") + public ApiResponse getCredentialByShopName( + @RequestParam("shopName") String shopName, + @RequestHeader(value = "X-Internal-Token", required = false) String token) { + if (internalToken == null || internalToken.isBlank() || token == null || !internalToken.equals(token)) { + throw new com.nanri.aiimage.common.exception.BusinessException("无权访问凭据"); + } + return ApiResponse.success(shopManageService.getCredentialByShopName(shopName)); + } +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/mapper/ShopManageGroupMapper.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/mapper/ShopManageGroupMapper.java new file mode 100644 index 0000000..fb44b6c --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/mapper/ShopManageGroupMapper.java @@ -0,0 +1,9 @@ +package com.nanri.aiimage.modules.shopkey.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.nanri.aiimage.modules.shopkey.model.entity.ShopManageGroupEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface ShopManageGroupMapper extends BaseMapper { +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/mapper/ShopManageMapper.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/mapper/ShopManageMapper.java new file mode 100644 index 0000000..27eca8f --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/mapper/ShopManageMapper.java @@ -0,0 +1,9 @@ +package com.nanri.aiimage.modules.shopkey.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.nanri.aiimage.modules.shopkey.model.entity.ShopManageEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface ShopManageMapper extends BaseMapper { +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageCreateRequest.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageCreateRequest.java new file mode 100644 index 0000000..71ccced --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageCreateRequest.java @@ -0,0 +1,21 @@ +package com.nanri.aiimage.modules.shopkey.model.dto; + +import jakarta.validation.constraints.NotNull; +import jakarta.validation.constraints.NotBlank; +import lombok.Data; + +@Data +public class ShopManageCreateRequest { + + @NotNull(message = "分组不能为空") + private Long groupId; + + @NotBlank(message = "店铺名不能为空") + private String shopName; + + @NotBlank(message = "账号不能为空") + private String account; + + @NotBlank(message = "密码不能为空") + private String password; +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageGroupCreateRequest.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageGroupCreateRequest.java new file mode 100644 index 0000000..705e1e1 --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageGroupCreateRequest.java @@ -0,0 +1,11 @@ +package com.nanri.aiimage.modules.shopkey.model.dto; + +import jakarta.validation.constraints.NotBlank; +import lombok.Data; + +@Data +public class ShopManageGroupCreateRequest { + + @NotBlank(message = "分组名称不能为空") + private String groupName; +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageGroupUpdateRequest.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageGroupUpdateRequest.java new file mode 100644 index 0000000..007b045 --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageGroupUpdateRequest.java @@ -0,0 +1,11 @@ +package com.nanri.aiimage.modules.shopkey.model.dto; + +import jakarta.validation.constraints.NotBlank; +import lombok.Data; + +@Data +public class ShopManageGroupUpdateRequest { + + @NotBlank(message = "分组名称不能为空") + private String groupName; +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageUpdateRequest.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageUpdateRequest.java new file mode 100644 index 0000000..193b46c --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/dto/ShopManageUpdateRequest.java @@ -0,0 +1,21 @@ +package com.nanri.aiimage.modules.shopkey.model.dto; + +import jakarta.validation.constraints.NotNull; +import jakarta.validation.constraints.NotBlank; +import lombok.Data; + +@Data +public class ShopManageUpdateRequest { + + @NotNull(message = "分组不能为空") + private Long groupId; + + @NotBlank(message = "店铺名不能为空") + private String shopName; + + @NotBlank(message = "账号不能为空") + private String account; + + @NotBlank(message = "密码不能为空") + private String password; +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/entity/ShopManageEntity.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/entity/ShopManageEntity.java new file mode 100644 index 0000000..5f4c00a --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/entity/ShopManageEntity.java @@ -0,0 +1,23 @@ +package com.nanri.aiimage.modules.shopkey.model.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.time.LocalDateTime; + +@Data +@TableName("biz_shop_manage") +public class ShopManageEntity { + + @TableId(type = IdType.AUTO) + private Long id; + private Long groupId; + private String groupName; + private String shopName; + private String account; + private String password; + private LocalDateTime createdAt; + private LocalDateTime updatedAt; +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/entity/ShopManageGroupEntity.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/entity/ShopManageGroupEntity.java new file mode 100644 index 0000000..3655103 --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/entity/ShopManageGroupEntity.java @@ -0,0 +1,19 @@ +package com.nanri.aiimage.modules.shopkey.model.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.time.LocalDateTime; + +@Data +@TableName("biz_shop_manage_group") +public class ShopManageGroupEntity { + + @TableId(type = IdType.AUTO) + private Long id; + private String groupName; + private LocalDateTime createdAt; + private LocalDateTime updatedAt; +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManageCredentialVo.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManageCredentialVo.java new file mode 100644 index 0000000..d7dd379 --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManageCredentialVo.java @@ -0,0 +1,13 @@ +package com.nanri.aiimage.modules.shopkey.model.vo; + +import lombok.Data; + +@Data +public class ShopManageCredentialVo { + private Long id; + private Long groupId; + private String groupName; + private String shopName; + private String account; + private String password; +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManageGroupItemVo.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManageGroupItemVo.java new file mode 100644 index 0000000..a3da49e --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManageGroupItemVo.java @@ -0,0 +1,13 @@ +package com.nanri.aiimage.modules.shopkey.model.vo; + +import lombok.Data; + +import java.time.LocalDateTime; + +@Data +public class ShopManageGroupItemVo { + private Long id; + private String groupName; + private LocalDateTime createdAt; + private LocalDateTime updatedAt; +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManageItemVo.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManageItemVo.java new file mode 100644 index 0000000..6967d77 --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManageItemVo.java @@ -0,0 +1,19 @@ +package com.nanri.aiimage.modules.shopkey.model.vo; + +import lombok.Data; + +import java.time.LocalDateTime; + +@Data +public class ShopManageItemVo { + + private Long id; + private Long groupId; + private String groupName; + private String shopName; + private String account; + private String password; + private String passwordMasked; + private LocalDateTime createdAt; + private LocalDateTime updatedAt; +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManagePageVo.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManagePageVo.java new file mode 100644 index 0000000..8b14749 --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/model/vo/ShopManagePageVo.java @@ -0,0 +1,15 @@ +package com.nanri.aiimage.modules.shopkey.model.vo; + +import lombok.Data; + +import java.util.ArrayList; +import java.util.List; + +@Data +public class ShopManagePageVo { + + private List items = new ArrayList<>(); + private Long total; + private Long page; + private Long pageSize; +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/service/ShopManageGroupService.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/service/ShopManageGroupService.java new file mode 100644 index 0000000..151ea57 --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/service/ShopManageGroupService.java @@ -0,0 +1,98 @@ +package com.nanri.aiimage.modules.shopkey.service; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.nanri.aiimage.common.exception.BusinessException; +import com.nanri.aiimage.modules.shopkey.mapper.ShopManageGroupMapper; +import com.nanri.aiimage.modules.shopkey.mapper.ShopManageMapper; +import com.nanri.aiimage.modules.shopkey.model.dto.ShopManageGroupCreateRequest; +import com.nanri.aiimage.modules.shopkey.model.dto.ShopManageGroupUpdateRequest; +import com.nanri.aiimage.modules.shopkey.model.entity.ShopManageGroupEntity; +import com.nanri.aiimage.modules.shopkey.model.entity.ShopManageEntity; +import com.nanri.aiimage.modules.shopkey.model.vo.ShopManageGroupItemVo; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.List; + +@Service +@RequiredArgsConstructor +public class ShopManageGroupService { + + private final ShopManageGroupMapper groupMapper; + private final ShopManageMapper shopManageMapper; + + public List list() { + return groupMapper.selectList(new LambdaQueryWrapper().orderByAsc(ShopManageGroupEntity::getId)) + .stream() + .map(this::toVo) + .toList(); + } + + @Transactional + public ShopManageGroupItemVo create(ShopManageGroupCreateRequest request) { + String groupName = normalizeRequired(request.getGroupName(), "分组名称不能为空"); + ensureGroupNameUnique(groupName, null); + ShopManageGroupEntity entity = new ShopManageGroupEntity(); + entity.setGroupName(groupName); + groupMapper.insert(entity); + return toVo(getById(entity.getId())); + } + + @Transactional + public ShopManageGroupItemVo update(Long id, ShopManageGroupUpdateRequest request) { + ShopManageGroupEntity entity = getById(id); + String groupName = normalizeRequired(request.getGroupName(), "分组名称不能为空"); + ensureGroupNameUnique(groupName, id); + entity.setGroupName(groupName); + groupMapper.updateById(entity); + return toVo(getById(id)); + } + + @Transactional + public void delete(Long id) { + ShopManageGroupEntity entity = getById(id); + Long useCount = shopManageMapper.selectCount(new LambdaQueryWrapper().eq(ShopManageEntity::getGroupId, entity.getId())); + if (useCount != null && useCount > 0) { + throw new BusinessException("该分组下存在店铺,无法删除"); + } + groupMapper.deleteById(entity.getId()); + } + + public ShopManageGroupEntity getById(Long id) { + ShopManageGroupEntity entity = groupMapper.selectById(id); + if (entity == null) { + throw new BusinessException("分组不存在"); + } + return entity; + } + + private void ensureGroupNameUnique(String groupName, Long excludeId) { + LambdaQueryWrapper query = new LambdaQueryWrapper() + .eq(ShopManageGroupEntity::getGroupName, groupName); + if (excludeId != null) { + query.ne(ShopManageGroupEntity::getId, excludeId); + } + Long count = groupMapper.selectCount(query); + if (count != null && count > 0) { + throw new BusinessException("分组名称已存在"); + } + } + + private String normalizeRequired(String value, String message) { + String normalized = value == null ? "" : value.trim(); + if (normalized.isEmpty()) { + throw new BusinessException(message); + } + return normalized; + } + + private ShopManageGroupItemVo toVo(ShopManageGroupEntity entity) { + ShopManageGroupItemVo vo = new ShopManageGroupItemVo(); + vo.setId(entity.getId()); + vo.setGroupName(entity.getGroupName()); + vo.setCreatedAt(entity.getCreatedAt()); + vo.setUpdatedAt(entity.getUpdatedAt()); + return vo; + } +} diff --git a/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/service/ShopManageService.java b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/service/ShopManageService.java new file mode 100644 index 0000000..6aea8b0 --- /dev/null +++ b/backend-java/src/main/java/com/nanri/aiimage/modules/shopkey/service/ShopManageService.java @@ -0,0 +1,178 @@ +package com.nanri.aiimage.modules.shopkey.service; + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.nanri.aiimage.common.exception.BusinessException; +import com.nanri.aiimage.common.security.ShopCredentialCryptoService; +import com.nanri.aiimage.modules.shopkey.mapper.ShopManageMapper; +import com.nanri.aiimage.modules.shopkey.model.dto.ShopManageCreateRequest; +import com.nanri.aiimage.modules.shopkey.model.dto.ShopManageUpdateRequest; +import com.nanri.aiimage.modules.shopkey.model.entity.ShopManageEntity; +import com.nanri.aiimage.modules.shopkey.model.entity.ShopManageGroupEntity; +import com.nanri.aiimage.modules.shopkey.model.vo.ShopManageItemVo; +import com.nanri.aiimage.modules.shopkey.model.vo.ShopManagePageVo; +import com.nanri.aiimage.modules.shopkey.model.vo.ShopManageCredentialVo; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; + +@Service +@RequiredArgsConstructor +public class ShopManageService { + + private final ShopManageMapper shopManageMapper; + private final ShopManageGroupService shopManageGroupService; + private final ShopCredentialCryptoService shopCredentialCryptoService; + + public ShopManagePageVo page(long page, long pageSize) { + long safePage = Math.max(page, 1); + long safePageSize = Math.min(Math.max(pageSize, 1), 100); + LambdaQueryWrapper query = new LambdaQueryWrapper() + .orderByDesc(ShopManageEntity::getId); + Long total = shopManageMapper.selectCount(query); + List rows = shopManageMapper + .selectList(query.last("LIMIT " + ((safePage - 1) * safePageSize) + ", " + safePageSize)); + +Map groupNameById = buildGroupNameMap(rows.stream() + .map(ShopManageEntity::getGroupId) + .filter(id -> id != null && id > 0) + .distinct() + .toList()); + + List items = rows.stream() + .map(entity -> toItemVo(entity, groupNameById.get(entity.getGroupId()))) + .toList(); + ShopManagePageVo vo = new ShopManagePageVo(); + vo.setItems(items); + vo.setTotal(total); + vo.setPage(safePage); + vo.setPageSize(safePageSize); + return vo; + } + + @Transactional + public ShopManageItemVo create(ShopManageCreateRequest request) { + ShopManageGroupEntity group = shopManageGroupService.getById(request.getGroupId()); + String shopName = normalizeRequired(request.getShopName(), "店铺名不能为空"); + ensureShopNameUnique(shopName, null); + + ShopManageEntity entity = new ShopManageEntity(); + entity.setGroupId(group.getId()); + entity.setGroupName(group.getGroupName()); + entity.setShopName(shopName); + entity.setAccount(normalizeRequired(request.getAccount(), "账号不能为空")); + entity.setPassword(shopCredentialCryptoService.encrypt(normalizeRequired(request.getPassword(), "密码不能为空"))); + shopManageMapper.insert(entity); + ShopManageEntity saved = getById(entity.getId()); + return toItemVo(saved, group.getGroupName()); + } + + @Transactional + public ShopManageItemVo update(Long id, ShopManageUpdateRequest request) { + ShopManageEntity entity = getById(id); + ShopManageGroupEntity group = shopManageGroupService.getById(request.getGroupId()); + String shopName = normalizeRequired(request.getShopName(), "店铺名不能为空"); + ensureShopNameUnique(shopName, id); + + entity.setGroupId(group.getId()); + entity.setGroupName(group.getGroupName()); + entity.setShopName(shopName); + entity.setAccount(normalizeRequired(request.getAccount(), "账号不能为空")); + entity.setPassword(shopCredentialCryptoService.encrypt(normalizeRequired(request.getPassword(), "密码不能为空"))); + shopManageMapper.updateById(entity); + ShopManageEntity updated = getById(id); + return toItemVo(updated, group.getGroupName()); + } + + @Transactional + public void delete(Long id) { + ShopManageEntity entity = getById(id); + shopManageMapper.deleteById(entity.getId()); + } + + public ShopManageCredentialVo getCredentialByShopName(String shopName) { + String normalizedShopName = normalizeRequired(shopName, "店铺名不能为空"); + ShopManageEntity entity = shopManageMapper.selectOne(new LambdaQueryWrapper() + .eq(ShopManageEntity::getShopName, normalizedShopName) + .last("limit 1")); + if (entity == null) { + throw new BusinessException("店铺不存在"); + } + ShopManageCredentialVo vo = new ShopManageCredentialVo(); + vo.setId(entity.getId()); + vo.setGroupId(entity.getGroupId()); + vo.setShopName(entity.getShopName()); + vo.setAccount(entity.getAccount()); + vo.setPassword(shopCredentialCryptoService.decrypt(entity.getPassword())); + try { + ShopManageGroupEntity group = shopManageGroupService.getById(entity.getGroupId()); + vo.setGroupName(group.getGroupName()); + } catch (Exception ignored) { + vo.setGroupName(""); + } + return vo; + } + + private ShopManageEntity getById(Long id) { + ShopManageEntity entity = shopManageMapper.selectById(id); + if (entity == null) { + throw new BusinessException("店铺不存在"); + } + return entity; + } + + private String normalizeRequired(String value, String message) { + String normalized = value == null ? "" : value.trim(); + if (normalized.isEmpty()) { + throw new BusinessException(message); + } + return normalized; + } + + private void ensureShopNameUnique(String shopName, Long excludeId) { + LambdaQueryWrapper query = new LambdaQueryWrapper() + .eq(ShopManageEntity::getShopName, shopName); + if (excludeId != null) { + query.ne(ShopManageEntity::getId, excludeId); + } + Long count = shopManageMapper.selectCount(query); + if (count != null && count > 0) { + throw new BusinessException("店铺名已存在"); + } + } + + private Map buildGroupNameMap(List groupIds) { + if (groupIds == null || groupIds.isEmpty()) { + return Map.of(); + } + LinkedHashMap map = new LinkedHashMap<>(); + for (Long groupId : groupIds) { + try { + ShopManageGroupEntity g = shopManageGroupService.getById(groupId); + map.put(groupId, g.getGroupName()); + } catch (Exception ignored) { + map.put(groupId, ""); + } + } + return map; + } + + private ShopManageItemVo toItemVo(ShopManageEntity entity, String groupName) { + ShopManageItemVo vo = new ShopManageItemVo(); + vo.setId(entity.getId()); + vo.setGroupId(entity.getGroupId()); + vo.setGroupName(groupName == null ? "" : groupName); + vo.setShopName(entity.getShopName()); + vo.setAccount(entity.getAccount()); + String masked = entity.getPassword() == null || entity.getPassword().isBlank() ? "" : "******"; + // 兼容旧前端字段:password 继续返回脱敏值 + vo.setPassword(masked); + vo.setPasswordMasked(masked); + vo.setCreatedAt(entity.getCreatedAt()); + vo.setUpdatedAt(entity.getUpdatedAt()); + return vo; + } +} diff --git a/backend-java/src/main/resources/application.yml b/backend-java/src/main/resources/application.yml index ecc5f73..8f44981 100644 --- a/backend-java/src/main/resources/application.yml +++ b/backend-java/src/main/resources/application.yml @@ -86,6 +86,9 @@ aiimage: enabled: ${AIIMAGE_MODULE_CLEANUP_ENABLED:true} cron: ${AIIMAGE_MODULE_CLEANUP_CRON:0 0 0 * * *} module-types: ${AIIMAGE_MODULE_CLEANUP_MODULE_TYPES:DEDUPE,SPLIT,CONVERT,DELETE_BRAND,PRODUCT_RISK_RESOLVE} + security: + shop-credential-key: ${AIIMAGE_SHOP_CREDENTIAL_KEY:change-me-shop-credential-key} + internal-token: ${AIIMAGE_INTERNAL_TOKEN:} ziniao: enabled: ${AIIMAGE_ZINIAO_ENABLED:false} base-url: ${AIIMAGE_ZINIAO_BASE_URL:https://sbappstoreapi.ziniao.com/openapi-router} diff --git a/backend-java/src/main/resources/db/V11__create_shop_manage.sql b/backend-java/src/main/resources/db/V11__create_shop_manage.sql new file mode 100644 index 0000000..667e6cc --- /dev/null +++ b/backend-java/src/main/resources/db/V11__create_shop_manage.sql @@ -0,0 +1,12 @@ +CREATE TABLE IF NOT EXISTS biz_shop_manage ( + id BIGINT PRIMARY KEY AUTO_INCREMENT COMMENT '主键', + group_name VARCHAR(128) NOT NULL COMMENT '分组', + shop_name VARCHAR(128) NOT NULL COMMENT '店铺名', + account VARCHAR(128) NOT NULL COMMENT '账号', + password VARCHAR(255) NOT NULL COMMENT '密码', + created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', + KEY idx_group_name (group_name), + KEY idx_shop_name (shop_name), + KEY idx_created_at (created_at) +) COMMENT='店铺管理表'; diff --git a/backend-java/src/main/resources/db/V12__shop_manage_group.sql b/backend-java/src/main/resources/db/V12__shop_manage_group.sql new file mode 100644 index 0000000..d959aa3 --- /dev/null +++ b/backend-java/src/main/resources/db/V12__shop_manage_group.sql @@ -0,0 +1,14 @@ +CREATE TABLE IF NOT EXISTS biz_shop_manage_group ( + id BIGINT PRIMARY KEY AUTO_INCREMENT COMMENT '主键', + group_name VARCHAR(128) NOT NULL COMMENT '分组名称', + created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', + UNIQUE KEY uk_group_name (group_name), + KEY idx_created_at (created_at) +) COMMENT='店铺管理分组表'; + +ALTER TABLE biz_shop_manage + ADD COLUMN IF NOT EXISTS group_id BIGINT NULL COMMENT '分组ID' AFTER id; + +ALTER TABLE biz_shop_manage + ADD KEY IF NOT EXISTS idx_group_id (group_id); diff --git a/backend-java/src/main/resources/db/V13__ensure_shop_manage_group_id.sql b/backend-java/src/main/resources/db/V13__ensure_shop_manage_group_id.sql new file mode 100644 index 0000000..97844dc --- /dev/null +++ b/backend-java/src/main/resources/db/V13__ensure_shop_manage_group_id.sql @@ -0,0 +1,35 @@ +-- 兼容旧库:确保 biz_shop_manage 存在 group_id 字段与索引 + +SET @db_name = DATABASE(); + +-- 1) 新增 group_id 字段(仅当不存在时) +SET @col_exists := ( + SELECT COUNT(*) + FROM information_schema.COLUMNS + WHERE TABLE_SCHEMA = @db_name + AND TABLE_NAME = 'biz_shop_manage' + AND COLUMN_NAME = 'group_id' +); +SET @sql_add_col := IF(@col_exists = 0, + 'ALTER TABLE biz_shop_manage ADD COLUMN group_id BIGINT NULL COMMENT ''分组ID'' AFTER id', + 'SELECT 1' +); +PREPARE stmt FROM @sql_add_col; +EXECUTE stmt; +DEALLOCATE PREPARE stmt; + +-- 2) 新增 group_id 索引(仅当不存在时) +SET @idx_exists := ( + SELECT COUNT(*) + FROM information_schema.STATISTICS + WHERE TABLE_SCHEMA = @db_name + AND TABLE_NAME = 'biz_shop_manage' + AND INDEX_NAME = 'idx_group_id' +); +SET @sql_add_idx := IF(@idx_exists = 0, + 'ALTER TABLE biz_shop_manage ADD KEY idx_group_id (group_id)', + 'SELECT 1' +); +PREPARE stmt2 FROM @sql_add_idx; +EXECUTE stmt2; +DEALLOCATE PREPARE stmt2; diff --git a/backend-java/src/main/resources/db/V14__shop_manage_drop_legacy_group_name.sql b/backend-java/src/main/resources/db/V14__shop_manage_drop_legacy_group_name.sql new file mode 100644 index 0000000..0e87c8b --- /dev/null +++ b/backend-java/src/main/resources/db/V14__shop_manage_drop_legacy_group_name.sql @@ -0,0 +1,5 @@ +-- 兼容旧库:biz_shop_manage 早期存在 group_name 非空字段,新代码改为 group_id 后插入会报错。 +-- 这里确保 group_name 可为空,避免旧字段约束阻断写入。 + +ALTER TABLE biz_shop_manage + MODIFY COLUMN group_name VARCHAR(128) NULL COMMENT '旧字段(兼容保留)'; diff --git a/backend-java/src/main/resources/db/V15__backfill_shop_manage_group_id.sql b/backend-java/src/main/resources/db/V15__backfill_shop_manage_group_id.sql new file mode 100644 index 0000000..fc51e34 --- /dev/null +++ b/backend-java/src/main/resources/db/V15__backfill_shop_manage_group_id.sql @@ -0,0 +1,16 @@ +-- 将旧表 biz_shop_manage 的 group_name 数据回填到新分组表与 group_id 字段 + +INSERT INTO biz_shop_manage_group (group_name) +SELECT DISTINCT sm.group_name +FROM biz_shop_manage sm +LEFT JOIN biz_shop_manage_group g ON g.group_name = sm.group_name +WHERE sm.group_name IS NOT NULL + AND TRIM(sm.group_name) <> '' + AND g.id IS NULL; + +UPDATE biz_shop_manage sm +JOIN biz_shop_manage_group g ON g.group_name = sm.group_name +SET sm.group_id = g.id +WHERE sm.group_id IS NULL + AND sm.group_name IS NOT NULL + AND TRIM(sm.group_name) <> ''; diff --git a/backend/__pycache__/config.cpython-312.pyc b/backend/__pycache__/config.cpython-312.pyc index 94466e8..7684111 100644 Binary files a/backend/__pycache__/config.cpython-312.pyc and b/backend/__pycache__/config.cpython-312.pyc differ diff --git a/backend/app.py b/backend/app.py index 7a90dcc..201ace9 100644 --- a/backend/app.py +++ b/backend/app.py @@ -14,7 +14,6 @@ from blueprints.auth import auth from blueprints.main import main from blueprints.admin_api import admin_api from blueprints.version import version_bp -from blueprints.get_resource import get_resource BASE_DIR = os.path.dirname(os.path.abspath(__file__)) app = Flask(__name__, template_folder=BASE_DIR, static_folder=BASE_DIR) @@ -28,7 +27,6 @@ app.register_blueprint(auth) app.register_blueprint(main) app.register_blueprint(admin_api) app.register_blueprint(version_bp) -app.register_blueprint(get_resource) def run_app(host='0.0.0.0', port=15124): diff --git a/backend/blueprints/__pycache__/admin_api.cpython-312.pyc b/backend/blueprints/__pycache__/admin_api.cpython-312.pyc index e4b7967..cc9225f 100644 Binary files a/backend/blueprints/__pycache__/admin_api.cpython-312.pyc and b/backend/blueprints/__pycache__/admin_api.cpython-312.pyc differ diff --git a/backend/blueprints/admin_api.py b/backend/blueprints/admin_api.py index 5e7e477..1497c40 100644 --- a/backend/blueprints/admin_api.py +++ b/backend/blueprints/admin_api.py @@ -938,3 +938,205 @@ def delete_dedupe_total_data(item_id): 'success': True, 'msg': result.get('message') or '删除成功', }) + + +# ---------- 店铺管理 ---------- + +@admin_api.route('/shop-manages') +@admin_required +def list_shop_manages(): + page = max(1, int(request.args.get('page', 1))) + page_size = min(100, max(1, int(request.args.get('page_size', 15)))) + result, error_response, status = _proxy_backend_java( + 'GET', + '/api/admin/shop-manages', + params={'page': page, 'pageSize': page_size}, + ) + if error_response is not None: + return error_response, status + payload = result.get('data') or {} + items = [ + { + 'id': item.get('id'), + 'group_id': item.get('groupId'), + 'group_name': item.get('groupName') or '', + 'shop_name': item.get('shopName') or '', + 'account': item.get('account') or '', + 'password': item.get('passwordMasked') or '', + 'created_at': (item.get('createdAt') or '').replace('T', ' ')[:16], + 'updated_at': (item.get('updatedAt') or '').replace('T', ' ')[:16], + } + for item in (payload.get('items') or []) + ] + return jsonify({ + 'success': True, + 'items': items, + 'total': payload.get('total') or 0, + 'page': payload.get('page') or page, + 'page_size': payload.get('pageSize') or page_size, + }) + + +@admin_api.route('/shop-manage', methods=['POST']) +@admin_required +def create_shop_manage(): + data = request.get_json() or {} + payload = { + 'groupId': data.get('group_id'), + 'shopName': (data.get('shop_name') or '').strip(), + 'account': (data.get('account') or '').strip(), + 'password': (data.get('password') or '').strip(), + } + result, error_response, status = _proxy_backend_java( + 'POST', + '/api/admin/shop-manages', + json_data=payload, + ) + if error_response is not None: + return error_response, status + item = result.get('data') or {} + return jsonify({ + 'success': True, + 'msg': result.get('message') or '创建成功', + 'item': { + 'id': item.get('id'), + 'group_id': item.get('groupId'), + 'group_name': item.get('groupName') or '', + 'shop_name': item.get('shopName') or '', + 'account': item.get('account') or '', + 'password': item.get('password') or '', + 'created_at': (item.get('createdAt') or '').replace('T', ' ')[:16], + 'updated_at': (item.get('updatedAt') or '').replace('T', ' ')[:16], + }, + }) + + +@admin_api.route('/shop-manage/', methods=['PUT']) +@admin_required +def update_shop_manage(item_id): + data = request.get_json() or {} + payload = { + 'groupId': data.get('group_id'), + 'shopName': (data.get('shop_name') or '').strip(), + 'account': (data.get('account') or '').strip(), + 'password': (data.get('password') or '').strip(), + } + result, error_response, status = _proxy_backend_java( + 'PUT', + f'/api/admin/shop-manages/{item_id}', + json_data=payload, + ) + if error_response is not None: + return error_response, status + item = result.get('data') or {} + return jsonify({ + 'success': True, + 'msg': result.get('message') or '更新成功', + 'item': { + 'id': item.get('id'), + 'group_name': item.get('groupName') or '', + 'shop_name': item.get('shopName') or '', + 'account': item.get('account') or '', + 'password': item.get('password') or '', + 'created_at': (item.get('createdAt') or '').replace('T', ' ')[:16], + 'updated_at': (item.get('updatedAt') or '').replace('T', ' ')[:16], + }, + }) + + +@admin_api.route('/shop-manage/', methods=['DELETE']) +@admin_required +def delete_shop_manage(item_id): + result, error_response, status = _proxy_backend_java( + 'DELETE', + f'/api/admin/shop-manages/{item_id}', + ) + if error_response is not None: + return error_response, status + return jsonify({ + 'success': True, + 'msg': result.get('message') or '删除成功', + }) + + +@admin_api.route('/shop-manage-groups') +@admin_required +def list_shop_manage_groups(): + result, error_response, status = _proxy_backend_java( + 'GET', + '/api/admin/shop-manages/groups', + ) + if error_response is not None: + return error_response, status + items = [ + { + 'id': item.get('id'), + 'group_name': item.get('groupName') or '', + 'created_at': (item.get('createdAt') or '').replace('T', ' ')[:16], + 'updated_at': (item.get('updatedAt') or '').replace('T', ' ')[:16], + } + for item in (result.get('data') or []) + ] + return jsonify({'success': True, 'items': items}) + + +@admin_api.route('/shop-manage-group', methods=['POST']) +@admin_required +def create_shop_manage_group(): + data = request.get_json() or {} + payload = {'groupName': (data.get('group_name') or '').strip()} + result, error_response, status = _proxy_backend_java( + 'POST', + '/api/admin/shop-manages/groups', + json_data=payload, + ) + if error_response is not None: + return error_response, status + item = result.get('data') or {} + return jsonify({ + 'success': True, + 'msg': result.get('message') or '创建成功', + 'item': { + 'id': item.get('id'), + 'group_name': item.get('groupName') or '', + 'created_at': (item.get('createdAt') or '').replace('T', ' ')[:16], + 'updated_at': (item.get('updatedAt') or '').replace('T', ' ')[:16], + }, + }) + + +@admin_api.route('/shop-manage-group/', methods=['PUT']) +@admin_required +def update_shop_manage_group(item_id): + data = request.get_json() or {} + payload = {'groupName': (data.get('group_name') or '').strip()} + result, error_response, status = _proxy_backend_java( + 'PUT', + f'/api/admin/shop-manages/groups/{item_id}', + json_data=payload, + ) + if error_response is not None: + return error_response, status + item = result.get('data') or {} + return jsonify({ + 'success': True, + 'msg': result.get('message') or '更新成功', + 'item': { + 'id': item.get('id'), + 'group_name': item.get('groupName') or '', + 'created_at': (item.get('createdAt') or '').replace('T', ' ')[:16], + 'updated_at': (item.get('updatedAt') or '').replace('T', ' ')[:16], + }, + }) + + +@admin_api.route('/shop-manage-group/', methods=['DELETE']) +@admin_required +def delete_shop_manage_group(item_id): + result, error_response, status = _proxy_backend_java( + 'DELETE', + f'/api/admin/shop-manages/groups/{item_id}', + ) + if error_response is not None: + return error_response, status + return jsonify({'success': True, 'msg': result.get('message') or '删除成功'}) diff --git a/backend/web_source/admin.html b/backend/web_source/admin.html index 78d1c34..668b502 100644 --- a/backend/web_source/admin.html +++ b/backend/web_source/admin.html @@ -113,6 +113,7 @@
栏目权限配置
数据去重总数据
店铺密钥管理
+
店铺管理
查看生成记录
版本管理
@@ -345,6 +346,57 @@ + +
+
+

新增店铺

+
+
+ +
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+ +
+

+
+
+

店铺列表

+ + + + + + + + + + + + + + +
序号分组店铺名账号密码创建时间修改时间操作
+ +
+
+
@@ -460,6 +512,66 @@
+ + + + + +