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>
Xiaofeixia posts multipart form fields; previously mis-read as urlencoded empty payload. Parse multipart text parts and map into order status transitions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Capture raw request for courier track callbacks regardless of Content-Type and persist contentType/rawBody/query into log_third_party for empty-body diagnosis.
Co-authored-by: Cursor <cursoragent@cursor.com>
Root cause is JSSDK entry-URL mismatch after SPA post-OAuth, not camera permission. Hard-navigate on iOS, keep OAuth query in sign URL, skip redundant bind OAuth, and prompt refresh/re-auth on failure.
Co-authored-by: Cursor <cursoragent@cursor.com>
Phone re-login + OAuth on iOS left SPA on a different path than the WebView entry URL, so scanQRCode failed until a full reopen. Sign with the document entry URL again and warm up after auth.
Co-authored-by: Cursor <cursoragent@cursor.com>
Enable urlencoded body parser, return XFX {code,message} without API envelope, and harden callback payload parsing.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add HQ group for default and per-page share title/desc/image; expose via client-config and wire all mini-user share entry points.
Co-authored-by: Cursor <cursoragent@cursor.com>
Store list/detail package flow, configurable WeChat mini brand assets and customer service, shop H5 home refresh.
Co-authored-by: Cursor <cursoragent@cursor.com>