修复:提示使用tip_exception

This commit is contained in:
yystopf 2023-04-04 16:13:31 +08:00
parent 1e3fd4dfbc
commit b9998ecf4b
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ module Api::ProjectHelper
else
logger.info "###########project not found"
@project = nil
render_not_found and return
tip_exception(404, '您访问的页面不存在或已被删除')
end
@project
end