|
@@ -7,10 +7,12 @@ import org.springframework.web.client.RestTemplate;
|
|
|
import cn.com.qmth.examcloud.commons.web.redis.RedisClient;
|
|
|
import cn.com.qmth.examcloud.task.api.DataSyncCloudService;
|
|
|
import cn.com.qmth.examcloud.task.api.request.SyncCourseReq;
|
|
|
+import cn.com.qmth.examcloud.task.api.request.SyncExamReq;
|
|
|
import cn.com.qmth.examcloud.task.api.request.SyncOrgReq;
|
|
|
import cn.com.qmth.examcloud.task.api.request.SyncSpecialtyReq;
|
|
|
import cn.com.qmth.examcloud.task.api.request.SyncStudentReq;
|
|
|
import cn.com.qmth.examcloud.task.api.response.SyncCourseResp;
|
|
|
+import cn.com.qmth.examcloud.task.api.response.SyncExamResp;
|
|
|
import cn.com.qmth.examcloud.task.api.response.SyncOrgResp;
|
|
|
import cn.com.qmth.examcloud.task.api.response.SyncSpecialtyResp;
|
|
|
import cn.com.qmth.examcloud.task.api.response.SyncStudentResp;
|
|
@@ -65,4 +67,9 @@ public class DataSyncCloudServiceClient extends TaskCloudClientSupport
|
|
|
return post("dataSync/syncSpecialty", req, SyncSpecialtyResp.class);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public SyncExamResp syncExam(SyncExamReq req) {
|
|
|
+ return post("dataSync/syncExam", req, SyncExamResp.class);
|
|
|
+ }
|
|
|
+
|
|
|
}
|