const http = uni.$u.http // post请求,用户实名认证 export const userRealNameAuth = (params, config = {}) => http.post('/member/wechat/idCardAuthentication', params, config) // post请求,用户信息保存 export const saveUserInfo = (params, config = {}) => http.post('/member/wechat/saveUserInfo', params, config) // post请求,修改用户账号密码 export const updateUserAccountPassword = (params, config = {}) => http.post('/member/wechat/setPassword', params, config) // post请求,修改用户交易密码 export const updateUserTransactionPassword = (params, config = {}) => http.post('/member/wechat/setTransactionPassword', params, config) // post请求,绑定微信 export const bindWechat = (params, config = {}) => http.post('/member/wechat/setOpenId', params, config) // get请求,获取服务条款协议 export const getTermOfServiceByType = (params, config = {}) => http.get('/system/openapi/getAboutByType', params, config) // get请求,获取公共文件路径 export const getCommonFile = (params, config = {}) => http.get('/resource/oss/listByIds/'+params.data.ossId, params, config) // post请求,重新设置手机号 export const setPhone = (params, config = {}) => http.post('/member/wechat/setPhone', params, config) // get请求,获取用户信息 export const getUserInfo = (params, config = {}) => http.get('/member/wechat/getUserInfo', params, config)