Ken 4 days ago
parent
commit
7952701616
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/BackflowService.php

+ 1 - 1
app/Services/BackflowService.php

@@ -54,7 +54,7 @@ class BackflowService extends BaseService
         }
         $backflow->status = 1;
         if (false !== $backflow->save()) return true;
-        return false;
+        throw new Exception('发放失败', HttpStatus::CUSTOM_ERROR);
 
     }