1、修改文件上传接口的请求头中日期格式的处理;
2、修改http配置表单的区域管控加载,以及提交验证。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user