Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
56c2665a
Commit
56c2665a
authored
Jul 19, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
05868302
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
AppPermissionService.java
...aoqi/security/admin/rpc/service/AppPermissionService.java
+3
-4
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rpc/service/AppPermissionService.java
View file @
56c2665a
...
@@ -50,7 +50,7 @@ import javax.annotation.Resource;
...
@@ -50,7 +50,7 @@ import javax.annotation.Resource;
import
java.util.*
;
import
java.util.*
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeUnit
;
import
static
com
.
github
.
wxiaoqi
.
security
.
common
.
config
.
rabbit
.
RabbitConstant
.
KEY_REGISTER_SUCCESS
;
import
static
com
.
github
.
wxiaoqi
.
security
.
common
.
config
.
rabbit
.
RabbitConstant
.
*
;
/**
/**
* @author keliii
* @author keliii
...
@@ -340,12 +340,11 @@ public class AppPermissionService {
...
@@ -340,12 +340,11 @@ public class AppPermissionService {
registerQueueDTO
.
setInParamDTO
(
new
RegisterParamDTO
(
username
,
password
,
headimgurl
,
registerQueueDTO
.
setInParamDTO
(
new
RegisterParamDTO
(
username
,
password
,
headimgurl
,
nickname
,
mobilecode
,
openId
,
unionid
,
type
,
code
,
activityCode
));
nickname
,
mobilecode
,
openId
,
unionid
,
type
,
code
,
activityCode
));
// 注册成功,发送队列
// 注册成功,发送队列
switch
(
sign
){
switch
(
sign
){
case
1
:
case
1
:
mqSenderFeign
.
sendMessage
(
RabbitConstant
.
ADMIN_TOPIC
,
KEY_
REGISTER_SUCCESS
,
JSONUtil
.
toJsonStr
(
registerQueueDTO
));
mqSenderFeign
.
sendMessage
(
RabbitConstant
.
ADMIN_TOPIC
,
KEY_
APPUSER_REGISTER
,
JSONUtil
.
toJsonStr
(
registerQueueDTO
));
case
2
:
case
2
:
mqSenderFeign
.
sendMessage
(
RabbitConstant
.
ADMIN_TOPIC
,
KEY_
REGISTER_SUCCESS
,
JSONUtil
.
toJsonStr
(
registerQueueDTO
));
mqSenderFeign
.
sendMessage
(
RabbitConstant
.
ADMIN_TOPIC
,
KEY_
APPUSER_AUTH
,
JSONUtil
.
toJsonStr
(
registerQueueDTO
));
default
:
default
:
break
;
break
;
}
}
...
...
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