| 
									
										
										
										
											2025-06-10 14:06:32 +08:00
										 |  |  | const http = uni.$u.http | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 获取分享码
 | 
					
						
							|  |  |  | export const getShareCode = params => | 
					
						
							|  |  |  |   http.get('/member/api/share/share-code', { params }) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 根据短码获取memberCode
 | 
					
						
							|  |  |  | export const getMemberCode = code => | 
					
						
							|  |  |  |   http.get(`/member/api/share/find-share-code/${code}`) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 获取手机验证码
 | 
					
						
							|  |  |  | export const getPhoneCode = params => | 
					
						
							|  |  |  |   http.get('/member/api/share/share-sms-code', { params }) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 注册
 | 
					
						
							|  |  |  | export const getRegister = data => | 
					
						
							|  |  |  |   http.post('/member/api/share/share-register', data) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // 自动登录
 | 
					
						
							|  |  |  | export const autoLogin = data => | 
					
						
							|  |  |  |   http.post('/retail-member/api/retail-auth/auto-login', data) | 
					
						
							| 
									
										
										
										
											2025-07-14 14:32:08 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | // // 获取特殊场景背景图
 | 
					
						
							|  |  |  | // // TODO: 用户需要根据实际接口修改路径和参数
 | 
					
						
							|  |  |  | // export const getSpecialBackground = params =>
 | 
					
						
							|  |  |  | //   http.get('/member/api/share/get-special-background', { params })
 |