diff --git a/app/services/libraries/submit_service.rb b/app/services/libraries/submit_service.rb index 6af3284b..0beec7de 100644 --- a/app/services/libraries/submit_service.rb +++ b/app/services/libraries/submit_service.rb @@ -8,7 +8,7 @@ class Libraries::SubmitService end def call - return if library.processing? + return if library.processing? || library.published? raise Error, '该状态下不能提交审核' unless library.may_submit?