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
355a9fab
Commit
355a9fab
authored
Jul 21, 2019
by
周健威
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/base-modify' into base-modify
parents
d7fc35ae
ff0a32ac
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
AppUserSellingWaterBiz.java
...ub/wxiaoqi/security/admin/biz/AppUserSellingWaterBiz.java
+1
-0
RabbitAdminConfig.java
...thub/wxiaoqi/security/admin/config/RabbitAdminConfig.java
+1
-1
AppPermissionService.java
...aoqi/security/admin/rpc/service/AppPermissionService.java
+3
-0
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/AppUserSellingWaterBiz.java
View file @
355a9fab
...
@@ -292,6 +292,7 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper, A
...
@@ -292,6 +292,7 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper, A
totalIncome
=
total
.
subtract
(
refund
);
totalIncome
=
total
.
subtract
(
refund
);
}
}
sellingWaterVos
.
sort
(
Comparator
.
comparing
(
SellingWalletVo:
:
getCrtTime
).
reversed
());
sellingWalletPagVo
.
setPageNum
(
pageNo
);
sellingWalletPagVo
.
setPageNum
(
pageNo
);
sellingWalletPagVo
.
setPageSize
(
pageSize
);
sellingWalletPagVo
.
setPageSize
(
pageSize
);
sellingWalletPagVo
.
setTotalCount
(
appUserSellingWaterPageDataVO
.
getTotalCount
().
intValue
());
sellingWalletPagVo
.
setTotalCount
(
appUserSellingWaterPageDataVO
.
getTotalCount
().
intValue
());
...
...
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/config/RabbitAdminConfig.java
View file @
355a9fab
...
@@ -28,7 +28,7 @@ public class RabbitAdminConfig extends RabbitCommonConfig {
...
@@ -28,7 +28,7 @@ public class RabbitAdminConfig extends RabbitCommonConfig {
static
{
static
{
myQueue
=
new
ArrayList
<
BindDTO
>(){{
myQueue
=
new
ArrayList
<
BindDTO
>(){{
//支付完成后永久绑定关系
//支付完成后永久绑定关系
add
(
new
BindDTO
(
ORDER_RELATION_QUEUE
,
ADMIN
_TOPIC
,
KEY_ORDER_PAY
));
add
(
new
BindDTO
(
ORDER_RELATION_QUEUE
,
ORDER
_TOPIC
,
KEY_ORDER_PAY
));
//拥金计算
//拥金计算
add
(
new
BindDTO
(
ORDER_WATER_QUEUE
,
ORDER_TOPIC
,
KEY_ORDER_PAY
));
add
(
new
BindDTO
(
ORDER_WATER_QUEUE
,
ORDER_TOPIC
,
KEY_ORDER_PAY
));
add
(
new
BindDTO
(
ORDER_WATER_QUEUE
,
ORDER_TOPIC
,
KEY_ORDER_FINLISH
));
add
(
new
BindDTO
(
ORDER_WATER_QUEUE
,
ORDER_TOPIC
,
KEY_ORDER_FINLISH
));
...
...
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rpc/service/AppPermissionService.java
View file @
355a9fab
...
@@ -363,6 +363,7 @@ public class AppPermissionService {
...
@@ -363,6 +363,7 @@ public class AppPermissionService {
* 自动登录type;1-app;2-小程序
* 自动登录type;1-app;2-小程序
*/
*/
public
JSONObject
autoLogin
(
Integer
userid
,
String
username
,
String
headimgurl
,
String
nickname
,
String
code
,
String
activityCode
,
Integer
type
)
{
public
JSONObject
autoLogin
(
Integer
userid
,
String
username
,
String
headimgurl
,
String
nickname
,
String
code
,
String
activityCode
,
Integer
type
)
{
log
.
info
(
"-----------autoLogin----code==="
+
code
+
"----activityCode===="
+
activityCode
);
JSONObject
data
=
new
JSONObject
();
JSONObject
data
=
new
JSONObject
();
AppUserVo
userVo
=
appUserDetailBiz
.
getUserInfoById
(
userid
);
AppUserVo
userVo
=
appUserDetailBiz
.
getUserInfoById
(
userid
);
if
(
userVo
!=
null
)
{
if
(
userVo
!=
null
)
{
...
@@ -389,6 +390,7 @@ public class AppPermissionService {
...
@@ -389,6 +390,7 @@ public class AppPermissionService {
//更新登录时间 和 ip
//更新登录时间 和 ip
String
clientIp
=
getIp
();
String
clientIp
=
getIp
();
appUserLoginBiz
.
updateLoginInfo
(
userid
,
clientIp
);
appUserLoginBiz
.
updateLoginInfo
(
userid
,
clientIp
);
log
.
info
(
"-----------autoLogin----type==="
+
type
);
if
(
type
!=
null
&&
type
==
1
){
if
(
type
!=
null
&&
type
==
1
){
try
{
try
{
Integer
parentId
=
0
;
Integer
parentId
=
0
;
...
@@ -401,6 +403,7 @@ public class AppPermissionService {
...
@@ -401,6 +403,7 @@ public class AppPermissionService {
}
}
//活动消息
//活动消息
Integer
state
=
userVo
.
getState
();
Integer
state
=
userVo
.
getState
();
log
.
info
(
"-----------autoLogin----state==="
+
state
);
if
(
state
!=
null
&&
state
==
1
){
if
(
state
!=
null
&&
state
==
1
){
if
(
userVo
.
getInviterAccount
()==
null
||
userVo
.
getInviterAccount
()==
0
){
if
(
userVo
.
getInviterAccount
()==
null
||
userVo
.
getInviterAccount
()==
0
){
userVo
.
setInviterAccount
(
parentId
);
userVo
.
setInviterAccount
(
parentId
);
...
...
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