import { BASE_URL } from '@/config'

const urlFn = v => BASE_URL + v

// 微信登录
const GET_TOKEN = urlFn('/api/kmt/login/wxlogin/scanlogin')
// Uniconid登录
const GET_UUIONID_TOKEN = urlFn('/api/kmt/login/unionidlogin')
// 获取用户信息
const GetInfo = urlFn('/api/kmt/correctSys/getMyInfo')
// 校区群管理员数据监控
const InfoWatch = urlFn('/api/kmt/correctSys/monitorTeacherList')
// 校区群管理员当天数据
const InfoWatchDay = urlFn('/api/kmt/correctSys/monitorOneDayList')
// 校区群管理员当月数据
const InfoWatchMoth = urlFn('/api/kmt/correctSys/monitorOneMonthList')
//查看老师批改作业列表
const TeacherHomeworkList = urlFn('/api/kmt/correctSys/teacherHomeworkList')
//可分配老师列表列表
const TeacherAllotList = urlFn('/api/kmt/correctSys/teacherAllotList')
//分配老师
const TeacherAllot = urlFn('/api/kmt/correctSys/teacherAllot')
// 未分配作业列表
const UnallotHomeworkList = urlFn('/api/kmt/correctSys/unallotHomeworkList')
// 查看老师详情
const GetTeacherDetail = urlFn('/api/kmt/correctSys/getTeacherDetail')
//  查看学生详情
const GetStudentDetail = urlFn('/api/kmt/correctSys/getStudentDetail')
//查看超级管理员校区列表
const SuperManagerList = urlFn('/api/kmt/correctSys/getManagerList')
//查看校区管理员详情
const GetManagerDetail = urlFn('/api/kmt/correctSys/getManagerDetail')
//校区管理员降级
const Downgrade = urlFn('/api/kmt/correctSys/downgrade')
//查看申请批改老师列表
const SuperApplyTeacherList = urlFn('/api/kmt/correctSys/applyTeacherList')
//申请审批操作
const ApplyOperate = urlFn('/api/kmt/correctSys/applyOperate')
//老师薪酬列表
const GetTeacherSalaryList = urlFn('/api/kmt/correctSys/getTeacherSalaryList')
// 处理在线批改老师(升级或封号或解封)
const DealCorrectTeacher = urlFn('/api/kmt/correctSys/dealCorrectTeacher')
// 可分配小组管理员列表
const GetAllotManagerList = urlFn('/api/kmt/correctSys/getAllotManagerList')
// 分配老师到管理员名下
const AllotTeacherToManager = urlFn('/api/kmt/correctSys/allotTeacherToManager')
export {
    GET_TOKEN,
    GET_UUIONID_TOKEN,
    GetInfo,
    InfoWatch,
    InfoWatchDay,
    InfoWatchMoth,
    TeacherHomeworkList,
    TeacherAllotList,
    TeacherAllot,
    UnallotHomeworkList,
    GetTeacherDetail,
    GetStudentDetail,
    SuperManagerList,
    GetManagerDetail,
    Downgrade,
    SuperApplyTeacherList,
    ApplyOperate,
    GetTeacherSalaryList,
    DealCorrectTeacher,
    GetAllotManagerList,
    AllotTeacherToManager
}