Dev Main by v3.4 测试数据删除 #10

Merged
jacy merged 91 commits from dev into main 2026-07-28 17:19:22 +08:00
Owner

清楚测试数据,使用正式数据上线。

清楚测试数据,使用正式数据上线。
jacy added 91 commits 2026-07-28 17:19:14 +08:00
fix(api): add TICKET_COLLAB to EventType enum
CI / verify (pull_request) Has been cancelled
d1b207422c
Unblock nest build for after-sale ticket collaboration events.

Co-authored-by: Cursor <cursoragent@cursor.com>
微信小程序审核不通过修改
CI / verify (pull_request) Has been cancelled
935ab0d1d4
fix(deploy): correct APP_ROOT to /opt/dukang
CI / verify (pull_request) Has been cancelled
6c6fb10490
Server path is /opt/dukang; stale /opt/dukang-haoke broke PM2 cwd for mini-user H5.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove secrets file from the index (keep local). Mine page can choose avatar and nickname via WeChat components.

Co-authored-by: Cursor <cursoragent@cursor.com>
Hide WeChat login for shop and partner users, keep verified sessions for seven days, and allow JSSDK camera or album access without an OpenID binding.

Co-authored-by: Cursor <cursoragent@cursor.com>
fix(h5): serve assets from dedicated domain roots
CI / verify (pull_request) Has been cancelled
c11c7647b9
Co-authored-by: Cursor <cursoragent@cursor.com>
fix(h5): temporarily disable WeChat camera flows
CI / verify (pull_request) Has been cancelled
36bec94639
Co-authored-by: Cursor <cursoragent@cursor.com>
feat(redeem): streamline phone redemption confirmation
CI / verify (pull_request) Has been cancelled
eb96b36d0b
Co-authored-by: Cursor <cursoragent@cursor.com>
fix(mini-user): address review blockers
CI / verify (pull_request) Has been cancelled
bdf80e577b
Co-authored-by: Cursor <cursoragent@cursor.com>
fix(partner): move store-open phone verify to step 3
CI / verify (pull_request) Has been cancelled
270cebc79a
Confirm phone and SMS after bank details, then submit directly.

Co-authored-by: Cursor <cursoragent@cursor.com>
feat(h5): add pull-to-refresh on user partner and shop pages
CI / verify (pull_request) Has been cancelled
ae7c63c08d
Share PullToRefresh for partner/shop H5; enable Taro pull-down on mini-user lists.

Co-authored-by: Cursor <cursoragent@cursor.com>
关闭门店改为自定义确认框,不再用 window.confirm,不会再带出页面域名
Admin CRUD under stores menu; partner picks leaf category on create.
Default sync only inserts missing rows and never updates existing ones.

Co-authored-by: Cursor <cursoragent@cursor.com>
门店详情 / 开店页:去掉顶栏返回与标题空白,内容上顶,顶部约 12px,与「门店管理」一致。
开店第一页底部:在「下一步」左侧加了「返回」(回门店列表);第 2、3 步仍是「上一步」。
小程序页面优化
CI / verify (pull_request) Has been cancelled
b534a569f8
Add WineryBill/StoreBill tables, partner review-send-confirm flow, daily/monthly cron, and admin multi-select confirm with status filters.

Co-authored-by: Cursor <cursoragent@cursor.com>
fix(admin): prevent false partner commission cap errors
CI / verify (pull_request) Has been cancelled
85f2c156b0
Coerce city maxPartnerCommissionRate to Number so Decimal JSON strings do not break sum checks.

Co-authored-by: Cursor <cursoragent@cursor.com>
Region partners only select districts under the chosen city; overlap errors name the occupying partner.

Co-authored-by: Cursor <cursoragent@cursor.com>
底部提示:左右留白 + 内边距,浅底圆角块,文案改为最低 0.01、余额上限、3 分钟到店出示。
新增地址:进入页会尝试定位,自动选中当前省市区(失败则保留默认郑州);编辑地址不重定位。
Persist redeem allocations and surface them on HQ order detail with backfill for history.

Co-authored-by: Cursor <cursoragent@cursor.com>
feat(ops): show redeem records on benefit coupon detail
CI / verify (pull_request) Has been cancelled
cd206d6baa
Reuse the same coupon redeem trace as order detail (primary/secondary, allocations).

Co-authored-by: Cursor <cursoragent@cursor.com>
小程序端核销权益券金额输入限制
CI / verify (pull_request) Has been cancelled
0418370c31
现场取货功能
Use getwxacodeunlimit with activity id as scene, upload PNG to OSS qrcode/, and show in HQ admin.

Co-authored-by: Cursor <cursoragent@cursor.com>
chore(admin): label promo QR as mini-program code
CI / verify (pull_request) Has been cancelled
047ffd7b16
Co-authored-by: Cursor <cursoragent@cursor.com>
小程序端核销权益输入框限制
CI / verify (pull_request) Has been cancelled
cd6b82abd8
feat(trade): add on-site pickup order flow
CI / verify (pull_request) Has been cancelled
cebeefdb22
Product flag, ON_SITE_PICKUP delivery, mini confirm/receive pages; pay skips warehouse auto-advance.

Co-authored-by: Cursor <cursoragent@cursor.com>
feat(mini-user): add configurable home banner and footer
CI / verify (pull_request) Has been cancelled
479de04f7c
HQ system settings WeChat mini config with OSS swiper/footer uploads; client-config exposes miniHome.

Co-authored-by: Cursor <cursoragent@cursor.com>
fix(admin): improve promo layout and system settings save UX
CI / verify (pull_request) Has been cancelled
d11757c854
Fix mini home media form persistence; float save with unsaved leave prompt; promo detail QR on the right.

Co-authored-by: Cursor <cursoragent@cursor.com>
小程序页面优化
CI / verify (pull_request) Has been cancelled
6479365d6a
后端修改权限和折叠功能
CI / verify (pull_request) Has been cancelled
75765bf9d4
酒厂银行账户
小程序端界面修改
CI / verify (pull_request) Has been cancelled
2a208d5dea
feat(admin): require store category on HQ store create
CI / verify (pull_request) Has been cancelled
ac1e0a9f13
Co-authored-by: Cursor <cursoragent@cursor.com>
技术支持工单
CI / verify (pull_request) Has been cancelled
959e0b66cb
企业知识库搭建
CI / verify (pull_request) Has been cancelled
f053908acb
知识库
CI / verify (pull_request) Has been cancelled
745c192693
feat(admin): LLM config, knowledge base, and WeCom AI binding
CI / verify (pull_request) Has been cancelled
2b7ef65cce
Add owner-scoped model API settings, uploadable knowledge bases, and WeCom bot AI/KB wiring with OpenAI-compatible URL normalization.

Co-authored-by: Cursor <cursoragent@cursor.com>
chore(settlement): add finance bills mock seed script
CI / verify (pull_request) Has been cancelled
94d2a88581
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
feat(store): dual business hours, avg price, and status lock
CI / verify (pull_request) Has been cancelled
92cf51ba3d
Support 1-2 hour segments and optional avgPrice; show bank settlement on HQ store detail; enforce pickup min 2 bottles; Chinese order statuses; block shop reopen after permanent close.

Co-authored-by: Cursor <cursoragent@cursor.com>
fix(shop): resolve duplicate open binding on home page
CI / verify (pull_request) Has been cancelled
097c7dec4b
Co-authored-by: Cursor <cursoragent@cursor.com>
fix(partner): export normalizeStringArray for store detail
CI / verify (pull_request) Has been cancelled
25aee745cc
Co-authored-by: Cursor <cursoragent@cursor.com>
fix(partner): restore clearAllStoreDrafts export
CI / verify (pull_request) Has been cancelled
b810cabc6d
Co-authored-by: Cursor <cursoragent@cursor.com>
feat(admin): require business hours when creating stores
CI / verify (pull_request) Has been cancelled
cc9933d1ce
HQ create-store wizard now collects 1-2 hour segments and avgPrice, and API validates them on create/update.

Co-authored-by: Cursor <cursoragent@cursor.com>
小程序加上公司资质
CI / verify (pull_request) Has been cancelled
1725b9e4b4
Co-authored-by: Cursor <cursoragent@cursor.com>
HQ store detail can set coordinates and open Baidu Map search by name/address; admin update API persists lat/lng.

Co-authored-by: Cursor <cursoragent@cursor.com>
Store create/edit on HQ and partner can pick coords via Tencent locpicker; client-config exposes TENCENT_LBS_KEY; seed empty system settings from env.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
fix(deploy): use scp -P for sync-api-env port option
CI / verify (pull_request) Has been cancelled
ea8152ebf3
Co-authored-by: Cursor <cursoragent@cursor.com>
Add benefitUsageRule on store create/edit (HQ + partner) and C-end detail between intro and env gallery.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire WeChat share on home and benefit tabs; serve mine qualification
from OSS; mask phones on admin users and wechat bindings pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
feat(partner): complete proxy order with dual SMS and pickup
CI / verify (pull_request) Has been cancelled
b59d4484ec
Add partner/customer SMS confirm, address auto-receive or on-site
pickup, proxy placer fields, PARTNER_PROXY user source, and C-end badge.

Co-authored-by: Cursor <cursoragent@cursor.com>
fix(partner): guard null region on proxy order preview
CI / verify (pull_request) Has been cancelled
aa9d689c76
Avoid crash when province/city is not selected yet.

Co-authored-by: Cursor <cursoragent@cursor.com>
On-site pickup no longer requires a store; move optional promo above fulfillment mode.

Co-authored-by: Cursor <cursoragent@cursor.com>
Partner H5 no longer requires store phone SMS on create; qualification overlay uses height auto with widthFix.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Accept latlng-only postMessage, confirm before apply, and read LBS key per request.

Co-authored-by: Cursor <cursoragent@cursor.com>
Avoid locpicker formatted_addresses crash; proxy suggest/nearby/reverse via /common/lbs.

Co-authored-by: Cursor <cursoragent@cursor.com>
fix(api): surface LLM network errors for WeCom AI replies
CI / verify (pull_request) Has been cancelled
37038a7591
Co-authored-by: Cursor <cursoragent@cursor.com>
Allow deleting open cities after listing partners/stores; company name, address, and districts optional on partner create.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove required asterisks on CityPartnersPage create form (main entry).

Co-authored-by: Cursor <cursoragent@cursor.com>
Add users_delete, orders_delete, cities_delete; default HQ (incl. super admin) has none until explicitly granted.

Co-authored-by: Cursor <cursoragent@cursor.com>
HQ store update now syncs store_account.phone for shop login; expand editable store fields. System version only for SUPER_ADMIN; permissions checklist layout polish.

Co-authored-by: Cursor <cursoragent@cursor.com>
HQ can remove store sub-accounts from primary account detail; cities table store count jumps to /stores?cityId=.

Co-authored-by: Cursor <cursoragent@cursor.com>
City partner storeCount jumps to /stores?partnerId=; normalize empty/null text so usage rule is not saved as literal "null.

Co-authored-by: Cursor <cursoragent@cursor.com>
jacy merged commit 1bc3bec977 into main 2026-07-28 17:19:22 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jacy/dukang#10