import Request from '../common/request.js';
let request = new Request().http

// 提交认证
export function submitCertification(data) {
	return request('/app/dockerInfo/launchSpeakerAuth', data, 'POST', 'application/json;charset=UTF-8');
}

// 获取认证信息
export function getCertificationInfo() {
	return request('/app/certification/getInfo', null, 'GET');
}

// 获取机构列表
export function getInstitutionList() {
	return request('/app/certification/getInstitutionList', null, 'GET');
}

// 获取科室列表
export function getDepartmentList(data) {
	return request('/app/certification/getDepartmentList', data, 'GET');
}

// 获取银行列表
export function getBankList() {
	return request('/app/certification/getBankList', null, 'GET');
}

// 获取认证状态
export function getCertificationStatus() {
	return request('/app/certification/getStatus', null, 'GET');
}

// 上传认证图片
export function uploadCertificationImage(data) {
	return request('/app/certification/uploadImage', data, 'POST', 'application/json;charset=UTF-8');
}

//获取账户身份
export function identityType(data) {
 	return request('/app/common/getTaskTypeData', data, 'POST', 'application/json;charset=UTF-8');
}
//获取机构
export function getHospitalList(data) {
 	return request('/hospital/getHospitalList', data, 'GET');
}
//获取科室
export function getDeptData(data) {
 	return request('/hospital/getDeptData', data, 'GET');
}
//获取银行
export function getBankTypeList(data) {
 	return request('/hospital/getBankList', data, 'GET');
}