xushengqiang 5 роки тому
батько
коміт
4ca2a1af34

+ 3 - 0
src/main/java/cn/efunbox/audio/impl/hag/HagContentServiceImpl.java

@@ -59,6 +59,9 @@ public class HagContentServiceImpl implements HagContentService {
         HagContentResp hagContentResp = new HagContentResp();
 
         String updateTime = hagContentReq.getTimestamp();
+        if (StringUtils.isBlank(updateTime)) {
+            updateTime = "20190101000000";
+        }
         Date date = DateUtil.strToDate(updateTime);
         if (Objects.isNull(date)) {
             hagContentResp.setErrorCode("400");