|
@@ -0,0 +1,87 @@
|
|
|
|
+package cn.com.qmth.examcloud.commons.api.provider;
|
|
|
|
+
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
|
+import org.springframework.web.client.RestTemplate;
|
|
|
|
+
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.HandleSyncCloudService;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncCourseReq;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncExamReq;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncExamStudentReq;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncOrgReq;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncSpecialtyReq;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncStudentReq;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncCourseResp;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncExamResp;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncExamStudentResp;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncOrgResp;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncSpecialtyResp;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncStudentResp;
|
|
|
|
+import cn.com.qmth.examcloud.commons.web.redis.RedisClient;
|
|
|
|
+import cn.com.qmth.examcloud.commons.web.support.CloudClientSupport;
|
|
|
|
+
|
|
|
|
+@Service
|
|
|
|
+public class HandleSyncCloudServiceClient extends CloudClientSupport
|
|
|
|
+ implements
|
|
|
|
+ HandleSyncCloudService {
|
|
|
|
+
|
|
|
|
+ private static final long serialVersionUID = 4067990129534524566L;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private RestTemplate restTemplate;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private RedisClient redisClient;
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ protected RedisClient getRedisClient() {
|
|
|
|
+ return redisClient;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ protected RestTemplate getRestTemplate() {
|
|
|
|
+ return restTemplate;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public String getUrlPrefix() {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public SyncCourseResp syncCourse(SyncCourseReq req) {
|
|
|
|
+ // TODO Auto-generated method stub
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public SyncOrgResp syncOrg(SyncOrgReq req) {
|
|
|
|
+ // TODO Auto-generated method stub
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public SyncStudentResp syncStudent(SyncStudentReq req) {
|
|
|
|
+ // TODO Auto-generated method stub
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public SyncExamStudentResp syncExamStudent(SyncExamStudentReq req) {
|
|
|
|
+ // TODO Auto-generated method stub
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public SyncSpecialtyResp syncSpecialty(SyncSpecialtyReq req) {
|
|
|
|
+ // TODO Auto-generated method stub
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public SyncExamResp syncExam(SyncExamReq req) {
|
|
|
|
+ // TODO Auto-generated method stub
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|