Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
4710ef97
Commit
4710ef97
authored
Aug 19, 2024
by
邢磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)修改图片
parent
32b4024c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
MatinfoEnum.java
...in/amos/boot/module/statistics/api/enums/MatinfoEnum.java
+2
-2
DPSubServiceImpl.java
...t/module/statistcs/biz/service/impl/DPSubServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/java/com/yeejoin/amos/boot/module/statistics/api/enums/MatinfoEnum.java
View file @
4710ef97
...
@@ -8,7 +8,7 @@ public enum MatinfoEnum {
...
@@ -8,7 +8,7 @@ public enum MatinfoEnum {
PDF
(
"/public/webico/resources/上传-pdf.png"
,
(
str
)
->
str
.
equals
(
"pdf"
)),
PDF
(
"/public/webico/resources/上传-pdf.png"
,
(
str
)
->
str
.
equals
(
"pdf"
)),
PPT
(
"/public/webico/resources/上传-ppt.png"
,
(
str
)
->
str
.
equals
(
"ppt"
)),
PPT
(
"/public/webico/resources/上传-ppt.png"
,
(
str
)
->
str
.
equals
(
"ppt"
)),
WOED
(
"/public/webico/resources/上传-word.png"
,
(
str
)
->
str
.
equals
(
"doc"
)
||
str
.
equals
(
"docx"
)
||
str
.
equals
(
"txt"
)),
WOED
(
"/public/webico/resources/上传-word.png"
,
(
str
)
->
str
.
equals
(
"doc"
)
||
str
.
equals
(
"docx"
)
||
str
.
equals
(
"txt"
)),
IMAGE
(
"/public/webico/resources/上传-图片.png"
,
(
str
)
->
false
),
//
IMAGE("/public/webico/resources/上传-图片.png", (str) -> false),
VIDEO
(
"/public/webico/resources/上传-视频.png"
,
(
str
)
->
str
.
equals
(
"mp4"
)
||
str
.
equals
(
"avi"
)
||
str
.
equals
(
"flv"
));
VIDEO
(
"/public/webico/resources/上传-视频.png"
,
(
str
)
->
str
.
equals
(
"mp4"
)
||
str
.
equals
(
"avi"
)
||
str
.
equals
(
"flv"
));
private
String
icon
;
private
String
icon
;
...
@@ -37,6 +37,6 @@ public enum MatinfoEnum {
...
@@ -37,6 +37,6 @@ public enum MatinfoEnum {
return
value
;
return
value
;
}
}
}
}
return
IMAGE
;
return
null
;
}
}
}
}
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/DPSubServiceImpl.java
View file @
4710ef97
...
@@ -598,7 +598,7 @@ public class DPSubServiceImpl {
...
@@ -598,7 +598,7 @@ public class DPSubServiceImpl {
JSONObject
yObj
=
(
JSONObject
)
y
;
JSONObject
yObj
=
(
JSONObject
)
y
;
String
[]
str
=
yObj
.
getString
(
"url"
).
split
(
"\\."
);
String
[]
str
=
yObj
.
getString
(
"url"
).
split
(
"\\."
);
String
icon
=
MatinfoEnum
.
getIconUrl
(
str
[
1
]).
getIcon
();
String
icon
=
MatinfoEnum
.
getIconUrl
(
str
[
1
]).
getIcon
();
yObj
.
put
(
"thumb"
,
icon
);
yObj
.
put
(
"thumb"
,
ValidationUtil
.
isEmpty
(
icon
)
?
yObj
.
getString
(
"url"
)
:
icon
);
});
});
attachmentUploadDatasObj
.
put
(
"value"
,
value
);
attachmentUploadDatasObj
.
put
(
"value"
,
value
);
String
accept
=
visualParams
.
getString
(
"accept"
);
String
accept
=
visualParams
.
getString
(
"accept"
);
...
...
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