1、修改文件上传接口的请求头中日期格式的处理;

2、修改http配置表单的区域管控加载,以及提交验证。
This commit is contained in:
zhangwei
2018-05-30 11:40:55 +08:00
parent e81a600788
commit 8fb868ecca
10 changed files with 121 additions and 87 deletions

View File

@@ -69,7 +69,7 @@ public class JsonMapper extends ObjectMapper {
* SerializerProvider provider) throws IOException,
* JsonProcessingException { jgen.writeString(""); } });
*/
this.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
this.setDateFormat(new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS"));
// 进行HTML解码。
this.registerModule(new SimpleModule().addSerializer(String.class, new JsonSerializer<String>() {
@Override