Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
崔立强
db-game-template
Commits
317e4029
Commit
317e4029
authored
Dec 03, 2020
by
李硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
5fc6ea1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
interface.js
weekVerb/project/mock/week/interface.js
+3
-3
constant.js
weekVerb/project/src/constant.js
+4
-1
No files found.
weekVerb/project/mock/week/interface.js
View file @
317e4029
...
@@ -7,8 +7,8 @@ export const baseInfo = {
...
@@ -7,8 +7,8 @@ export const baseInfo = {
"tenDjStock"
:
1200
,
"tenDjStock"
:
1200
,
"fiveDjStock"
:
2000
,
"fiveDjStock"
:
2000
,
"llbStock"
:
3000
,
"llbStock"
:
3000
,
"llbStatus"
:
1
,
"llbStatus"
:
0
,
"fiveDjStatus"
:
1
,
"fiveDjStatus"
:
0
,
"tenDjStatus"
:
1
"tenDjStatus"
:
1
},
},
"code"
:
null
,
"code"
:
null
,
...
@@ -21,7 +21,7 @@ export const verbPrize = {
...
@@ -21,7 +21,7 @@ export const verbPrize = {
"name"
:
"奖品名称"
,
"name"
:
"奖品名称"
,
"icon"
:
"2"
"icon"
:
"2"
},
},
"code"
:
"6000
09
"
,
"code"
:
"6000
10
"
,
"message"
:
null
,
"message"
:
null
,
"success"
:
false
"success"
:
false
}
}
\ No newline at end of file
weekVerb/project/src/constant.js
View file @
317e4029
...
@@ -172,7 +172,7 @@ export function ERROR_MESSSAGE(errorCode) {
...
@@ -172,7 +172,7 @@ export function ERROR_MESSSAGE(errorCode) {
}
}
export
function
ERROR_TYPE
(
errorCode
)
{
export
function
ERROR_TYPE
(
errorCode
)
{
if
([
"600003"
,
"600004"
,
"600006"
,
"600007"
,
"600008"
,
"600009"
].
includes
(
errorCode
))
{
if
([
"600003"
,
"600004"
,
"600006"
,
"600007"
,
"600008"
,
"600009"
,
"600010"
].
includes
(
errorCode
))
{
return
false
;
return
false
;
}
else
{
}
else
{
return
true
;
return
true
;
...
@@ -203,6 +203,9 @@ export function ERROR_MODAL(errorCode) {
...
@@ -203,6 +203,9 @@ export function ERROR_MODAL(errorCode) {
case
"600009"
:
case
"600009"
:
type
=
MODAL_TYPE
.
NO_TIMES
;
type
=
MODAL_TYPE
.
NO_TIMES
;
break
;
break
;
case
"600010"
:
type
=
MODAL_TYPE
.
NOT_READY
;
break
;
default
:
default
:
type
=
"网络故障"
;
type
=
"网络故障"
;
break
;
break
;
...
...
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