工行这里学车报名流程h5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

83 lines
2.4 KiB

import http from '@/utils/request';
import { Ajax1 } from '@/utils/request';
class LoginApi {
// 密码登录
async doctorLogin(data) {
return await http(`/account/manage/login.do?username=${data.username}&password=${data.password}&personnelType=1&loginType=${data.loginType}&code=${data.code}`, data,'post');
}
// 短信
async SMS(phode, data) {
return await http(`/system/m/sms/code/${phode}`, data);
}
// 短信验证
async getLoginRegistCode(data) {
return await Ajax1( '/util/manage/getLoginRegistCode.do', data, 'post');
}
// 验证码登录
async loginSMS(data) {
return await Ajax1('/account/manage/login.do', data,'post');
}
// 注册
async doctorRegisterSMS(data) {
return await http('/system/api/doctor/register-sms', data,'post');
}
// 修改密码
async doctorResetPwd(data) {
return await http('/system/api/doctor/reset-pwd?pwd='+data.pwd+'&code='+data.code+'&rpwd='+data.rpwd, data,'post');
}
// 登录初始化
async doctorInit(data) {
return await http('/system/api/doctor/mpw-init', data,'post');
}
// 获取个人实名认证地址
async pharRealNameAuth(data) {
return await http('/hospital/fdd/auth/pharRealNameAuth', data,'post');
}
//查询个人实名认证信息
async findPersonCert(data) {
return await http('/hospital/fdd/auth/findPersonCert', data,'post');
}
// 判断是否认证成功
async authCertApply(data) {
return await http('/hospital/fdd/auth/authCertApply', data,'post');
}
// 人脸识别
async getBizToken(data) {
return await http('/system/api/faceIdentity/getBizToken', data,'post');
}
// 我的查询个人账号基本信息
async getOwnerAccountBase(data) {
return await http('/account/manage/getOwnerAccountBase.do', data,'post');
}
// 退出登录
async logout(data) {
return await http('/account/manage/logout.do', data,'post');
}
// 注销账号理由
async queryExmatrikulationReasons(data) {
return await http('/util/manage/queryExmatrikulationReasons.do', data,'get');
}
// 检查活体
async checkFace(data={}) {
return await http('/deviceLogin/checkFace', data, 'post');
}
// 根据app登录toekn 获取token-1
async getToken(data={}) {
return await Ajax1('/account/manage/getToken.do', data, 'post');
}
// 修改极光信息-3
async modifyJpushConfig(data={}) {
return await Ajax1('/account/manage/modifyJpushConfig.do', data,'post');
}
}
export default new LoginApi();