|
|
|
|
type ObjectMap<Key extends string | number | symbol = any, Value = any> = {
|
|
|
|
|
[key in Key]: Value;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
declare namespace defs {
|
|
|
|
|
export class GrantedAuthority {
|
|
|
|
|
/** authority */
|
|
|
|
|
authority?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class ListResultVO<T0 = any> {
|
|
|
|
|
/** 当前页码 */
|
|
|
|
|
current?: number;
|
|
|
|
|
|
|
|
|
|
/** 列表数据 */
|
|
|
|
|
list?: Array<T0>;
|
|
|
|
|
|
|
|
|
|
/** 每页记录数 */
|
|
|
|
|
pageSize?: number;
|
|
|
|
|
|
|
|
|
|
/** 记录总数 */
|
|
|
|
|
total?: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class MajorCategory {
|
|
|
|
|
/** 下级分类列表 */
|
|
|
|
|
children?: Array<defs.MajorCategory>;
|
|
|
|
|
|
|
|
|
|
/** 分类编码 */
|
|
|
|
|
code?: string;
|
|
|
|
|
|
|
|
|
|
/** 创建时间 */
|
|
|
|
|
createTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 创建人 */
|
|
|
|
|
createUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 删除时间 */
|
|
|
|
|
deleteTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 删除者 */
|
|
|
|
|
deleteUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 是否启用 */
|
|
|
|
|
enable?: boolean;
|
|
|
|
|
|
|
|
|
|
/** 分类ID */
|
|
|
|
|
id?: number;
|
|
|
|
|
|
|
|
|
|
/** 最后更新时间 */
|
|
|
|
|
lastModifyTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 最后更新者 */
|
|
|
|
|
lastModifyUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 分类级别 */
|
|
|
|
|
level?: number;
|
|
|
|
|
|
|
|
|
|
/** 分类名称 */
|
|
|
|
|
name?: string;
|
|
|
|
|
|
|
|
|
|
/** 上级分类ID */
|
|
|
|
|
parentId?: number;
|
|
|
|
|
|
|
|
|
|
/** 备注 */
|
|
|
|
|
remark?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class Menu {
|
|
|
|
|
/** 下级菜单 */
|
|
|
|
|
children?: Array<defs.Menu>;
|
|
|
|
|
|
|
|
|
|
/** 删除时间 */
|
|
|
|
|
deleteTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 菜单图标 */
|
|
|
|
|
icon?: string;
|
|
|
|
|
|
|
|
|
|
/** 菜单ID */
|
|
|
|
|
id?: number;
|
|
|
|
|
|
|
|
|
|
/** 菜单名称 */
|
|
|
|
|
name?: string;
|
|
|
|
|
|
|
|
|
|
/** 上级菜单 */
|
|
|
|
|
parentId?: number;
|
|
|
|
|
|
|
|
|
|
/** 备注 */
|
|
|
|
|
remark?: string;
|
|
|
|
|
|
|
|
|
|
/** 是否显示在菜单上 */
|
|
|
|
|
showInMenu?: boolean;
|
|
|
|
|
|
|
|
|
|
/** 显示排序 */
|
|
|
|
|
sort?: number;
|
|
|
|
|
|
|
|
|
|
/** 菜单标题 */
|
|
|
|
|
title?: string;
|
|
|
|
|
|
|
|
|
|
/** 菜单链接 */
|
|
|
|
|
url?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class ProjectEntityObject {
|
|
|
|
|
/** 成果登记号 */
|
|
|
|
|
achieveCode?: string;
|
|
|
|
|
|
|
|
|
|
/** 应用日期 */
|
|
|
|
|
appDate?: string;
|
|
|
|
|
|
|
|
|
|
/** 应用领域 A、民用 B、军民通用 */
|
|
|
|
|
appField?: string;
|
|
|
|
|
|
|
|
|
|
/** 应用推广情况概述 */
|
|
|
|
|
applicationSummary?: string;
|
|
|
|
|
|
|
|
|
|
/** 奖励类别 APP_TECH:应用技术成果 BASIC_TECH:基础技术成果 EXTENSION:推广成果 TECH_BASIC:技术基础成果 SOFT_TECH:软科学成果 OTHER:其他 */
|
|
|
|
|
awardType?: number;
|
|
|
|
|
|
|
|
|
|
/** 项目中文名 */
|
|
|
|
|
chnName?: string;
|
|
|
|
|
|
|
|
|
|
/** 创建时间 */
|
|
|
|
|
createTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 创建者 */
|
|
|
|
|
createUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 删除时间 */
|
|
|
|
|
deleteTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 删除者 */
|
|
|
|
|
deleteUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 主管部门 */
|
|
|
|
|
departmentId?: number;
|
|
|
|
|
|
|
|
|
|
/** 直接经济效益概述 */
|
|
|
|
|
directBenifit?: string;
|
|
|
|
|
|
|
|
|
|
/** 项目英文名 */
|
|
|
|
|
engName?: string;
|
|
|
|
|
|
|
|
|
|
/** 评价日期 */
|
|
|
|
|
evaluateDate?: string;
|
|
|
|
|
|
|
|
|
|
/** 评价水平 */
|
|
|
|
|
evaluateLevel?: number;
|
|
|
|
|
|
|
|
|
|
/** 成果评价机构 */
|
|
|
|
|
evaluateOrgId?: number;
|
|
|
|
|
|
|
|
|
|
/** 项目ID */
|
|
|
|
|
id?: number;
|
|
|
|
|
|
|
|
|
|
/** 间接经济效益概述 */
|
|
|
|
|
indirectBenifit?: string;
|
|
|
|
|
|
|
|
|
|
/** 授权的其他知识产权 */
|
|
|
|
|
intellectualProperty?: number;
|
|
|
|
|
|
|
|
|
|
/** 授权发明专利 */
|
|
|
|
|
inventionPatent?: number;
|
|
|
|
|
|
|
|
|
|
/** 最后修改时间 */
|
|
|
|
|
lastModifyTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 最后修改者 */
|
|
|
|
|
lastModifyUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 专业分类 */
|
|
|
|
|
majorCategoryId?: number;
|
|
|
|
|
|
|
|
|
|
/** 计划名称 */
|
|
|
|
|
plan?: string;
|
|
|
|
|
|
|
|
|
|
/** 计划编号 */
|
|
|
|
|
planCode?: string;
|
|
|
|
|
|
|
|
|
|
/** 项目终止日期 */
|
|
|
|
|
projectEndTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 项目简介 */
|
|
|
|
|
projectInfo?: string;
|
|
|
|
|
|
|
|
|
|
/** 项目开始日期 */
|
|
|
|
|
projectStartTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 推荐等级 */
|
|
|
|
|
recomendLevel?: number;
|
|
|
|
|
|
|
|
|
|
/** 推荐单位 */
|
|
|
|
|
recomendUnitId?: number;
|
|
|
|
|
|
|
|
|
|
/** 推荐日期 */
|
|
|
|
|
recommendDate?: string;
|
|
|
|
|
|
|
|
|
|
/** 项目备注 */
|
|
|
|
|
remark?: string;
|
|
|
|
|
|
|
|
|
|
/** 主要完成人 */
|
|
|
|
|
responsePersonId?: number;
|
|
|
|
|
|
|
|
|
|
/** 密级 */
|
|
|
|
|
secretLevel?: number;
|
|
|
|
|
|
|
|
|
|
/** 社会效益概述 */
|
|
|
|
|
socialBenifit?: string;
|
|
|
|
|
|
|
|
|
|
/** 项目状态 {0:保存;1:提交;2::已分配专家;3:专家评审通过;4:已通过;6:专家评审未通过;7:打回修改;8:已拒绝;-1:无效项目 */
|
|
|
|
|
status?: number;
|
|
|
|
|
|
|
|
|
|
/** 任务来源 A、国家计划 B、省部级计划、集团公司计划 C、计划外 */
|
|
|
|
|
taskSource?: string;
|
|
|
|
|
|
|
|
|
|
/** 技术创新 */
|
|
|
|
|
techInnovation?: string;
|
|
|
|
|
|
|
|
|
|
/** 技术局限性 */
|
|
|
|
|
techLimitation?: string;
|
|
|
|
|
|
|
|
|
|
/** 主题词 */
|
|
|
|
|
theme?: string;
|
|
|
|
|
|
|
|
|
|
/** 第三方评价描述 */
|
|
|
|
|
thirdEvaluation?: string;
|
|
|
|
|
|
|
|
|
|
/** 完成单位贡献情况阐述 */
|
|
|
|
|
unitContribution?: string;
|
|
|
|
|
|
|
|
|
|
/** 主要完成单位 */
|
|
|
|
|
unitId?: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class ResetMenuDTO {
|
|
|
|
|
/** menus */
|
|
|
|
|
menus?: Array<defs.Menu>;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class Resource {
|
|
|
|
|
/** 上级菜单ID */
|
|
|
|
|
children?: Array<defs.Resource>;
|
|
|
|
|
|
|
|
|
|
/** 资源ID */
|
|
|
|
|
id?: number;
|
|
|
|
|
|
|
|
|
|
/** 是否對所有角色開放 */
|
|
|
|
|
isForAll?: boolean;
|
|
|
|
|
|
|
|
|
|
/** 显示文本 */
|
|
|
|
|
label?: string;
|
|
|
|
|
|
|
|
|
|
/** 请求方法类型 */
|
|
|
|
|
method?: string;
|
|
|
|
|
|
|
|
|
|
/** 资源名称(方法签名) */
|
|
|
|
|
name?: string;
|
|
|
|
|
|
|
|
|
|
/** 上级菜单ID */
|
|
|
|
|
parentId?: number;
|
|
|
|
|
|
|
|
|
|
/** 允许所有访问 */
|
|
|
|
|
permitAll?: boolean;
|
|
|
|
|
|
|
|
|
|
/** 排序 */
|
|
|
|
|
sort?: number;
|
|
|
|
|
|
|
|
|
|
/** 链接 */
|
|
|
|
|
url?: string;
|
|
|
|
|
|
|
|
|
|
/** 用户作用域 */
|
|
|
|
|
userScope?: boolean;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class ResponseEntity {
|
|
|
|
|
/** body */
|
|
|
|
|
body?: object;
|
|
|
|
|
|
|
|
|
|
/** statusCode */
|
|
|
|
|
statusCode?: any;
|
|
|
|
|
|
|
|
|
|
/** statusCodeValue */
|
|
|
|
|
statusCodeValue?: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class ResultVO<T0 = any> {
|
|
|
|
|
/** code */
|
|
|
|
|
code?: number;
|
|
|
|
|
|
|
|
|
|
/** 数据 */
|
|
|
|
|
data?: T0;
|
|
|
|
|
|
|
|
|
|
/** msg */
|
|
|
|
|
msg?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class Role {
|
|
|
|
|
/** 创建时间 */
|
|
|
|
|
createTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 创建人 */
|
|
|
|
|
createUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 删除者 */
|
|
|
|
|
deleteUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 是否启用 */
|
|
|
|
|
enable?: boolean;
|
|
|
|
|
|
|
|
|
|
/** 角色ID */
|
|
|
|
|
id?: number;
|
|
|
|
|
|
|
|
|
|
/** 显示文本 */
|
|
|
|
|
label?: string;
|
|
|
|
|
|
|
|
|
|
/** 最后更新时间 */
|
|
|
|
|
lastModifyTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 最后更新者 */
|
|
|
|
|
lastModifyUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 角色名称 */
|
|
|
|
|
name?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class User {
|
|
|
|
|
/** 地址信息 */
|
|
|
|
|
address?: string;
|
|
|
|
|
|
|
|
|
|
/** authorities */
|
|
|
|
|
authorities?: Array<defs.GrantedAuthority>;
|
|
|
|
|
|
|
|
|
|
/** 创建时间 */
|
|
|
|
|
createTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 创建人 */
|
|
|
|
|
createUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 删除时间 */
|
|
|
|
|
deleteTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 删除者 */
|
|
|
|
|
deleteUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 是否启用 1:启用 0:禁用 */
|
|
|
|
|
enable?: boolean;
|
|
|
|
|
|
|
|
|
|
/** enabled */
|
|
|
|
|
enabled?: boolean;
|
|
|
|
|
|
|
|
|
|
/** 用户真实名 */
|
|
|
|
|
fullName?: string;
|
|
|
|
|
|
|
|
|
|
/** 用户id */
|
|
|
|
|
id?: number;
|
|
|
|
|
|
|
|
|
|
/** 最后更新时间 */
|
|
|
|
|
lastModifyTime?: string;
|
|
|
|
|
|
|
|
|
|
/** 最后更新者 */
|
|
|
|
|
lastModifyUserId?: number;
|
|
|
|
|
|
|
|
|
|
/** 用户密码 */
|
|
|
|
|
password?: string;
|
|
|
|
|
|
|
|
|
|
/** 手机号 */
|
|
|
|
|
phone?: string;
|
|
|
|
|
|
|
|
|
|
/** 角色列表 */
|
|
|
|
|
roles?: Array<defs.Role>;
|
|
|
|
|
|
|
|
|
|
/** 所属单位 */
|
|
|
|
|
unitId?: number;
|
|
|
|
|
|
|
|
|
|
/** 用户名 */
|
|
|
|
|
username?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class UserInfoVO {
|
|
|
|
|
/** 地址信息 */
|
|
|
|
|
address?: string;
|
|
|
|
|
|
|
|
|
|
/** 是否启用 */
|
|
|
|
|
enable?: boolean;
|
|
|
|
|
|
|
|
|
|
/** 用户真实名 */
|
|
|
|
|
fullName?: string;
|
|
|
|
|
|
|
|
|
|
/** 用户id */
|
|
|
|
|
id?: number;
|
|
|
|
|
|
|
|
|
|
/** 登录方式 */
|
|
|
|
|
loginType?: string;
|
|
|
|
|
|
|
|
|
|
/** 手机号 */
|
|
|
|
|
phone?: string;
|
|
|
|
|
|
|
|
|
|
/** 角色列表 */
|
|
|
|
|
roles?: Array<defs.Role>;
|
|
|
|
|
|
|
|
|
|
/** 所属单位 */
|
|
|
|
|
unitId?: number;
|
|
|
|
|
|
|
|
|
|
/** 用户名 */
|
|
|
|
|
username?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class UserQuery {
|
|
|
|
|
/** 姓名 */
|
|
|
|
|
name?: string;
|
|
|
|
|
|
|
|
|
|
/** 手机号 */
|
|
|
|
|
phone?: string;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
declare namespace API {
|
|
|
|
|
/**
|
|
|
|
|
* Auth Controller
|
|
|
|
|
*/
|
|
|
|
|
export namespace auth {
|
|
|
|
|
/**
|
|
|
|
|
* 注销登录
|
|
|
|
|
* /api/auth/logout
|
|
|
|
|
*/
|
|
|
|
|
export namespace logout {
|
|
|
|
|
export type ResponseType = Promise<defs.ResultVO<ObjectMap>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 验证码
|
|
|
|
|
*/
|
|
|
|
|
export namespace captcha {
|
|
|
|
|
/**
|
|
|
|
|
* getCaptcha
|
|
|
|
|
* /api/captcha.jpg
|
|
|
|
|
*/
|
|
|
|
|
export namespace getCaptcha {
|
|
|
|
|
export type ResponseType = Promise<any>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Menu Controller
|
|
|
|
|
*/
|
|
|
|
|
export namespace menu {
|
|
|
|
|
/**
|
|
|
|
|
* 添加菜单
|
|
|
|
|
* /api/menu/add
|
|
|
|
|
*/
|
|
|
|
|
export namespace addMenu {
|
|
|
|
|
export type ResponseType = Promise<defs.ResultVO<defs.Menu>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(
|
|
|
|
|
bodyParams: defs.Menu,
|
|
|
|
|
options?: any,
|
|
|
|
|
): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除菜单
|
|
|
|
|
* /api/menu/delete
|
|
|
|
|
*/
|
|
|
|
|
export namespace deleteMenu {
|
|
|
|
|
class Params {
|
|
|
|
|
/** id */
|
|
|
|
|
id: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<defs.ResultVO<defs.Menu>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取菜单详情
|
|
|
|
|
* /api/menu/detail
|
|
|
|
|
*/
|
|
|
|
|
export namespace getMenuDetail {
|
|
|
|
|
class Params {
|
|
|
|
|
/** id */
|
|
|
|
|
id: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<defs.ResultVO<defs.Menu>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取指定角色能够访问的菜单ID列表
|
|
|
|
|
* /api/menu/ids/role
|
|
|
|
|
*/
|
|
|
|
|
export namespace getRoleMenuIds {
|
|
|
|
|
class Params {
|
|
|
|
|
/** roleId */
|
|
|
|
|
roleId?: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<defs.ResultVO<Array<number>>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取菜单列表
|
|
|
|
|
* /api/menu/list
|
|
|
|
|
*/
|
|
|
|
|
export namespace getMenuList {
|
|
|
|
|
class Params {
|
|
|
|
|
/** current */
|
|
|
|
|
current?: number;
|
|
|
|
|
/** pageSize */
|
|
|
|
|
pageSize?: number;
|
|
|
|
|
/** sorter */
|
|
|
|
|
sorter?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<
|
|
|
|
|
defs.ResultVO<defs.ListResultVO<defs.Menu>>
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改菜单
|
|
|
|
|
* /api/menu/modify
|
|
|
|
|
*/
|
|
|
|
|
export namespace modifyMenu {
|
|
|
|
|
export type ResponseType = Promise<defs.ResultVO<defs.Menu>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(
|
|
|
|
|
bodyParams: defs.Menu,
|
|
|
|
|
options?: any,
|
|
|
|
|
): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 重置菜单元信息
|
|
|
|
|
* /api/menu/reset
|
|
|
|
|
*/
|
|
|
|
|
export namespace resetMenuMeta {
|
|
|
|
|
export type ResponseType = Promise<object>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(
|
|
|
|
|
bodyParams: defs.ResetMenuDTO,
|
|
|
|
|
options?: any,
|
|
|
|
|
): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取菜单树
|
|
|
|
|
* /api/menu/tree
|
|
|
|
|
*/
|
|
|
|
|
export namespace getMenuTree {
|
|
|
|
|
export type ResponseType = Promise<defs.ResultVO<Array<defs.Menu>>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取当前用户可访问的菜单列表
|
|
|
|
|
* /api/menu/user/authority
|
|
|
|
|
*/
|
|
|
|
|
export namespace getCurrentUserMenuAuthority {
|
|
|
|
|
export type ResponseType = Promise<defs.ResultVO<Array<string>>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取当前用户可访问的菜单列表
|
|
|
|
|
* /api/menu/user/current
|
|
|
|
|
*/
|
|
|
|
|
export namespace getCurrentUserMenuTree {
|
|
|
|
|
export type ResponseType = Promise<defs.ResultVO<Array<defs.Menu>>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取指定用户可访问的菜单列表
|
|
|
|
|
* /api/menu/user/{userId}
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserMenuList {
|
|
|
|
|
class PathParams {
|
|
|
|
|
/** userId */
|
|
|
|
|
userId: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<
|
|
|
|
|
defs.ResultVO<defs.ListResultVO<defs.Menu>>
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(
|
|
|
|
|
pathParams: PathParams,
|
|
|
|
|
options?: any,
|
|
|
|
|
): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Project Controller
|
|
|
|
|
*/
|
|
|
|
|
export namespace project {
|
|
|
|
|
/**
|
|
|
|
|
* 保存project数据
|
|
|
|
|
* /api/project
|
|
|
|
|
*/
|
|
|
|
|
export namespace saveProject {
|
|
|
|
|
export type ResponseType = Promise<defs.ProjectEntityObject>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(
|
|
|
|
|
bodyParams: defs.ProjectEntityObject,
|
|
|
|
|
options?: any,
|
|
|
|
|
): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Test Controller
|
|
|
|
|
*/
|
|
|
|
|
export namespace test {
|
|
|
|
|
/**
|
|
|
|
|
* get传参,简单类型,requestParam注解
|
|
|
|
|
* /test/user/detail
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserInfo {
|
|
|
|
|
class Params {
|
|
|
|
|
/** name */
|
|
|
|
|
name: string;
|
|
|
|
|
/** phone */
|
|
|
|
|
phone?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<defs.ResponseEntity>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* post传参,简单类型,requestParam注解
|
|
|
|
|
* /test/user/detail00
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserInfo00 {
|
|
|
|
|
class Params {
|
|
|
|
|
/** name */
|
|
|
|
|
name: string;
|
|
|
|
|
/** param */
|
|
|
|
|
param?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<defs.ResponseEntity>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* get方法传参,类接收,无注解
|
|
|
|
|
* /test/user/detail1
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserInfo1 {
|
|
|
|
|
class Params {
|
|
|
|
|
/** 姓名 */
|
|
|
|
|
name?: string;
|
|
|
|
|
/** 手机号 */
|
|
|
|
|
phone?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<defs.UserInfoVO>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* post方法传参,类接收,无注解
|
|
|
|
|
* /test/user/detail11
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserInfo11 {
|
|
|
|
|
class Params {
|
|
|
|
|
/** 姓名 */
|
|
|
|
|
name?: string;
|
|
|
|
|
/** 手机号 */
|
|
|
|
|
phone?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<defs.UserInfoVO>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* get方法传参,类接收,requestparam注解
|
|
|
|
|
* /test/user/detail2
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserInfo2 {
|
|
|
|
|
class Params {
|
|
|
|
|
/** param */
|
|
|
|
|
param: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<defs.UserInfoVO>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* post方法传参,类接收,requestparam注解
|
|
|
|
|
* /test/user/detail22
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserInfo22 {
|
|
|
|
|
class Params {
|
|
|
|
|
/** param */
|
|
|
|
|
param: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<defs.UserInfoVO>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* get方法传参,类接收,requestbody注解
|
|
|
|
|
* /test/user/detail3
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserInfo3 {
|
|
|
|
|
export type ResponseType = Promise<defs.UserInfoVO>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(
|
|
|
|
|
bodyParams: defs.UserQuery,
|
|
|
|
|
options?: any,
|
|
|
|
|
): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* post方法传参,类接收,requestbody注解
|
|
|
|
|
* /test/user/detail4
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserInfo4 {
|
|
|
|
|
export type ResponseType = Promise<defs.UserInfoVO>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(
|
|
|
|
|
bodyParams: defs.UserQuery,
|
|
|
|
|
options?: any,
|
|
|
|
|
): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* post方法传参,类接收,requestbody注解
|
|
|
|
|
* /test/user/detail5
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserInfo5 {
|
|
|
|
|
export type ResponseType = Promise<defs.ListResultVO<defs.MajorCategory>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(
|
|
|
|
|
bodyParams: defs.MajorCategory,
|
|
|
|
|
options?: any,
|
|
|
|
|
): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* post方法传参,类接收,requestbody注解
|
|
|
|
|
* /test/user/detailResource
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserInfoResource {
|
|
|
|
|
export type ResponseType = Promise<defs.ResultVO<defs.Resource>>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(
|
|
|
|
|
bodyParams: defs.Resource,
|
|
|
|
|
options?: any,
|
|
|
|
|
): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 用户管理
|
|
|
|
|
*/
|
|
|
|
|
export namespace user {
|
|
|
|
|
/**
|
|
|
|
|
* 获取当前用户信息
|
|
|
|
|
* /api/user/current
|
|
|
|
|
*/
|
|
|
|
|
export namespace getCurrentUser {
|
|
|
|
|
export type ResponseType = Promise<object>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取用户列表
|
|
|
|
|
* /api/user/list
|
|
|
|
|
*/
|
|
|
|
|
export namespace getUserList {
|
|
|
|
|
class Params {
|
|
|
|
|
/** 姓名 */
|
|
|
|
|
name?: string;
|
|
|
|
|
/** 手机号 */
|
|
|
|
|
phone?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ResponseType = Promise<
|
|
|
|
|
defs.ResultVO<defs.ListResultVO<defs.User>>
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
export const URL: string;
|
|
|
|
|
|
|
|
|
|
export function request(params: Params, options?: any): ResponseType;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|