feat(shop): 添加商品分享邀请功能

- 切换API基础URL到生产环境地址
- 在商品详情页添加邀请参数解析和存储逻辑
- 实现分享链接携带邀请者ID和来源信息
- 新增商品分享来源类型标识
- 在短信登录成功后处理待绑定的邀请关系
- 添加邀请关系跟踪和统计功能
This commit is contained in:
2026-01-20 15:18:48 +08:00
parent 415e05cc4e
commit 0d6eb331c8
4 changed files with 39 additions and 3 deletions

View File

@@ -235,6 +235,7 @@ export function getSourceDisplayName(source: string): string {
'qrcode': '小程序码',
'link': '分享链接',
'share': '好友分享',
'goods_share': '商品分享',
'poster': '海报分享',
'unknown': '未知来源'
}