const http = uni.$u.http // post请求,保存用户信息 export const saveWechatUser = (params, config = {}) => http.post('/auth/wechat/saveWeChatUserInfo', params, config) // post请求,获取微信电话号码 export const getWechatUserPhoneNumber = (params, config = {}) => http.post('/auth/wechat/getWechatUserPhoneNumber', params, config) // post请求,验证手机号码是否被注册 export const phoneIsExist = (params, config = {}) => http.post('/member/wechat/phoneIsExist', params, config) // post请求,新微新手机绑定 export const wechatRegister = (params, config = {}) => http.post('/auth/xcxRegister', params, config) // get请求,获取手机验证码 export const getSmsCode = (params, config = {}) => http.get('/resource/sms/code', params, config) // post请求,验证手机验证码 export const validateSmsCode = (params, config = {}) => http.post('/member/wechat/validateSmsCode', params, config) // post请求,找回账号密码登录 export const wechatRetrieveAccountPwdLogin = (params, config = {}) => http.post('/auth/xcxRetrieveMemberByPwd', params, config) // post请求,实名认证登录(新微信老手机) export const realNameAuthLogin = (params, config = {}) => http.post('/auth/xcxRetrieveMember', params, config) // post请求,验证身份证是滞存在 export const idCardIsExist = (params, config = {}) => http.post('/member/wechat/idCardIsExist', params, config) // post请求验证手机找回密码 export const passwordByPhone = (params, config = {}) => http.post('/member/wechat/passwordByPhone', params, config)