Browse Source

progressing->invited

visuddhinanda 1 year ago
parent
commit
db1be99122
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Resources/CourseResource.php

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

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