order(['id'=>'desc']) ->where(['type'=>1]) ->withoutField('update_time,delete_time') ->select() ->toArray(); return $lists; } /** * @notes 服务分类数量 * @return int * @author ljj * @date 2022/2/8 3:51 下午 */ public function count(): int { return (new DepositPackage())->count(); } }