Commit 4effc3a4ad62c85aea7d04b8b12d76e3992a29c9
1 parent
f5ad0b71
Exists in
master
add more logger
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/qy_wechat_api.rb
@@ -27,6 +27,7 @@ module QyWechatApi | @@ -27,6 +27,7 @@ module QyWechatApi | ||
27 | class << self | 27 | class << self |
28 | 28 | ||
29 | def http_get_without_token(url, params={}) | 29 | def http_get_without_token(url, params={}) |
30 | + Rails.logger.info("url: #{url}--- params: #{params}") | ||
30 | get_api_url = ENDPOINT_URL + url | 31 | get_api_url = ENDPOINT_URL + url |
31 | load_json(RestClient.get(get_api_url, params: params)) | 32 | load_json(RestClient.get(get_api_url, params: params)) |
32 | end | 33 | end |