删除重复的权限

dev_course
jingquan huang 6 years ago
parent 5bf0be607a
commit d900127622

@ -715,7 +715,7 @@ private
return return
end end
if !current_user.shixun_permission(@shixun) || (@shixun.status == -1 && !current_user.admin?) if !current_user.shixun_permission(@shixun)
tip_exception(403, "..") tip_exception(403, "..")
end end
end end

Loading…
Cancel
Save