//package com.live.cases.apollo;
//
//import com.alibaba.fastjson.JSONObject;
//import com.live.enums.ApiModele;
//import com.live.enums.RequestType;
//import com.live.enums.Terminal;
//import com.live.xmutils.GetLiveCourseId;
//import com.live.utils.XMBaseTest;
//import org.testng.Assert;
//import org.testng.annotations.BeforeMethod;
//
//public class TestQueryStudentVisitData extends XMBaseTest {
//    GetLiveCourseId tools = new GetLiveCourseId();
//
//    @BeforeMethod
//    public void beforeTest(){
//        xmAppApi.setApiModule(ApiModele.CloudClass_B)
//                .setApiName("API_queryStudentVisitData")
//                .setLoginUser("zhangYuM_b")
//                .setTerminal(Terminal.B);
//        super.beforeTest();
//    }
//
//    //@Test
//     已重写
//    public void queryStudentVisitData() {
//
//        String id = tools.createCourse();
//
//        JSONObject jsonObject = new JSONObject();
//        jsonObject.put("liveCourseId","1334373001216823298");
//
//
//        xmAppApi.doRequest(RequestType.JSON, params, jsonObject.toJSONString(), headers);
//
//        JSONObject responseRes = xmAppApi.getBodyInJSON();
//        Assert.assertEquals("true",responseRes.getString("success"));
//    }
//}
