Commit 699b04e9 authored by 张振华's avatar 张振华

update

parent 3c36f2a0
......@@ -78,11 +78,8 @@ pokerbull_QueryResult() {
echo "========== # pokerbull query result begin =========="
local req='"method":"Chain33.Query","params":[{"execer":"pokerbull","funcName":"QueryGameByID","payload":{"gameId":"'$GAME_ID'"}}]'
data=$(curl -ksd "{$req}" ${MAIN_HTTP} | jq -r ".result")
<<<<<<< HEAD
ok=$(jq '(.game.gameId == "'"$GAME_ID"'")' <<<"$data")
=======
ok=$(jq '(.game.gameId == '"$GAME_ID"')' <<<"$data")
>>>>>>> master
[ "$ok" == true ]
echo_rst "$FUNCNAME" "$?"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment