Commit e6e316b9 authored by yingqiumin@126.com's avatar yingqiumin@126.com

improve rpc test

parents 2555a509 f9df6fa2
...@@ -24,8 +24,6 @@ echo_rst() { ...@@ -24,8 +24,6 @@ echo_rst() {
} }
http_req() { http_req() {
# echo "request="$1" MAIN_HTTP="$2" js="$3" FUNCNAME="$4" response="$5""
# echo "#$4 request: $1"
local body=$(curl -ksd "$1" "$2") local body=$(curl -ksd "$1" "$2")
RETURN_RESP=$(jq -r "$5" <<<"$body") RETURN_RESP=$(jq -r "$5" <<<"$body")
echo "#response: $body" "$RETURN_RESP" echo "#response: $body" "$RETURN_RESP"
......
...@@ -226,7 +226,7 @@ function token_withdraw() { ...@@ -226,7 +226,7 @@ function token_withdraw() {
function run_test() { function run_test() {
local ip=$1 local ip=$1
# set -x # set -x
token_preCreate token_preCreate
token_getPreCreated token_getPreCreated
......
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