|
@@ -57,13 +57,9 @@ public class CoreOeServiceImpl implements CoreOeService {
|
|
|
|
|
|
@Override
|
|
|
public Result getCurrentTime(String key, String token) throws Exception {
|
|
|
- //封装请求参数
|
|
|
- final String requestUrl = String.format("%s/api/ecs_oe_student/examControl/currentTime", sysProperty.getApiDomain());
|
|
|
- Result<String> result = HttpUtils.doGet(requestUrl, key, token);
|
|
|
- if (result.isSuccess()) {
|
|
|
- //转换日期格式
|
|
|
- result.setData(DateUtils.formatLongDate(result.getData()));
|
|
|
- }
|
|
|
+ Result<String> result = new Result<>();
|
|
|
+ result.success();
|
|
|
+ result.setData(DateUtils.formatLongDate(String.valueOf(System.currentTimeMillis())));
|
|
|
return result;
|
|
|
}
|
|
|
|