jacy
2dbe665bdc
Merge pull request '合并到main 创建8.1最后一波修改,后面测试和正式就会分离' ( #11 ) from dev into main
...
CI / verify (push) Has been cancelled
Reviewed-on: https://git.yqidian.com/jacy/dukang/pulls/11
2026-07-31 11:27:55 +08:00
jacy
8d6c0f9ac0
feat(ops): partner proxy order list and HQ order delete
...
CI / verify (pull_request) Has been cancelled
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 >
2026-07-31 10:10:39 +08:00
jacy
51f2b5fbfa
fix(trade): simplify proxy order and respect product whitelist
...
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 >
2026-07-31 09:43:16 +08:00
jacy
2cd4e25682
feat(ops): add HQ admin proxy order and mini-user store session fixes
...
Align HQ orders page with partner dual-SMS offline proxy flow; improve mini-user stores session and WeChat confirm-receive handling.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-31 09:18:19 +08:00
jacy
1a0afb6d39
feat(trade): WeChat confirm-receive component + admin status log columns
...
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 >
2026-07-29 16:48:44 +08:00
jacy
05dffbfa15
fix(wechat): use getStableAccessToken to avoid 40001
...
Switch mini/OA tokens to stable_token and retry shipping upload once on invalid credential.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 16:04:02 +08:00
jacy
a0a6c14758
feat(trade): WeChat trade-manage push + delay shipping upload
...
Receive trade_manage_order_settlement to sync confirm-receive/settle;
wait ~65s and retry on 10060001 before upload_shipping_info.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 15:37:42 +08:00
jacy
ed7fd4e013
feat(catalog): product visibility whitelist by phone
...
Admin can limit ON_SALE products to test phones; C-end filters by user phone.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 15:08:57 +08:00
jacy
bf9cd1bffd
feat(trade): upload WeChat mini program shipping info
...
Hook SHIPPING and on-site pickup to upload_shipping_info for settlement unlock.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 14:35:21 +08:00
jacy
ca621c9db8
fix(partner): restyle map picker header actions
...
Title centered; wide confirm on left, close on right.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 13:08:35 +08:00
jacy
507a21a318
fix(partner): hide map pick coords from UI
...
Keep lat/lng in form state for submit; remove pending coords panel and toasts.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 13:04:41 +08:00
jacy
f396cb1fef
feat(partner): map pick UX and Tencent LBS SN signature
...
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 >
2026-07-29 12:56:51 +08:00
jacy
2b85f63e2b
用户小程序手机号
...
门店闪烁逻辑
2026-07-29 12:30:03 +08:00
jacy
e742f1e88b
fix(mini-user): locate before store list fetch; prefer masked phone on mine
...
Resolve city once then fetch stores once; skip refetch when city unchanged. Show masked phone under nickname when available.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 11:56:40 +08:00
jacy
2ccadce34a
feat(mini-user): show masked phone under nickname on mine page
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 11:31:02 +08:00
jacy
b0ff254cd8
fix(partner): use server LBS search instead of locpicker iframe
...
Avoid Tencent locpicker _listTap crash when selecting POI in WeChat WebView.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 11:31:02 +08:00
jacy
c3362851ff
fix(partner): restore Tencent locpicker iframe for store map pick
...
Partner H5 store create/edit uses locpicker again; expose LBS key for iframe.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 11:20:22 +08:00
jacy
804054df33
feat(mini-user): replace mine page icons with asset PNGs
...
Use icons under assets/icons for order shortcuts and common services.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 11:20:22 +08:00
jacy
1bc3bec977
Merge pull request 'Dev Main by v3.4 测试数据删除' ( #10 ) from dev into main
...
CI / verify (push) Has been cancelled
Reviewed-on: https://git.yqidian.com/jacy/dukang/pulls/10
2026-07-28 17:19:21 +08:00
jacy
309b180087
feat(admin): link city-partner store count; fix benefitUsageRule null string
...
CI / verify (pull_request) Has been cancelled
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 >
v3.4
2026-07-28 16:03:56 +08:00
jacy
118d57d710
feat(admin): delete store staff; city store count links to filtered list
...
CI / verify (pull_request) Has been cancelled
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 >
2026-07-28 15:43:09 +08:00
jacy
0cb2b2cebb
feat(admin): store detail edit with login phone sync; tighten HQ UI
...
CI / verify (pull_request) Has been cancelled
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 >
2026-07-28 15:10:14 +08:00
jacy
daeb24bbeb
feat(admin): gate user/order/city delete behind assignable HQ permissions
...
CI / verify (pull_request) Has been cancelled
Add users_delete, orders_delete, cities_delete; default HQ (incl. super admin) has none until explicitly granted.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 14:01:18 +08:00
jacy
f4766d32ff
fix(admin): make partner company/address/district optional on create UI
...
CI / verify (pull_request) Has been cancelled
Remove required asterisks on CityPartnersPage create form (main entry).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 13:44:19 +08:00
jacy
b920c894b9
feat(admin): city delete with impact preview; optional partner fields
...
CI / verify (pull_request) Has been cancelled
Allow deleting open cities after listing partners/stores; company name, address, and districts optional on partner create.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 13:33:12 +08:00
jacy
37038a7591
fix(api): surface LLM network errors for WeCom AI replies
...
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 12:59:49 +08:00
jacy
944306e45c
fix(admin,partner): replace Tencent iframe picker with server LBS search
...
CI / verify (pull_request) Has been cancelled
Avoid locpicker formatted_addresses crash; proxy suggest/nearby/reverse via /common/lbs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 12:56:50 +08:00
jacy
9ed0c24d11
fix(admin,partner): harden Tencent locpicker coords and confirm flow
...
CI / verify (pull_request) Has been cancelled
Accept latlng-only postMessage, confirm before apply, and read LBS key per request.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 00:47:08 +08:00
jacy
50349dd8e9
fix(mini-user): center qualification image on translucent mask
...
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 00:41:13 +08:00
jacy
e2fd28a35b
fix(partner): drop store-create SMS verify; keep qualification aspect ratio
...
CI / verify (pull_request) Has been cancelled
Partner H5 no longer requires store phone SMS on create; qualification overlay uses height auto with widthFix.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 00:34:31 +08:00
jacy
15c35c49de
分享功能和资质文件展示
2026-07-28 00:31:31 +08:00
jacy
a49d8d99b6
fix(partner): drop pickup store and reorder promo on proxy order
...
CI / verify (pull_request) Has been cancelled
On-site pickup no longer requires a store; move optional promo above fulfillment mode.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 00:19:52 +08:00
jacy
aa9d689c76
fix(partner): guard null region on proxy order preview
...
CI / verify (pull_request) Has been cancelled
Avoid crash when province/city is not selected yet.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 00:10:47 +08:00
jacy
b59d4484ec
feat(partner): complete proxy order with dual SMS and pickup
...
CI / verify (pull_request) Has been cancelled
Add partner/customer SMS confirm, address auto-receive or on-site
pickup, proxy placer fields, PARTNER_PROXY user source, and C-end badge.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-28 00:04:59 +08:00
jacy
cd23119470
feat(mini-user): enable share on home/benefit and OSS qualification
...
CI / verify (pull_request) Has been cancelled
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 >
2026-07-27 23:41:29 +08:00
jacy
18ab639669
fix(store): use line comment for benefitUsageRule in Prisma schema
...
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 23:25:45 +08:00
jacy
fc03905777
feat(store): benefit coupon usage rules and show env photos on store detail
...
CI / verify (pull_request) Has been cancelled
Add benefitUsageRule on store create/edit (HQ + partner) and C-end detail between intro and env gallery.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 23:25:18 +08:00
jacy
ea8152ebf3
fix(deploy): use scp -P for sync-api-env port option
...
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 23:20:43 +08:00
jacy
78973e3fbf
fix(api): seed empty system settings from env including Tencent LBS key
...
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 23:19:54 +08:00
jacy
317f910f3c
feat(admin,partner): Tencent map location picker and expose LBS key
...
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 >
2026-07-27 23:19:40 +08:00
jacy
d36fe13bcd
fix(admin,mini-user): store lat/lng edit with Baidu map, center pickup qty hint
...
CI / verify (pull_request) Has been cancelled
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 >
2026-07-27 22:53:13 +08:00
jacy
15b878f2a4
fix(admin,mini-user): product on-sale tag, store coords inputs, home UX
...
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-27 22:40:57 +08:00
jacy
09eda9a11e
H5端开店增加获取当前店铺位置
2026-07-27 22:37:15 +08:00
jacy
23c0cc7a5f
小程序优化,商铺定位等
2026-07-27 22:33:00 +08:00
jacy
1725b9e4b4
小程序加上公司资质
CI / verify (pull_request) Has been cancelled
2026-07-26 13:31:21 +08:00
jacy
cc9933d1ce
feat(admin): require business hours when creating stores
...
CI / verify (pull_request) Has been cancelled
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 >
2026-07-26 10:19:58 +08:00
jacy
b810cabc6d
fix(partner): restore clearAllStoreDrafts export
...
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 10:18:06 +08:00
jacy
25aee745cc
fix(partner): export normalizeStringArray for store detail
...
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 10:17:24 +08:00
jacy
097c7dec4b
fix(shop): resolve duplicate open binding on home page
...
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-26 10:17:03 +08:00
jacy
92cf51ba3d
feat(store): dual business hours, avg price, and status lock
...
CI / verify (pull_request) Has been cancelled
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 >
2026-07-26 10:16:22 +08:00