Commit 16a680d7981394cea43da71e979f7db89d5398ee

Authored by 王言钊
1 parent 11bc3ca7

update时间格式

src/main/java/com/cnlive/shenhe/api/CommentsControllerApi.java
@@ -64,7 +64,7 @@ public class CommentsControllerApi { @@ -64,7 +64,7 @@ public class CommentsControllerApi {
64 String commentTime = json.getString("commentTime"); 64 String commentTime = json.getString("commentTime");
65 Date timestamp =null; 65 Date timestamp =null;
66 if (CommonUtils.isNotEmpty(commentTime)) { 66 if (CommonUtils.isNotEmpty(commentTime)) {
67 - timestamp = CommonUtils.getTimestamp(commentTime, "yyyy-MM-dd HH:mm"); 67 + timestamp = CommonUtils.getTimestamp(commentTime, "yyyy-MM-dd HH:mm:ss");
68 } 68 }
69 // 2020.01.07 修改评论审核类型是话题时分享和标题从互动云获取 69 // 2020.01.07 修改评论审核类型是话题时分享和标题从互动云获取
70 // if(type.equals(CommonConst.CATEGORY_TOPIC)){//评论类型是话题 70 // if(type.equals(CommonConst.CATEGORY_TOPIC)){//评论类型是话题