Browse Source

进度阈值用配置文件

visuddhinanda 10 months ago
parent
commit
66e4aa207e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api-v8/app/Http/Controllers/CategoryController.php

+ 1 - 1
api-v8/app/Http/Controllers/CategoryController.php

@@ -99,7 +99,7 @@ class CategoryController extends Controller
             ->whereHas('channel', function ($query) {
                 $query->where('status', 30);
             })
-            ->where('progress', '>', 0.2)
+            ->where('progress', '>', config('mint.library.list_min_progress'))
             ->get();
 
         $pali = PaliText::where('level', 1)->get();