记得上下班打卡 | 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
048f251a
Commit
048f251a
authored
Apr 26, 2022
by
wanglele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兑换码sku--->时间
parent
9a5c6c5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
GoblinRedisConst.java
...m/liquidnet/service/goblin/constant/GoblinRedisConst.java
+1
-1
GoblinRedisUtils.java
...om/liquidnet/service/platform/utils/GoblinRedisUtils.java
+6
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/constant/GoblinRedisConst.java
View file @
048f251a
...
@@ -295,7 +295,7 @@ public class GoblinRedisConst {
...
@@ -295,7 +295,7 @@ public class GoblinRedisConst {
/**
/**
* 兑换码sku时间
* 兑换码sku时间
*/
*/
public
static
final
String
ACTIVITY_SKU_TIME
=
PREFIX
.
concat
(
"activity:sku:time"
);
public
static
final
String
ACTIVITY_SKU_TIME
=
PREFIX
.
concat
(
"activity:sku:time
:
"
);
/**
/**
* 是否购买过技术数字藏品
* 是否购买过技术数字藏品
...
...
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/utils/GoblinRedisUtils.java
View file @
048f251a
...
@@ -240,7 +240,12 @@ public class GoblinRedisUtils {
...
@@ -240,7 +240,12 @@ public class GoblinRedisUtils {
return
getRedis
().
get
(
key
);
return
getRedis
().
get
(
key
);
}
}
// key时间赋值
/**
* sku时间赋值
* @param skuId
* @param obj
* @return
*/
public
boolean
addSkuTime
(
String
skuId
,
Object
obj
)
{
public
boolean
addSkuTime
(
String
skuId
,
Object
obj
)
{
String
key
=
GoblinRedisConst
.
ACTIVITY_SKU_TIME
.
concat
(
skuId
);
String
key
=
GoblinRedisConst
.
ACTIVITY_SKU_TIME
.
concat
(
skuId
);
return
getRedis
().
set
(
key
,
obj
);
return
getRedis
().
set
(
key
,
obj
);
...
...
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