Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
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
YZG
yzg-util
Commits
fbe4c9cc
Commit
fbe4c9cc
authored
Nov 26, 2021
by
yanzg
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/xy' into xy
parents
b9d986f5
f7cfe50d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
MediaCacheLocal.java
.../src/main/java/com/yanzuoguang/media/MediaCacheLocal.java
+1
-2
MediaFirst.java
...image/src/main/java/com/yanzuoguang/media/MediaFirst.java
+0
-3
No files found.
yzg-util-image/src/main/java/com/yanzuoguang/media/MediaCacheLocal.java
View file @
fbe4c9cc
package
com
.
yanzuoguang
.
media
;
import
com.yanzuoguang.util.helper.JsonHelper
;
import
org.springframework.stereotype.Component
;
import
java.util.HashMap
;
import
java.util.Map
;
...
...
@@ -11,7 +10,7 @@ import java.util.Map;
*
* @author 颜佐光
*/
public
class
MediaCacheLocal
implements
MediaCache
{
public
class
MediaCacheLocal
implements
MediaCache
Base
{
private
Map
<
String
,
MapLock
>
mapLock
=
new
HashMap
<
String
,
MapLock
>();
...
...
yzg-util-image/src/main/java/com/yanzuoguang/media/MediaFirst.java
View file @
fbe4c9cc
...
...
@@ -42,9 +42,6 @@ public class MediaFirst {
}
public
MediaResVo
start
(
MediaReqVo
req
)
{
if
(
cache
==
null
)
{
throw
new
CodeException
(
"请通过程序编写视频缓存处理对象"
);
}
// 将临时文件移动到正式文件
this
.
getCache
().
lockTempFile
(
req
,
new
Runnable
()
{
@Override
...
...
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