diff --git a/app/api/mobile/apis/new_comment.rb b/app/api/mobile/apis/new_comment.rb index d2c77f5b2..5980aeb8b 100644 --- a/app/api/mobile/apis/new_comment.rb +++ b/app/api/mobile/apis/new_comment.rb @@ -28,6 +28,9 @@ module Mobile access_token = session[:access_token] + logger.info "session!!!!!!!!!" + logger.info session + if access_token userinfo = Wechat.api.web_userinfo(access_token,openid) name = userinfo[:nickname]