linwu hai 6 meses
pai
achega
fb3b4e722e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);