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