Commit c97788c9 authored by 霍传世's avatar 霍传世

HaiNa---接口

parent f65df504
...@@ -45,7 +45,7 @@ public class LoginController { ...@@ -45,7 +45,7 @@ public class LoginController {
redisTemplate.opsForValue().set(candidateExam.getCandidateConnectCode(),new JSONObject(candidateExam).toString()); redisTemplate.opsForValue().set(candidateExam.getCandidateConnectCode(),new JSONObject(candidateExam).toString());
JSONObject responseData = new JSONObject(); JSONObject responseData = new JSONObject();
responseData.put("Token",candidateExam.getCandidateConnectCode()); responseData.put("Token",candidateExam.getCandidateConnectCode());
responseData.put("data",candidateExam.getExamConnectionCode()); responseData.put("data",new JSONObject(candidateExam));
responseData.put("code",200); responseData.put("code",200);
responseData.put("message","登录成功"); responseData.put("message","登录成功");
return ResponseEntity.ok(responseData.toString()); return ResponseEntity.ok(responseData.toString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment