|
@@ -63,7 +63,7 @@ public class UserAuthServiceImpl implements UserAuthService {
|
|
|
}
|
|
|
|
|
|
//封装请求参数
|
|
|
- final String requestUrl = String.format("%s/api/core/oe/student/examRecord/getStudentOnLineExamInfo", propertyService.getNetExamUrl());
|
|
|
+ final String requestUrl = String.format("%s/api/ecs_oe_student/examControl/getStudentOnLineExamInfo", propertyService.getNetExamUrl());
|
|
|
try {
|
|
|
//执行请求
|
|
|
Request request = new Request.Builder()
|
|
@@ -136,17 +136,6 @@ public class UserAuthServiceImpl implements UserAuthService {
|
|
|
return HttpUtils.doPost(requestUrl, formBody, key, token);
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public Result getUserInfo(String key, String token) throws Exception {
|
|
|
- //封装请求参数
|
|
|
- final String requestUrl = String.format("%s/api/ecs_core/auth/getLoginUser", propertyService.getUserAuthUrl());
|
|
|
- RequestBody formBody = new FormBody.Builder()
|
|
|
- .add(PARAM_KEY, key)
|
|
|
- .add(PARAM_TOKEN, token)
|
|
|
- .build();
|
|
|
- return HttpUtils.doPost(requestUrl, formBody, key, token);
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public Result updateStudentPassword(String key, String token, Long studentId, String password, String newPassword) throws Exception {
|
|
|
Assert.notNull(studentId, "StudentId must be not null.");
|