/**
 * @desc 获取用户权限
 */
import { defHttp } from '/@/utils/http/axios'

export class Params {}

export function request(
    params?: Params,
    config?: http.RequestConfig<Params>,
    options?: http.RequestOptions,
): Promise<Array<string>> {
    return defHttp.request(
        {
            url: '/user/getPermCode',
            method: 'GET',
            params,

            ...config,
        },
        options,
    )
}
