mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-10-31 18:49:06 +08:00 
			
		
		
		
	初步完善密码登录和验证码登录的逻辑
This commit is contained in:
		| @ -1,7 +1,15 @@ | ||||
| const { http } = uni.$u | ||||
|  | ||||
| /* login */ | ||||
| //使用手机 + 密码登录 | ||||
| export const passwordLogin = params => http.post('/app-api/member/user/login', params) | ||||
| //发送手机验证码 | ||||
| export const sendSmsCode = params => http.post('/app-api/member/send-sms-code', params) | ||||
| //使用手机 + 验证码登录 | ||||
| export const smsLogin = params => http.post('/app-api/member/sms-login', params) | ||||
|  | ||||
| /* index */ | ||||
| // 获取滚动图数据 | ||||
| export const getBannerData = params => http.get('/api/index', params) | ||||
| export const getBannerData = params => http.get('/app-api/index', params) | ||||
| // 获取滚动通知数据 | ||||
| export const getNoticeData = params => http.get('/api/notice', params) | ||||
| export const getNoticeData = params => http.get('/app-api/notice', params) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 sfmind
					sfmind