|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|
# 有一些接口没登录也能查看数据
|
|
|
|
|