소스 검색

progressing->invited

visuddhinanda 1 년 전
부모
커밋
db1be99122
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Resources/CourseResource.php

+ 1 - 1
app/Http/Resources/CourseResource.php

@@ -105,7 +105,7 @@ class CourseResource extends JsonResource
         }else{
             //计算待审核
             $data['count_progressing'] = CourseMember::where('course_id',$this->id)
-                                                ->where('status',"progressing")
+                                                ->where('status',"invited")
                                                 ->where('is_current',true)
                                                 ->count();
         }