|
@@ -12,12 +12,14 @@ 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.SyncOrgReq;
|
|
import cn.com.qmth.examcloud.commons.api.request.SyncSpecialtyReq;
|
|
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.request.SyncStudentReq;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncUserReq;
|
|
import cn.com.qmth.examcloud.commons.api.response.SyncCourseResp;
|
|
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.SyncExamResp;
|
|
import cn.com.qmth.examcloud.commons.api.response.SyncExamStudentResp;
|
|
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.SyncOrgResp;
|
|
import cn.com.qmth.examcloud.commons.api.response.SyncSpecialtyResp;
|
|
import cn.com.qmth.examcloud.commons.api.response.SyncSpecialtyResp;
|
|
import cn.com.qmth.examcloud.commons.api.response.SyncStudentResp;
|
|
import cn.com.qmth.examcloud.commons.api.response.SyncStudentResp;
|
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncUserResp;
|
|
import cn.com.qmth.examcloud.commons.web.redis.RedisClient;
|
|
import cn.com.qmth.examcloud.commons.web.redis.RedisClient;
|
|
import cn.com.qmth.examcloud.commons.web.support.CloudClientSupport;
|
|
import cn.com.qmth.examcloud.commons.web.support.CloudClientSupport;
|
|
|
|
|
|
@@ -85,4 +87,10 @@ public class HandleSyncCloudServiceClient extends CloudClientSupport
|
|
return exchange(url, HttpMethod.POST, req, SyncExamResp.class);
|
|
return exchange(url, HttpMethod.POST, req, SyncExamResp.class);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public SyncUserResp syncUser(SyncUserReq req) {
|
|
|
|
+ String url = req.getUrl();
|
|
|
|
+ return exchange(url, HttpMethod.POST, req, SyncUserResp.class);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|