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
5aa581f9
Commit
5aa581f9
authored
Jul 06, 2023
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表结构修改
parent
ba1ad0f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
YzgFileProcedure.java
...ain/java/com/yanzuoguang/cloud/file/YzgFileProcedure.java
+6
-13
No files found.
yzg-util-cloud/src/main/java/com/yanzuoguang/cloud/file/YzgFileProcedure.java
View file @
5aa581f9
...
...
@@ -43,21 +43,14 @@ public class YzgFileProcedure implements InitializingBean {
private
final
MemoryCache
<
Boolean
>
folderCache
=
new
MemoryCache
<>(
24
*
60
*
60
);
private
final
Map
<
String
,
Boolean
>
mapCallbackMQ
=
new
HashMap
<>();
@Autowired
private
MqService
mqService
;
private
final
MqService
mqService
;
public
YzgFileProcedure
(
MqService
mqService
)
{
this
.
mqService
=
mqService
;
}
/**
* Invoked by a BeanFactory after it has set all bean properties supplied
* (and satisfied BeanFactoryAware and ApplicationContextAware).
* <p>This method allows the bean instance to perform initialization only
* possible when all bean properties have been set and to throw an
* exception in the event of misconfiguration.
*
* @throws Exception in the event of misconfiguration (such
* as failure to set an essential property) or if initialization fails.
*/
@Override
public
void
afterPropertiesSet
()
throws
Exception
{
public
void
afterPropertiesSet
()
{
mqService
.
createQueue
(
new
QueueVo
(
YZG_REMOVE_TEMP_FOLDER
));
mqService
.
createQueue
(
new
QueueVo
(
YZG_MOVE_FILE
));
mqService
.
createQueue
(
new
QueueVo
(
YZG_CONVERT_IMAGE
));
...
...
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