|
|
|
@ -18,6 +18,9 @@ const postCaptcha = (params) => mPost(`/uec/get/auth-captcha`, params, config) |
|
|
|
const setPassword = (params) => mPost(`/uec/user/set/sign-in-password`, params, config) |
|
|
|
const modifyMobile = (params) => mPost(`/uec/user/modify/mobile`, params, config) |
|
|
|
const updateUserInfo = (params) => mPost('/uec/user/update/user-info', params, config) |
|
|
|
const getAuthSession = () => mGet('/uec/create/identity-auth-session', null, config) |
|
|
|
const certificateImage = (params) => mPost('/uec/recognize/certificate-img', params, config) |
|
|
|
const certificateIdentity = (params) => mPost('/uec/identify/identity', params, config) |
|
|
|
const generateCode = (params) => mPost('/uec/generate/qrcode', params, config) |
|
|
|
const verifyCode = (code, params) => mGet(`/uec/verify/qrcode${code}`, params, config) |
|
|
|
const applyEmplyee = (params) => mPost(`/uec/apply/to/be/employee/of/enterprise-department`, params, config) |
|
|
|
@ -184,6 +187,9 @@ export { |
|
|
|
finalizeToken, |
|
|
|
wechatApplet, |
|
|
|
updateUserInfo, |
|
|
|
getAuthSession, |
|
|
|
certificateImage, |
|
|
|
certificateIdentity, |
|
|
|
postCaptcha, |
|
|
|
loginPwd, |
|
|
|
loginCaptcha, |
|
|
|
|