Преглед изворни кода

Merge branch '20250623_project_fr'

15313670163 пре 2 дана
родитељ
комит
e5f2704264
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/JsonRpc/NewsService.php

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -6386,7 +6386,7 @@ class NewsService implements NewsServiceInterface
         if(empty($project)){
             return Result::error("暂无相关项目信息", 0);
         }
-        if($project->status == 2){
+        if($data['status'] == 2){
           $result = Project::where('id', $data['id'])->update(['status' => $data['status'],'refuse_reason' => $data['refuse_reason']]);
         }else{
           $result = Project::where('id',$data['id'])->update(['status' => $data['status']]);