Ken 3 tuần trước cách đây
mục cha
commit
7952701616
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
 
     }