find($settings_id); } /** * 获取某条数据信息 */ public static function getDetail($where = []) { return (new static())->where($where)->find(); } /** * 所有列表 */ public static function getAll(){ return (new self())->where('is_delete', '=', 0) ->select(); } }