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>
Partner H5 no longer requires store phone SMS on create; qualification overlay uses height auto with widthFix.
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>
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>
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>
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>
Region partners only select districts under the chosen city; overlap errors name the occupying partner.
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>
Default new sub-accounts to store:create+store:manage, backfill empty permissions on /partner/me, and treat legacy store staff as allowed to mutate.
Co-authored-by: Cursor <cursoragent@cursor.com>
Allow store:create/manage sub-accounts to edit, open/close, and re-upload media; dedupe ENV photos on write/read and replace via media API.
Co-authored-by: Cursor <cursoragent@cursor.com>
Gate dashboard/stores/orders by permission and move dashboard auth to method level so leaderboard stays open without toasting 403s.
Co-authored-by: Cursor <cursoragent@cursor.com>
Expose same-primary ranking on home/me for all staff including warehouse roles, and open the leaderboard API without business permission gates.
Co-authored-by: Cursor <cursoragent@cursor.com>