fix bug

fix bug in sign(), after http_build_query(), $params need urldecode()