Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-office-web-sit
Commits
ce4db02b
Commit
ce4db02b
authored
Dec 19, 2024
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改精彩视频日期格式问题
parent
edf13f96
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
10 deletions
+5
-10
NewsMovieServiceImpl.java
...ice/modules/manage/service/impl/NewsMovieServiceImpl.java
+2
-0
application-test.yml
src/main/resources/application-test.yml
+3
-4
bootstrap.properties
src/main/resources/bootstrap.properties
+0
-6
No files found.
src/main/java/io/office/modules/manage/service/impl/NewsMovieServiceImpl.java
View file @
ce4db02b
...
...
@@ -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
()))
{
...
...
src/main/resources/application-test.yml
View file @
ce4db02b
...
...
@@ -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
...
...
@@ -110,4 +110,4 @@ directory:
# 网站路由前缀
ipStart
:
http://192.168.0.77
\ No newline at end of file
ipStart
:
http://192.168.0.77
src/main/resources/bootstrap.properties
deleted
100644 → 0
View file @
edf13f96
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment