Explorar el Código

Merge branch '20250623_project_fr'

15313670163 hace 2 días
padre
commit
e5f2704264
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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']]);