测试关闭共享cookies

dev_trainings
daiao 6 years ago
parent c19a6f26da
commit bcbc37d66d

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

Loading…
Cancel
Save