Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
Project
Project
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
liqin
chnmuseum-party
Commits
92dcd8a7
Commit
92dcd8a7
authored
Apr 14, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
5fae0808
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
SystemOperationLogService.java
...chnmuseum/party/common/log/SystemOperationLogService.java
+2
-1
FileUploadController.java
.../chnmuseum/party/web/controller/FileUploadController.java
+1
-1
VideoContentController.java
...hnmuseum/party/web/controller/VideoContentController.java
+2
-0
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/common/log/SystemOperationLogService.java
View file @
92dcd8a7
...
...
@@ -42,7 +42,7 @@ import static cn.wisenergy.chnmuseum.party.common.enums.CopyrightOwnerTypeEnum.V
@Service
@Aspect
@Transactional
class
SystemOperationLogService
extends
ServiceImpl
<
SysLogMapper
,
SysLog
>
{
public
class
SystemOperationLogService
extends
ServiceImpl
<
SysLogMapper
,
SysLog
>
{
@Resource
private
SysLogMapper
sysLogMapper
;
...
...
@@ -120,6 +120,7 @@ class SystemOperationLogService extends ServiceImpl<SysLogMapper, SysLog> {
return
object
;
}
SysLog
sysLog
=
new
SysLog
();
// todo null
if
(
user
.
getRoleList
().
contains
(
"1"
))
{
sysLog
.
setType
(
1
);
}
else
{
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/FileUploadController.java
View file @
92dcd8a7
...
...
@@ -49,7 +49,7 @@ public class FileUploadController extends BaseController {
private
static
final
String
[]
IMAGE_TYPE
=
new
String
[]{
"JPG"
,
"JPEG"
,
"PNG"
,
"BMP"
,
"WBMP"
};
private
static
final
String
[]
AUDIO_TYPE
=
new
String
[]{
"MP3"
,
"AAC"
,
"WMA"
,
"FLAC"
,
"RM"
,
"OGG"
};
private
static
final
String
[]
VIDEO_TYPE
=
new
String
[]{
"MP4"
,
"FLV"
,
"MPEG"
};
private
static
final
String
[]
VIDEO_TYPE
=
new
String
[]{
"MP4"
,
"FLV"
,
"MPEG"
,
"MOV"
};
private
static
final
String
[]
DOC_TYPE
=
new
String
[]{
"PDF"
,
"DOC"
,
"DOCX"
,
"PPT"
,
"PPTX"
};
private
static
final
String
[]
DATUM_TYPE
=
ArrayUtil
.
addAll
(
DOC_TYPE
,
IMAGE_TYPE
,
VIDEO_TYPE
);
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/VideoContentController.java
View file @
92dcd8a7
...
...
@@ -236,6 +236,8 @@ public class VideoContentController extends BaseController {
videoContent
.
setVideoContentCatName
(
videoContentCat
.
getName
());
}
if
(
videoContent
.
getVideoContentCopyrightOwnerId
()
!=
null
)
{
// todo null
CopyrightOwner
copyrightOwner
=
this
.
copyrightOwnerService
.
getById
(
videoContent
.
getVideoContentCopyrightOwnerId
());
videoContent
.
setVideoContentCopyrightOwnerName
(
copyrightOwner
.
getName
());
}
...
...
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