记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
df88a73d
Commit
df88a73d
authored
May 07, 2022
by
wanglele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量空投修改
parent
fd38faac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
GoblinNftExCodeServiceImpl.java
...tform/service/impl/goblin/GoblinNftExCodeServiceImpl.java
+4
-4
GoblinRedisUtils.java
...om/liquidnet/service/platform/utils/GoblinRedisUtils.java
+2
-1
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/impl/goblin/GoblinNftExCodeServiceImpl.java
View file @
df88a73d
...
@@ -153,7 +153,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
...
@@ -153,7 +153,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
if
(
StringUtil
.
isNotBlank
(
gnc
.
getBoxSkuId
())
&&
gnc
.
getSkuId
().
equals
(
goblinNftExSku
.
getSkuId
()))
{
if
(
StringUtil
.
isNotBlank
(
gnc
.
getBoxSkuId
())
&&
gnc
.
getSkuId
().
equals
(
goblinNftExSku
.
getSkuId
()))
{
gnc
.
setExStartTime
(
goblinNftExSku
.
getExStartTime
());
gnc
.
setExStartTime
(
goblinNftExSku
.
getExStartTime
());
gnc
.
setExStopTime
(
goblinNftExSku
.
getExStopTime
());
gnc
.
setExStopTime
(
goblinNftExSku
.
getExStopTime
());
if
(
now
.
isAfter
(
goblinNftExSku
.
getExStopTime
()))
{
if
(
now
.
isAfter
(
goblinNftExSku
.
getExStopTime
())
&&
!
gnc
.
getState
().
equals
(
2
)
)
{
gnc
.
setState
(
3
);
gnc
.
setState
(
3
);
}
}
break
;
break
;
...
@@ -161,7 +161,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
...
@@ -161,7 +161,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
if
(
gnc
.
getSkuId
().
equals
(
goblinNftExSku
.
getSkuId
()))
{
if
(
gnc
.
getSkuId
().
equals
(
goblinNftExSku
.
getSkuId
()))
{
gnc
.
setExStartTime
(
goblinNftExSku
.
getExStartTime
());
gnc
.
setExStartTime
(
goblinNftExSku
.
getExStartTime
());
gnc
.
setExStopTime
(
goblinNftExSku
.
getExStopTime
());
gnc
.
setExStopTime
(
goblinNftExSku
.
getExStopTime
());
if
(
now
.
isAfter
(
goblinNftExSku
.
getExStopTime
()))
{
if
(
now
.
isAfter
(
goblinNftExSku
.
getExStopTime
())
&&
!
gnc
.
getState
().
equals
(
2
)
)
{
gnc
.
setState
(
3
);
gnc
.
setState
(
3
);
}
}
break
;
break
;
...
@@ -459,7 +459,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
...
@@ -459,7 +459,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
userIds
.
deleteCharAt
(
userIds
.
length
()
-
1
);
userIds
.
deleteCharAt
(
userIds
.
length
()
-
1
);
hashMap
.
put
(
"codes"
,
codes
.
toString
());
hashMap
.
put
(
"codes"
,
codes
.
toString
());
hashMap
.
put
(
"userIds"
,
userIds
.
toString
());
hashMap
.
put
(
"userIds"
,
userIds
.
toString
());
hashMap
.
put
(
"phones"
,
phones
.
toString
());
hashMap
.
put
(
"phones"
,
phones
.
toString
());
hashMap
.
put
(
"adminUid"
,
adminUid
);
hashMap
.
put
(
"adminUid"
,
adminUid
);
queueUtils
.
sendMssPhoneCodeRedis
(
hashMap
);
queueUtils
.
sendMssPhoneCodeRedis
(
hashMap
);
userIdList
.
clear
();
userIdList
.
clear
();
...
@@ -480,7 +480,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
...
@@ -480,7 +480,7 @@ public class GoblinNftExCodeServiceImpl implements IGoblinNftExCodeService {
codes
.
deleteCharAt
(
codes
.
length
()
-
1
);
codes
.
deleteCharAt
(
codes
.
length
()
-
1
);
userIds
.
deleteCharAt
(
userIds
.
length
()
-
1
);
userIds
.
deleteCharAt
(
userIds
.
length
()
-
1
);
hashMap
.
put
(
"codes"
,
codes
.
toString
());
hashMap
.
put
(
"codes"
,
codes
.
toString
());
hashMap
.
put
(
"phones"
,
phones
.
toString
());
hashMap
.
put
(
"phones"
,
phones
.
toString
());
hashMap
.
put
(
"userIds"
,
userIds
.
toString
());
hashMap
.
put
(
"userIds"
,
userIds
.
toString
());
hashMap
.
put
(
"adminUid"
,
adminUid
);
hashMap
.
put
(
"adminUid"
,
adminUid
);
queueUtils
.
sendMssPhoneCodeRedis
(
hashMap
);
queueUtils
.
sendMssPhoneCodeRedis
(
hashMap
);
...
...
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/utils/GoblinRedisUtils.java
View file @
df88a73d
...
@@ -246,7 +246,8 @@ public class GoblinRedisUtils {
...
@@ -246,7 +246,8 @@ public class GoblinRedisUtils {
* @param code
* @param code
*/
*/
public
void
removeCode
(
String
code
)
{
public
void
removeCode
(
String
code
)
{
getRedis
().
del
(
code
);
String
key
=
GoblinRedisConst
.
ACTIVITY_SKU_CODE
.
concat
(
code
);
getRedis
().
del
(
key
);
}
}
/**
/**
...
...
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