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
fef24ff2
Commit
fef24ff2
authored
Dec 18, 2020
by
qinhaitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
🎸
b server
parent
cea1b34b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
awards.controller.ts
server/duibats/src/controller/awards.controller.ts
+6
-3
No files found.
server/duibats/src/controller/awards.controller.ts
View file @
fef24ff2
...
...
@@ -128,9 +128,12 @@ export default class BaseController {
let
prizeType
=
'/'
;
let
shipTxt
=
'/'
;
if
(
v
)
{
if
(
v
.
prizeDataType
==
1
)
prizeDataType
=
'关卡获得'
if
(
v
.
prizeDataType
==
2
)
prizeDataType
=
'排行榜'
if
(
v
.
prizeDataType
==
3
)
prizeDataType
=
'分享获得'
<%
for
(
var
i
=
0
;
i
<
formatPrize
.
length
;
++
i
)
{
%>
<%-
`if (v.prizeDataType ==
${
formatPrize
[
i
].
prizeDataType
}
) prizeDataType = '
${
formatPrize
[
i
].
name
}
'`
%><%
}
%>
// if (v.prizeDataType == 1) prizeDataType = '关卡获得'
// if (v.prizeDataType == 2) prizeDataType = '排行榜'
// if (v.prizeDataType == 3) prizeDataType = '分享获得'
if
(
v
.
type
==
PRIZE_TYPE
.
EQUITY
)
prizeType
=
'优惠券'
if
(
v
.
type
==
PRIZE_TYPE
.
CREDITS
)
prizeType
=
'积分'
...
...
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