xiatian 1 rok temu
rodzic
commit
8108027be5

+ 2 - 1
src/main/java/cn/com/qmth/examcloud/app/service/impl/CoreOeServiceImpl.java

@@ -119,7 +119,8 @@ public class CoreOeServiceImpl implements CoreOeService {
     public Result checkTime(String key, String token) throws Exception {
         //封装请求参数
         final String requestUrl = String.format("%s/api/ecs_oe_student/examControl/check/time", sysProperty.getApiDomain());
-        return HttpUtils.doGet(requestUrl, key, token);
+        RequestBody formBody = FormBody.create(MediaType.parse(Constants.CHARSET_JSON_UTF8), "");
+        return HttpUtils.doPost(requestUrl, formBody, key, token);
     }
 
     @Override