const prefix = '/mroapi/admin'
// 接口地址映射
const apiObj = {
    // 通过类型获取字典
    'dict-byType': `${prefix}/dict/type/{type}`,
    'getZsydxDict': `${prefix}/dict/type/zsydx`,
    'dept-byId': `${prefix}/dept/{id}`,
    'getFactoryDict': `${prefix}/dict/type/factory`,
    'getWarehouseDict': `${prefix}/dict/type/warehouse`,
    'getMenu': `${prefix}/menu`,
    'getUserInfo': `${prefix}/user/info`,
    // 修改用户信息
    'updateUserInfo': `${prefix}/user/edit`,
    // infoCurrentAccount
    'appInfo': `${prefix}/user/app/info`,
	// 查询应用菜单列表 "name": "日常盘点","parentid":"10076"
	'appmenu-selectMenu': `${prefix}/appmenu/selectMenu`,
	// 查询五条热门菜单 "parentid":"10076"
	'appmenu-selectPopularCollects': `${prefix}/appmenu/selectPopularCollects`,
	// 查询个人的五条热门菜单 "parentid":"10076"
	'appmenu-selectHotMenuCollects': `${prefix}/appmenu/selectHotMenuCollects`,
	// 查询个人的10条热门菜单 "parentid":"10076"
	'appmenu-selectHotMenuCollectsWithTen': `${prefix}/appmenu/selectHotMenuCollectsWithTen`,
	// 查询用户收藏菜单,(ifdefault标识是否默认菜单,0否1是）
	'appmenu-selectMenuCollectPage': `${prefix}/appmenu/selectMenuCollectPage`,
	// 添加收藏菜单 "menuId":10078
	'appmenu-saveMenuCollect': `${prefix}/appmenu/saveMenuCollect`,
	// 更新排序值
	'appmenu-menuResort': `${prefix}/appmenu/menuResort`,
	// 移除菜单 "menuId":10078
	'appmenu-deleteMenuCollect': `${prefix}/appmenu/deleteMenuCollect`,
	// 保存菜单点击，每点击菜单进入的时候记录一次 "menuId":10078
	'appmenu-saveClick': `${prefix}/appmenu/saveClick`,
	// 单位
	'review-unit_type': `${prefix}/dict/type/unit_type`,
	// 类别
	'review-category_type': `${prefix}/dict/type/category_type`,
}
export default apiObj
