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>
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>
Replace fetch with wx/Taro.request in client-logging for WeChat mini program; point production build to api.dukanghaoke.com.
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>
Hide locate on store forms; restore optimized locpicker overlay.
Add TENCENT_LBS_SECRET_KEY and server-side sig for WebServiceAPI.
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>
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>
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>
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>
Region partners only select districts under the chosen city; overlap errors name the occupying partner.
Co-authored-by: Cursor <cursoragent@cursor.com>