var baseUrls = {
    userCenter: 'https://www.yjkaoshi.cn/signup/',
    cardUrl: 'https://www.yjkaoshi.cn/signup/',
    loginUrl: 'https://www.yjkaoshi.cn/signup/',
    tradeUrl: 'https://www.yjkaoshi.cn/signup/',
    testUrl: 'https://www.yjkaoshi.cn/signup/',
    //userCenter: 'http://192.168.0.109:8070/signup/',
    //cardUrl: 'http://192.168.0.109:8070/signup/',
    //loginUrl: 'http://192.168.0.109:8070/signup/',
    //tradeUrl: 'http://192.168.0.109:8070/signup/',
    //testUrl: 'http://192.168.0.109:8070/signup/',
    baseImgUrl: 'route/file/download/true/',
}

var apis = {
    login: '{baseUrl}wechat-miniapp/sign/default',
    doUploadImg: '{baseUrl}app/file/uploadimage', //上传图片
    doUploadVideo: '{baseUrl}app/file/uploadvideo', //上传视频
    getArticleList: '{baseUrl}app/contentrelease/listpage', //获取开班通告或报考问答  根据categoryId获取
    getArticleDetailById: '{baseUrl}app/contentrelease/get/{contentId}', //获取开班通告报考问答详情
    getInstitutionList: '{baseUrl}app/traininginstitution/listpagerelease', //培训机构列表
    getInstitutionDetailById: '{baseUrl}app/traininginstitution/get/release/{applyId}', //培训机构详情
    getCardList: '{baseUrl}app/basic-staff-info/list-my-exam', //获取我的考试列表
    getScoreList: '{baseUrl}app/applystudents/list', //获取成绩列表
    getTrainTypeList: '{baseUrl}app/worktype/listByParentId', //获取培训科目类型
    getOrgList: '{baseUrl}app/apply/list-apply-work-type', //获取培训机构列表
    getCultrue: '{baseUrl}app/data/listbyparentid/d6b9f026-6ea9-456a-b48b-0c18d502523b', // 获取学历列表
    gerPersonInfo: '{baseUrl}app/basic-user-info/get-basic-user-info', // 获取个人信息
    savePersonInfo: '{baseUrl}app/basic-user-info/save', // 保存个人信息
    signOrg: '{baseUrl}app/apply/save', // 提交报名
    getPageType: '{baseUrl}app/basic-user-info/get-worker-used-html', // 获取报名页面类型
    getMyApply: '{baseUrl}app/apply/listPageMyApply', // 获取我的报名
    cancelSign: '{baseUrl}app/apply/updateAuditStateRecall/{applyId}', // 取消报名
    signRecord: '{baseUrl}app/apply/get/{applyId}', // 查看报名记录
    checkPhone: '{baseUrl}app/basic-user-info/check-mini-user-bind', // 检查是否绑定手机号
    bindPhone: '{baseUrl}app/basic-user-info/mini-user-bind/{phone}', // 绑定手机号
    examPlace: '{baseUrl}app/basic-user-info/release/list-exam-place', // 考试网点
    checkEditedInfo: '{baseUrl}app/basic-user-info/get-basic-user-info', // 检查是否编辑个人信息
    getAchievement: '{baseUrl}app/basic-user-info/list-my-exam-score?idCardNumber=', // 获取成绩列表
}

module.exports = {
    apis,
    baseUrls
}