Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
link33
plugin
Commits
a3ec69db
Commit
a3ec69db
authored
Oct 10, 2019
by
张振华
Committed by
vipwzw
Oct 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6c751a8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
guess_test.go
plugin/dapp/guess/rpc/guess_test.go
+3
-3
No files found.
plugin/dapp/guess/rpc/guess_test.go
View file @
a3ec69db
...
...
@@ -623,8 +623,8 @@ func testGuessImp(t *testing.T) {
reply
=
queryGuessByIds
(
strGameID3
)
assert
.
Equal
(
t
,
true
,
reply
.
Games
[
0
]
.
Status
==
10
)
fmt
.
Println
(
"=======start queryGuessByI
d
!======="
)
reply2
:=
queryGuessByI
d
(
strGameID1
)
fmt
.
Println
(
"=======start queryGuessByI
D
!======="
)
reply2
:=
queryGuessByI
D
(
strGameID1
)
assert
.
Equal
(
t
,
true
,
reply2
.
Game
.
Status
==
11
&&
reply2
.
Game
.
BetStat
.
TotalBetTimes
==
2
)
fmt
.
Println
(
"=======start queryGuessByAddr!======="
)
...
...
@@ -1091,7 +1091,7 @@ func queryGuessByIds(gameIDs string) (*gty.ReplyGuessGameInfos) {
return
&
res
}
func
queryGuessByI
d
(
gameID
string
)
(
*
gty
.
ReplyGuessGameInfo
)
{
func
queryGuessByI
D
(
gameID
string
)
(
*
gty
.
ReplyGuessGameInfo
)
{
var
params
rpctypes
.
Query4Jrpc
params
.
Execer
=
gty
.
GuessX
...
...
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