|
@@ -56,14 +56,10 @@ class CustomFieldController extends Controller
|
|
|
|
|
|
if(!empty($nameRuleGroups)){
|
|
|
$notNameRule=array_diff($allGroups,$nameRuleGroups);
|
|
|
- return $this->success([
|
|
|
- 'data' => $notNameRule
|
|
|
- ]);
|
|
|
+ return response()->json(['data'=>$notNameRule],200);
|
|
|
}
|
|
|
|
|
|
- return $this->success([
|
|
|
- 'data'=> $allGroups
|
|
|
- ]);
|
|
|
+ return response()->json(['data'=>$allGroups],200);
|
|
|
}
|
|
|
|
|
|
public function nameRuleGroups()
|