Commit 9f39ac62 authored by 张振华's avatar 张振华

update

parent ea79cfed
...@@ -371,7 +371,7 @@ guess_QueryGameByID() { ...@@ -371,7 +371,7 @@ guess_QueryGameByID() {
#echo "#request: $req" #echo "#request: $req"
resp=$(curl -ksd "{$req}" ${MAIN_HTTP}) resp=$(curl -ksd "{$req}" ${MAIN_HTTP})
echo "#response: $resp" echo "#response: $resp"
ok="$(jq '(.result|has("game")) and (.result.game.status == '$status')' <<<"$resp")" ok=$(jq '(.result|has("game")) and (.result.game.status == '"$status"')' <<<"$resp")
[ "$ok" == true ] [ "$ok" == true ]
rst=$? rst=$?
echo_rst "$FUNCNAME" "$rst" echo_rst "$FUNCNAME" "$rst"
......
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