linwu 6 tháng trước cách đây
mục cha
commit
fb3b4e722e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/Api/Soldier/JobController.php

+ 1 - 1
app/Http/Controllers/Api/Soldier/JobController.php

@@ -99,7 +99,7 @@ class JobController extends ApiBaseController
         $type = $request->input('type', '');
         $list = [];
         if (!empty($type)) {
-            $list = Category::where('alias', $type)->select(['id','category_name'])->get()->toArray();
+            $list = Category::where('alias', $type)->select(['id','demand'])->get()->toArray();
         }
 
         return response()->json($list);