记得上下班打卡 | 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
e2eedabc
Commit
e2eedabc
authored
Sep 23, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改获取用户创建时间
parent
a3d8ce9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
CandyCouponServiceImpl.java
...et/service/candy/service/impl/CandyCouponServiceImpl.java
+13
-13
No files found.
liquidnet-bus-service/liquidnet-service-candy/liquidnet-service-candy-impl/src/main/java/com/liquidnet/service/candy/service/impl/CandyCouponServiceImpl.java
View file @
e2eedabc
...
@@ -49,7 +49,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -49,7 +49,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -88,7 +88,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -88,7 +88,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
ArrayList
<
CandyCouponPreVo
>
voArrayList
=
ObjectUtil
.
getCandyCouponPreVoArrayList
();
ArrayList
<
CandyCouponPreVo
>
voArrayList
=
ObjectUtil
.
getCandyCouponPreVoArrayList
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -108,7 +108,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -108,7 +108,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -134,7 +134,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -134,7 +134,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -177,7 +177,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -177,7 +177,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -203,7 +203,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -203,7 +203,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -247,7 +247,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -247,7 +247,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -273,7 +273,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -273,7 +273,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -299,7 +299,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -299,7 +299,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -315,7 +315,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -315,7 +315,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -420,7 +420,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -420,7 +420,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
item
.
getUid
();
String
uid
=
item
.
getUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -454,7 +454,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -454,7 +454,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -522,7 +522,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -522,7 +522,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
(
LocalDateTime
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
);
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
()
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
...
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