|
@@ -1,6 +1,5 @@
|
|
|
package com.qmth.themis.exam.api;
|
|
|
|
|
|
-import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.qmth.themis.business.annotation.ApiJsonObject;
|
|
|
import com.qmth.themis.business.annotation.ApiJsonProperty;
|
|
@@ -44,7 +43,6 @@ import io.swagger.annotations.*;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
-import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.validation.BindingResult;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -111,9 +109,6 @@ public class TEStudentController {
|
|
|
@Resource
|
|
|
MqUtil mqUtil;
|
|
|
|
|
|
- @Value(value = "${app.version}")
|
|
|
- private String version;
|
|
|
-
|
|
|
@ApiOperation(value = "学生登录接口")
|
|
|
@RequestMapping(value = "/login", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "学生信息", response = TEExamResultDto.class)})
|
|
@@ -292,7 +287,7 @@ public class TEStudentController {
|
|
|
// map.put(SystemConstant.ACCESS_TOKEN, test);
|
|
|
map.put(SystemConstant.STUDENT_ACCOUNT, teStudent);
|
|
|
map.put(SystemConstant.SESSION_ID, sessionId);
|
|
|
- map.put(SystemConstant.VERSION, version);
|
|
|
+ map.put(SystemConstant.VERSION, SystemConstant.VERSION_VALUE);
|
|
|
return ResultUtil.ok(map);
|
|
|
}
|
|
|
|