def render_authorize_result(status=401, text=nil, valid=false)
        text = text || error_msg
        Rails.logger.error(text) if status != 200
        {plain: text, status: status, valid: valid}
      end
def render_authorize_result(status=401, text=nil, valid=false)
        text = text || error_msg
        Rails.logger.error(text) if status != 200
        {plain: text, status: status, valid: valid}
      end
render weixin server authorize results