field(['id', 'name']) ->where([ ['del', '=', 0], ['is_show', '=', 1] ])->order('order asc')->select()->toArray(); } catch (\Exception $e) { return ['error'=>$e->getMessage()]; } } }