package com.beanpodtech.allinone.http;


import com.beanpodtech.allinone.BuildConfig;

public class UrlConfig {
    public static final String BASE ;
    private static final String BASEURL;

    static {
        if (BuildConfig.DEBUG) {
            BASE = "https://qingqu.qclass100.com/"; // 现测试域名
        } else {
            BASE = "https://qingqu.ihongwen.com/";
        }
        BASEURL = BASE + "Home/Serivce/" ;
    }
    //==============================同步相关======================================//
    /**
     * 查询
     */
    public static final String BUYVIDEOID = BASEURL + "getTimeCounterData";
    /**
     * 添加
     */
    public static final String ADDORUPDATE = BASEURL + "upDataTimeCounterData";
    /**
     * 同步时间
     */
    public static final String SERVICETIME = BASEURL + "getServerTime";


    //人脸
//    获取token
//    https://qingqu.qclass100.com/
//    上传底图
//    https://qingqu.qclass100.com/home/faceReco/updateFaceUrl
    public static final String getVerifyToken ="https://qingqu.qclass100.com/home/faceReco/DescribeVerifyToken";
    //==============================同步相关======================================//
    //登录
    public static final String LOGIN = BASEURL + "login";
    //修改密码
    public static final String CHANGE_PASSWORD = BASEURL + "changrPassword";
    //获取课程筛选条件
    public static final String GET_FILTER = BASEURL + "getFilterList";
    //获取视频列表
    public static final String GET_VIDEOLIST = BASEURL + "getCourses";
    //获取设备当前位置的状态信息
    public static final String FIXED_POSITION = BASEURL + "fixedPosition";
    //获取班型下课程信息
    public static final String GET_SUBJECTS = BASEURL + "getSubjectList";
    //获取班型下课程  筛选用
    public static final String GET_SUBJECTS_FILTER = BASEURL + "getSubjectFilter";
    //退出登录
    public static final String SIGN_OUT = BASEURL + "signOut";
    //获取班型列表
    public static final String GETCLASSTYPELIST = BASEURL + "getClassTypeList";
    //我的账户
    public static final String GET_MYACCOUNT = BASEURL + "getLeftTimeList";
    //轮播图
    public static final String CAROUSEL = BASEURL + "carousel";
    //首页轮播图
    public static final String HOMECAROUSEL = BASEURL + "homeCarousel";
    //企业宣传
    public static final String BUSINESS = BASEURL + "business";
    //获取播放凭证
    public static final String GET_PLAYAUTH = BASEURL + "getPlayAuth";
    //当前播放时长同步
    public static final String SYNC_PLAYINGTIME = BASEURL + "syncPlayingTimg";
    //班型展示
    public static final String CLASSDISPLAY = BASEURL + "classDisplay";
    //班型展示添加元素
    public static final String ADDCLASSDISPLAY = BASEURL + "addClassdisplay";
    //班型展示所有内容
    public static final String ALLCLASSDISPLAY = BASEURL + "allClassdisplay";
    //班型展示删除
    public static final String DELCLASSDISPLAY = BASEURL + "delClassdisplay";
    //推荐课程
    public static final String RECOMMENDVIDEO = BASEURL + "recommendVideo";
    //搜索
    public static final String SEARCHVIDEO = BASEURL + "searchVideo";
    //学习记录
    public static final String STUDYRECORD = BASEURL + "recordVideo";
    //删除学习记录
    public static final String DELETERECORD = BASEURL + "deleteRecordVideo";
    //删除学习记录
    public static final String DELETEALLRECORD = BASEURL + "deleteAllRecordVideo";
    //免费体验区的筛选条件
    public static final String FREEFILTER = BASEURL + "getFreeFilterList";
    //免费体验区的课程
    public static final String FREEVIDEO = BASEURL + "getFreeVideo";
    // 播放免费体验区视频
    public static final String  GETPlayAuthForFreeVideo= BASEURL + "getPlayAuthForFreeVideo";
    //  获取今日计划的筛选条件
    public static final String GETFILTERVIDEOCONDITION = BASEURL + "getFilterVideoCondition";
    //  获取筛选后的视频列表
    public static final String GETSELECTEDVIDEOLIST = BASEURL + "getSelectedVideoList";
    //  获取添加计划的日期
    public static final String GETTIMERPLAN = BASEURL + "getTimePlan";
    //  学习计划列表
    public static final String STUDYPLAN = BASEURL + "studyPlan";
    //  学习计划的添加
    public static final String ADDSTUDYPLAN = BASEURL + "addStudyplan";
    //删除学习计划
    public static final String DELETEPLAN = BASEURL + "deleteStudyplan";
    //获取企业宣传视频的播放凭证
    public static final String GETPLAYAUTHBUSINES = BASEURL + "getPlayAuthForBusines";
    //校长培训
    public static final String PRINCIPAL = BASEURL + "principalVideoList";
    //获取企业宣传视频的播放凭证
    public static final String GETPLAYAUTHPRINCIPAL = BASEURL + "getPlayAuthForPrincipal";
    //同步播放时长
    public static final String ADDUPPLAYINGTIME = BASEURL + "addUpPlayingTime";
    //智能答疑
    public static final String SMARTQA = BASEURL + "smartQA";
    //获取RTC视频答疑验证信息
    public static final String GET_RTC_AUTH_TOKEN = BASEURL + "getVideoQAAuthInfo";
    //获取播放凭证
    public static final String GET_RTC_WATTING_INFO = BASEURL + "getVideoQAWaittingInfo";
    //获取弹幕信息
    public static final String GET_BARRAGE_LIST = BASEURL + "getBarrageList";
    //获取智能答疑里的例题列表
    public static final String GETTESTQUESTIONLIST = BASEURL + "getTestQuestionList";
    //获取智能答疑里的搜索到的问题
    public static final String GETQUESTIONLIST = BASEURL + "getQuestionList";
    //获取智能答疑里问题的答案
    public static final String GETANSWER = BASEURL + "getAnswer";
    //获取老师介绍
    public static final String GETTEACHERINFO = BASEURL + "getTeacherInfo";

    //申请人工答疑
    public static final String REQUEST_MANUAL_ANSWERING = BASEURL + "requestManualAnswering";
    //获取人工答疑排队信息
    public static final String GET_QA_WAITTING_INFO = BASEURL + "getQAWaittingInfo";
    //人工答疑结束
    public static final String OVER_MANUAL_ANSWERING = BASEURL + "overManualAnswering";
    //取消人工答疑
    public static final String CANCEL_ANSWER_REQUEST = BASEURL + "cancelAnswerRequest";
    //进入人工答疑教室
    public static final String ENTRY_CLASSROOM = BASEURL + "entryClassRoom";
    //获取一对一排课信息
    public static final String GET_COURSE_ARRANGING_LIST = BASEURL + "getCourseArrangingList";
    //获取进入一对一教室的信息
    public static final String GET_FACETOFACE_INFO = BASEURL + "getFaceToFaceInfo";
    // 获取知识点
    public static final String GET_VIDEO_KONWLEDGE = BASEURL + "getKnowledge";
    // 检查登录状态
    public static final String CHECK_LOGIN = BASEURL + "pollCheckLogin";
}
