rkljw 4 달 전
부모
커밋
2b7689fbda
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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("删除失败");
         }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
runtime/container/scan.cache


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.