|
@@ -8,11 +8,11 @@
|
|
|
package cn.com.qmth.examcloud.app.service;
|
|
|
|
|
|
import cn.com.qmth.examcloud.app.core.exception.ApiException;
|
|
|
-import cn.com.qmth.examcloud.app.model.Constants;
|
|
|
-import cn.com.qmth.examcloud.app.model.Result;
|
|
|
import cn.com.qmth.examcloud.app.core.utils.DateUtils;
|
|
|
import cn.com.qmth.examcloud.app.core.utils.HttpUtils;
|
|
|
import cn.com.qmth.examcloud.app.core.utils.JsonMapper;
|
|
|
+import cn.com.qmth.examcloud.app.model.Constants;
|
|
|
+import cn.com.qmth.examcloud.app.model.Result;
|
|
|
import okhttp3.FormBody;
|
|
|
import okhttp3.MediaType;
|
|
|
import okhttp3.MultipartBody;
|
|
@@ -45,7 +45,7 @@ public class NetExamService {
|
|
|
Result<String> result = HttpUtils.doGet(requestUrl, key, token);
|
|
|
if (result.isSuccess()) {
|
|
|
|
|
|
- result.setData(DateUtils.format(result.getData()));
|
|
|
+ result.setData(DateUtils.formatLongDate(result.getData()));
|
|
|
}
|
|
|
return result;
|
|
|
}
|