Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
qinhaitao
taobao-mini-template
Commits
10462678
Commit
10462678
authored
Oct 17, 2020
by
李硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开奖时间加8小时
parent
29df39f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
awards.controller.js
server/duiba/controller/awards.controller.js
+4
-4
No files found.
server/duiba/controller/awards.controller.js
View file @
10462678
...
@@ -62,8 +62,8 @@ const findWinnerInfoList = async (context) => {
...
@@ -62,8 +62,8 @@ const findWinnerInfoList = async (context) => {
awardslist
.
map
((
item
)
=>
{
awardslist
.
map
((
item
)
=>
{
let
ad
=
item
.
province
+
item
.
city
+
item
.
area
+
item
.
addressDetail
,
type0
=
item
.
type
;
let
ad
=
item
.
province
+
item
.
city
+
item
.
area
+
item
.
addressDetail
,
type0
=
item
.
type
;
item
.
prizeId
=
item
.
_id
;
item
.
prizeId
=
item
.
_id
;
item
.
createTime
=
formatTime
(
new
Date
(
item
.
createTime
))
||
""
;
item
.
createTime
=
formatTime
(
new
Date
(
item
.
createTime
+
EIGHT_HOURS
))
||
""
;
item
.
receiveTime
=
item
.
receiveTime
?
formatTime
(
new
Date
(
item
.
receiveTime
))
:
'未填'
;
item
.
receiveTime
=
item
.
receiveTime
?
formatTime
(
new
Date
(
item
.
receiveTime
+
EIGHT_HOURS
))
:
'未填'
;
item
.
prizeDataType
=
prizePoolType
[
item
.
prizeDataType
];
item
.
prizeDataType
=
prizePoolType
[
item
.
prizeDataType
];
item
.
type
=
prizeKind
[
item
.
type
];
item
.
type
=
prizeKind
[
item
.
type
];
item
.
receiveName
=
type0
==
3
?
(
item
.
receiveName
||
"未填"
)
:
'/'
;
item
.
receiveName
=
type0
==
3
?
(
item
.
receiveName
||
"未填"
)
:
'/'
;
...
@@ -356,8 +356,8 @@ const findWinnerInfoListBySearch = async (context) => {
...
@@ -356,8 +356,8 @@ const findWinnerInfoListBySearch = async (context) => {
awardslist
.
map
((
item
)
=>
{
awardslist
.
map
((
item
)
=>
{
let
ad
=
item
.
province
+
item
.
city
+
item
.
area
+
item
.
addressDetail
,
type0
=
item
.
type
;
let
ad
=
item
.
province
+
item
.
city
+
item
.
area
+
item
.
addressDetail
,
type0
=
item
.
type
;
item
.
prizeId
=
item
.
_id
;
item
.
prizeId
=
item
.
_id
;
item
.
createTime
=
formatTime
(
new
Date
(
item
.
createTime
))
||
""
;
item
.
createTime
=
formatTime
(
new
Date
(
item
.
createTime
+
EIGHT_HOURS
))
||
""
;
item
.
receiveTime
=
item
.
receiveTime
?
formatTime
(
new
Date
(
item
.
receiveTime
))
:
'未填'
;
item
.
receiveTime
=
item
.
receiveTime
?
formatTime
(
new
Date
(
item
.
receiveTime
+
EIGHT_HOURS
))
:
'未填'
;
item
.
prizeDataType
=
prizePoolType
[
item
.
prizeDataType
];
item
.
prizeDataType
=
prizePoolType
[
item
.
prizeDataType
];
item
.
type
=
prizeKind
[
item
.
type
];
item
.
type
=
prizeKind
[
item
.
type
];
item
.
receiveName
=
type0
==
3
?
(
item
.
receiveName
||
"未填"
)
:
'/'
;
item
.
receiveName
=
type0
==
3
?
(
item
.
receiveName
||
"未填"
)
:
'/'
;
...
...
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