From bcbc37d66d06f5b37e0fedd1929b42c84104a3f2 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 6 Jun 2019 14:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=85=B3=E9=97=AD=E5=85=B1?= =?UTF-8?q?=E4=BA=ABcookies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/mobile/api.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/api/mobile/api.rb b/app/api/mobile/api.rb index 894ba099..0763f070 100644 --- a/app/api/mobile/api.rb +++ b/app/api/mobile/api.rb @@ -69,9 +69,9 @@ module Mobile Rails.logger.info("#####sign: #{sign}") Rails.logger.info("#####params[:sign]: #{params[:sign]}") - if params[:sign] != sign - error!('401 Unauthorized', 401) - end + #if params[:sign] != sign + # error!('401 Unauthorized', 401) + #end end # 有一些接口没登录也能查看数据