const basePart = '';

const single = '/simulation/oauth/client/sign/single'; // 获取url参数-登录
const username = '/simulation/oauth/client/sign/username'; // 登录页面-登录
const refreshToken = '/simulation/oauth/client/sign/refreshToken'; // 获取referrtoken

const getDictListsByTypes = '/simulation/resource/server/dict/getDictListsByTypes'; // 字典 单级下拉
const getDictTreesByTypes = '/simulation/resource/server/dict/getDictTreesByTypes'; // 字典 多级下拉

const uploadWj = basePart + '/simulation/resource/server/file/uploadWj'; // 上传
const download = basePart + '/simulation/resource/common/minio/download'; // 下载方法
const uploadProcessBar = basePart + '/simulation/resource/common/minio/uploadProcessBar'; // 算法上传

const uploadToLocal = basePart + '/simulation/resource/video/uploadToLocal'; // osgb上传

const createMultipartUpload = basePart + '/simulation/resource/common/minio/createMultipartUpload'; // 分片上传-请求上传地址
const completeMultipartUpload = basePart + '/simulation/resource/common/minio/completeMultipartUpload'; // 分片上传-文件合并地址

const getMyMenuTree = '/simulation/resource/server/menu/getMyMenuTree'; // 获取左侧菜单
const getCurrentUserInfo = '/simulation/resource/server/userInfo/getCurrentUserInfo'; // 获取个人信息

const parse = basePart + '/simulation/resource/common/excel/parse'; // excel解析

const isAdmin = basePart + '/simulation/resource/server/role/isAdmin'; // 判断是否是管理员


export default {
    single,
    username,
    refreshToken,

    getDictListsByTypes,
    getDictTreesByTypes,

    uploadWj,
    download,
    uploadProcessBar,
    uploadToLocal,

    createMultipartUpload,
    completeMultipartUpload,

    getMyMenuTree,
    getCurrentUserInfo,

    parse,

    isAdmin
}

//10.15.12.74:7001/simulation/oauth/client/sign/single?code=1001&ticket=1001
//10.12.10.70/simulation/oauth/client/sign/single?code=1002&ticket=1002
//http://10.12.10.70/simulation/oauth/client/sign/entry?code=1002&ticket=1002
//1002