import request from '@/packageCa/utilCa/request.js'

const api = {}

//根据openId,获取token,并判断用户是否已绑定账号
api.queryKaShiToken = (idCard,name) => request.globalRequest(`/Home/QueryKaShiToken?userIdNO=${idCard}&name=${name}&schoolId=2371`,'GET', {})
// 获取ai面试路径
api.queryAIUrl = (idCard,name) => request.globalRequest(`/Home/QueryAIUrl?userIdNO=${idCard}&name=${name}&schoolId=2371`,'GET', {})

// 获取个人档案
api.queryStudentProfile = () => request.globalRequest(`/StudentResource/QueryStudentProfile`,'GET', {})

// 保存操作日志
api.saveUserOperationLog = (data) => request.globalRequest(`/UserOperationLog/SaveUserOperationLog`,'POST', data)
	
// 获取操作日志
api.getUserOperationLogList = (data) => request.globalRequest(`/UserOperationLog/GetUserOperationLogList`,'POST', data)	


export default api


