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>
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>
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>
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>
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>
Allow deleting open cities after listing partners/stores; company name, address, and districts optional on partner create.
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>
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>
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>
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>
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>
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>