rkljw 4 tháng trước cách đây
mục cha
commit
2b7689fbda
2 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/JsonRpc/NewsService.php
  2. 0 0
      runtime/container/scan.cache

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -221,7 +221,7 @@ class NewsService implements NewsServiceInterface
      */
     public function delArticle(array $data): array
     {
-        $result = Article::where($data)->update(['status'=>404]);
+        $result = Article::where($data)->delete();
         if(!$result){
             return Result::error("删除失败");
         }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
runtime/container/scan.cache


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác