/**
 * @desc 查询
 */
import { defHttp } from '/@/utils/http/axios'

export class Params {
    /** id */
    id: string
}

export function request(
    params: Params,
    config?: http.RequestConfig<Params>,
    options?: http.RequestOptions,
): Promise<defs.PermissionVo> {
    return defHttp.request(
        {
            url: '/sys/permission/find',
            method: 'GET',
            params,

            ...config,
        },
        options,
    )
}
