|
@@ -3,6 +3,7 @@ package cn.com.qmth.examcloud.examwork.api.client;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
+import cn.com.qmth.examcloud.commons.web.redis.RedisClient;
|
|
|
import cn.com.qmth.examcloud.examwork.api.ExamStudentCloudService;
|
|
|
import cn.com.qmth.examcloud.examwork.api.request.SaveExamStudentReq;
|
|
|
import cn.com.qmth.examcloud.examwork.api.response.SaveExamStudentResp;
|
|
@@ -14,6 +15,14 @@ public class ExamStudentCloudServiceClient extends BasicCloudClientSupport
|
|
|
@Autowired
|
|
|
private RestTemplate restTemplate;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private RedisClient redisClient;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected RedisClient getRedisClient() {
|
|
|
+ return redisClient;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public SaveExamStudentResp saveExamStudent(SaveExamStudentReq examStudentReq) {
|
|
|
return post("examStudent/saveExamStudent", examStudentReq, SaveExamStudentResp.class);
|