Allow store contactPhone as landline, show pending package audit badge, and split live vs pending packages in HQ review.
Co-authored-by: Cursor <cursoragent@cursor.com>
Allow HQ to save stores with zero packages, preview contract images/PDFs, inspect package audit images/content, and show gray 无需打款 when winery payable is 0.
Co-authored-by: Cursor <cursoragent@cursor.com>
Stop auto ST from validation_error; show package prices with right-aligned layout; partner store list status/filter and onboard CS QR gate; HQ store table truncation/fixed actions; expose CS config in wechat_mini settings; bind local servers for LAN.
Co-authored-by: Cursor <cursoragent@cursor.com>
Store.phone stays login/boss; contactPhone is C-end dial. Public store APIs keep phone compat via publicDial mapping.
Co-authored-by: Cursor <cursoragent@cursor.com>
HQ users were uploading package images then clicking drawer 保存修改, which only persisted store media and never PUT packages.
Co-authored-by: Cursor <cursoragent@cursor.com>
- HQ stores: partner column uses companyName/name/phone via partnerOptionLabel
- Dev plan: version RELEASED auto-marks tasks RELEASED and tickets PUBLISHED with releasedVersionNo
- mini-user/h5-shop/h5-partner v3.4.13 UX fixes (store UI, iOS scan OAuth, partner login guard)
- Docs: v3.4.13 dev doc + status audit updates
Co-authored-by: Cursor <cursoragent@cursor.com>
Add log_promo_event for scan/attribution/register/order with IP; admin metrics APIs and ECharts on promo detail page.
Co-authored-by: Cursor <cursoragent@cursor.com>
Allow selecting support tickets of any status for batch actions; add optional support ticket binding when creating a dev plan task.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add knowledge document GET/PUT and admin edit UI; auto-create support tickets on client 400 validation errors across user/shop/partner apps; batch create tasks and publish from support tickets; restore mini-user store env single-column layout.
Co-authored-by: Cursor <cursoragent@cursor.com>
Refund rollback, winery T+3, multi withdraw, mini-user store detail, dev plan batch edit and WeCom dispatch, support ticket edit/attachments/batch status, package imageUrl.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add client-logging SDK, expanded event taxonomy, API observability, admin domain events UI, and move SENTRY_DSN to HQ system settings with @sentry/node bootstrap after config preload.
Co-authored-by: Cursor <cursoragent@cursor.com>
dev deploys to /opt/dukang-staging (819x, *-test domains); main deploys to production. Staging uses full Mock with shared WeChat app ids.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add partner-facing proxy order list/detail; unlock SUPER_ADMIN order delete with cascade cleanup and type filter.
Co-authored-by: Cursor <cursoragent@cursor.com>
Drop SMS verification for HQ/partner proxy orders; keep form draft across product picker; hide whitelist-only products from partner catalog.
Co-authored-by: Cursor <cursoragent@cursor.com>
Open weappOrderConfirm in mini-user so users confirm in-app instead of
service notice; verify via get_order before completing. Show operator/remark
on admin order status timeline.
Co-authored-by: Cursor <cursoragent@cursor.com>