Commit ce4db02b by 吴迪

修改精彩视频日期格式问题

parent edf13f96
......@@ -63,6 +63,8 @@ public class NewsMovieServiceImpl extends ServiceImpl<NewsMovieDao, NewsMovieEnt
newtopicEntityVo.setEditor(user.getUsername());
if (StringUtils.isBlank(newtopicEntityVo.getShowtime())) {
newtopicEntityVo.setShowtime(DateUtils.format(date, DateUtils.DATE_PATTERN));
} else {
newtopicEntityVo.setShowtime(newtopicEntityVo.getShowtime().replaceAll("\\/","-"));
}
newtopicEntityVo.setLasteditor(user.getUsername());
if (StringUtils.isNotBlank(newtopicEntityVo.getPic())) {
......
......@@ -60,8 +60,8 @@ dynamic:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
# url: jdbc:sqlserver://192.168.0.85:1433;DatabaseName=center_outer
url: jdbc:sqlserver://192.168.170.148:9006;DatabaseName=center_outer
username: test2
password: test2
username: wangtian
password: wangtian
server:
port: 9091
# password: 123456
......
spring.application.name=renren-fast
spring.cloud.nacos.config.server-addr=192.168.80.128:8848
#命名空间名称
spring.cloud.nacos.config.namespace=55bdbdd5-280b-4177-91ac-2c3f621f1c1d
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment