修改部分问题

This commit is contained in:
sylor_huang@126.com
2020-03-24 16:03:18 +08:00
parent 1f1cb03b1d
commit a26d8997b4
14 changed files with 266152 additions and 14 deletions

View File

@@ -233,8 +233,6 @@ class ApplicationController < ActionController::Base
# 未授权的捕捉407弹试用申请弹框
def require_login
#6.13 -hs
Rails.logger.info("########____________________########{User.current.login}")
Rails.logger.info("########____________________########{User.current.logged?}")
tip_exception(401, "请登录后再操作") unless User.current.logged?
end