|
@@ -1,48 +1,17 @@
|
|
|
declare namespace SectApi {
|
|
|
- type AuthTicketQuery = {
|
|
|
- /** 登录类型 */
|
|
|
- loginType?: 'qq' | 'weiBo' | 'mobile' | 'weChat';
|
|
|
- /** 客户端类型 */
|
|
|
- clientType: 'app';
|
|
|
- };
|
|
|
-
|
|
|
- type AuthTicketVO = {
|
|
|
- /** ticket,用于后续 Token 登录 */
|
|
|
- ticket?: string;
|
|
|
- /** 社交ID */
|
|
|
- socialId?: string;
|
|
|
- /** 社交类型 */
|
|
|
- socialType?: string;
|
|
|
- /** 名称 */
|
|
|
- nickname?: string;
|
|
|
- /** 头像-缩略图 */
|
|
|
- avatarThumbnail?: string;
|
|
|
- /** 头像-原图 */
|
|
|
- avatarOriginal?: string;
|
|
|
- /** 是否绑定手机号 */
|
|
|
- hasBindMobile?: boolean;
|
|
|
+ type ClientsLoginQuery = {
|
|
|
+ clientType?: string;
|
|
|
+ loginType?: string;
|
|
|
+ /** 手机号 */
|
|
|
+ mobile: string;
|
|
|
+ /** 验证码 */
|
|
|
+ code: string;
|
|
|
};
|
|
|
|
|
|
- type AuthTokenInfoVO = {
|
|
|
+ type ClientsTokenVO = {
|
|
|
/** token */
|
|
|
token?: string;
|
|
|
- /** 手机号 */
|
|
|
- mobile?: string;
|
|
|
- /** 名称 */
|
|
|
- nickname?: string;
|
|
|
- /** 头像-缩略图 */
|
|
|
- avatarThumbnail?: string;
|
|
|
- /** 头像-原图 */
|
|
|
- avatarOriginal?: string;
|
|
|
- };
|
|
|
-
|
|
|
- type AuthTokenQuery = {
|
|
|
- /** 登录类型 */
|
|
|
- loginType: 'qq' | 'weiBo' | 'mobile' | 'weChat';
|
|
|
- /** 客户端类型 */
|
|
|
- clientType: 'app';
|
|
|
- /** 通过 getTicket 获取的 ticket */
|
|
|
- ticket?: string;
|
|
|
+ user?: UserVO;
|
|
|
};
|
|
|
|
|
|
type Config = {
|
|
@@ -80,10 +49,26 @@ declare namespace SectApi {
|
|
|
permission?: number;
|
|
|
};
|
|
|
|
|
|
+ type deleteFactionLevelRemoveApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
type deleteMenuRemoveApiParams = {
|
|
|
id: number;
|
|
|
};
|
|
|
|
|
|
+ type deletePeakLevelRemoveApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type deletePeakRemoveApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type deletePeakStageRemoveApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
type deleteRoleRemoveApiParams = {
|
|
|
id: number;
|
|
|
};
|
|
@@ -92,18 +77,91 @@ declare namespace SectApi {
|
|
|
id: number;
|
|
|
};
|
|
|
|
|
|
+ type deleteUserLevelRemoveApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
type deleteUserRemoveApiParams = {
|
|
|
id: number;
|
|
|
};
|
|
|
|
|
|
+ type FactionLevelPageQuery = {
|
|
|
+ cursor?: string;
|
|
|
+ direction?: string;
|
|
|
+ current?: number;
|
|
|
+ size?: number;
|
|
|
+ sorted?: string;
|
|
|
+ sortColumn?: string;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ asc?: boolean;
|
|
|
+ desc?: boolean;
|
|
|
+ };
|
|
|
+
|
|
|
+ type FactionLevelSaveQuery = {
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type FactionLevelVO = {
|
|
|
+ /** 创建时间 */
|
|
|
+ createTime?: string;
|
|
|
+ /** 更新时间 */
|
|
|
+ updateTime?: string;
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ };
|
|
|
+
|
|
|
type getConfigGetApiParams = {
|
|
|
code: string;
|
|
|
};
|
|
|
|
|
|
+ type getFactionLevelDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type getFactionLevelDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
type getMenuDetailsApiParams = {
|
|
|
id: number;
|
|
|
};
|
|
|
|
|
|
+ type getPeakDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type getPeakDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type getPeakLevelDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type getPeakLevelDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type getPeakStageDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type getPeakStageDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
type getRoleDetailsApiParams = {
|
|
|
id: number;
|
|
|
};
|
|
@@ -116,36 +174,92 @@ declare namespace SectApi {
|
|
|
id: number;
|
|
|
};
|
|
|
|
|
|
+ type getUserDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type getUserLevelDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type getUserLevelDetailsApiParams = {
|
|
|
+ id: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type getUserSignIsSignApiParams = {
|
|
|
+ day?: number;
|
|
|
+ };
|
|
|
+
|
|
|
type IPageConfigVO = {
|
|
|
size?: number;
|
|
|
records?: ConfigVO[];
|
|
|
current?: number;
|
|
|
+ pages?: number;
|
|
|
+ total?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type IPageFactionLevelVO = {
|
|
|
+ size?: number;
|
|
|
+ records?: FactionLevelVO[];
|
|
|
+ current?: number;
|
|
|
+ pages?: number;
|
|
|
+ total?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type IPagePeakLevelVO = {
|
|
|
+ size?: number;
|
|
|
+ records?: PeakLevelVO[];
|
|
|
+ current?: number;
|
|
|
+ pages?: number;
|
|
|
+ total?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type IPagePeakStageVO = {
|
|
|
+ size?: number;
|
|
|
+ records?: PeakStageVO[];
|
|
|
+ current?: number;
|
|
|
+ pages?: number;
|
|
|
total?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type IPagePeakVO = {
|
|
|
+ size?: number;
|
|
|
+ records?: PeakVO[];
|
|
|
+ current?: number;
|
|
|
pages?: number;
|
|
|
+ total?: number;
|
|
|
};
|
|
|
|
|
|
type IPageRoleVO = {
|
|
|
size?: number;
|
|
|
records?: RoleVO[];
|
|
|
current?: number;
|
|
|
- total?: number;
|
|
|
pages?: number;
|
|
|
+ total?: number;
|
|
|
};
|
|
|
|
|
|
type IPageStaffVO = {
|
|
|
size?: number;
|
|
|
records?: StaffVO[];
|
|
|
current?: number;
|
|
|
+ pages?: number;
|
|
|
total?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type IPageUserLevelVO = {
|
|
|
+ size?: number;
|
|
|
+ records?: UserLevelVO[];
|
|
|
+ current?: number;
|
|
|
pages?: number;
|
|
|
+ total?: number;
|
|
|
};
|
|
|
|
|
|
type IPageUserVO = {
|
|
|
size?: number;
|
|
|
records?: UserVO[];
|
|
|
current?: number;
|
|
|
- total?: number;
|
|
|
pages?: number;
|
|
|
+ total?: number;
|
|
|
};
|
|
|
|
|
|
type MenuSaveQuery = {
|
|
@@ -219,16 +333,118 @@ declare namespace SectApi {
|
|
|
children?: MenuVO[];
|
|
|
};
|
|
|
|
|
|
- type Mobile =
|
|
|
- // #/components/schemas/AuthTicketQuery
|
|
|
- AuthTicketQuery & {
|
|
|
- /** 手机号 */
|
|
|
- mobile?: string;
|
|
|
- /** 验证码 */
|
|
|
- code?: string;
|
|
|
- /** 社交票据 */
|
|
|
- socialTicket?: string;
|
|
|
- };
|
|
|
+ type PeakLevelPageQuery = {
|
|
|
+ cursor?: string;
|
|
|
+ direction?: string;
|
|
|
+ current?: number;
|
|
|
+ size?: number;
|
|
|
+ sorted?: string;
|
|
|
+ sortColumn?: string;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ asc?: boolean;
|
|
|
+ desc?: boolean;
|
|
|
+ };
|
|
|
+
|
|
|
+ type PeakLevelSaveQuery = {
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type PeakLevelVO = {
|
|
|
+ /** 创建时间 */
|
|
|
+ createTime?: string;
|
|
|
+ /** 更新时间 */
|
|
|
+ updateTime?: string;
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type PeakPageQuery = {
|
|
|
+ cursor?: string;
|
|
|
+ direction?: string;
|
|
|
+ current?: number;
|
|
|
+ size?: number;
|
|
|
+ sorted?: string;
|
|
|
+ sortColumn?: string;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ asc?: boolean;
|
|
|
+ desc?: boolean;
|
|
|
+ };
|
|
|
+
|
|
|
+ type PeakSaveQuery = {
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ };
|
|
|
+
|
|
|
+ type PeakStagePageQuery = {
|
|
|
+ cursor?: string;
|
|
|
+ direction?: string;
|
|
|
+ current?: number;
|
|
|
+ size?: number;
|
|
|
+ sorted?: string;
|
|
|
+ sortColumn?: string;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ /** 经验值-最小 */
|
|
|
+ expMin?: number;
|
|
|
+ /** 经验值-最大 */
|
|
|
+ expMax?: number;
|
|
|
+ asc?: boolean;
|
|
|
+ desc?: boolean;
|
|
|
+ };
|
|
|
+
|
|
|
+ type PeakStageSaveQuery = {
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ /** 经验值 */
|
|
|
+ exp?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type PeakStageVO = {
|
|
|
+ /** 创建时间 */
|
|
|
+ createTime?: string;
|
|
|
+ /** 更新时间 */
|
|
|
+ updateTime?: string;
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ /** 经验值 */
|
|
|
+ exp?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type PeakVO = {
|
|
|
+ /** 创建时间 */
|
|
|
+ createTime?: string;
|
|
|
+ /** 更新时间 */
|
|
|
+ updateTime?: string;
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ };
|
|
|
|
|
|
type postConfigListPrefixApiParams = {
|
|
|
prefix: string;
|
|
@@ -238,13 +454,6 @@ declare namespace SectApi {
|
|
|
prefix: string;
|
|
|
};
|
|
|
|
|
|
- type Qq =
|
|
|
- // #/components/schemas/AuthTicketQuery
|
|
|
- AuthTicketQuery & {
|
|
|
- /** accessToken */
|
|
|
- accessToken?: string;
|
|
|
- };
|
|
|
-
|
|
|
type RolePageQuery = {
|
|
|
cursor?: string;
|
|
|
direction?: string;
|
|
@@ -353,6 +562,43 @@ declare namespace SectApi {
|
|
|
content?: string;
|
|
|
};
|
|
|
|
|
|
+ type UserLevelPageQuery = {
|
|
|
+ cursor?: string;
|
|
|
+ direction?: string;
|
|
|
+ current?: number;
|
|
|
+ size?: number;
|
|
|
+ sorted?: string;
|
|
|
+ sortColumn?: string;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ asc?: boolean;
|
|
|
+ desc?: boolean;
|
|
|
+ };
|
|
|
+
|
|
|
+ type UserLevelSaveQuery = {
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ };
|
|
|
+
|
|
|
+ type UserLevelVO = {
|
|
|
+ /** 创建时间 */
|
|
|
+ createTime?: string;
|
|
|
+ /** 更新时间 */
|
|
|
+ updateTime?: string;
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 等级 */
|
|
|
+ level?: number;
|
|
|
+ };
|
|
|
+
|
|
|
type UserPageQuery = {
|
|
|
cursor?: string;
|
|
|
direction?: string;
|
|
@@ -360,33 +606,94 @@ declare namespace SectApi {
|
|
|
size?: number;
|
|
|
sorted?: string;
|
|
|
sortColumn?: string;
|
|
|
+ /** 所属峰 */
|
|
|
+ peakId?: number;
|
|
|
+ /** 用户名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 头像 */
|
|
|
+ avatar?: string;
|
|
|
+ /** 手机号 */
|
|
|
+ mobile?: string;
|
|
|
+ /** 用户名 */
|
|
|
+ nickname?: string;
|
|
|
+ /** 会员等级 */
|
|
|
+ userLevel?: number;
|
|
|
+ /** 宗门等级 */
|
|
|
+ factionLevel?: number;
|
|
|
+ /** 紫币-最小值 */
|
|
|
+ purpleCoinMin?: number;
|
|
|
+ /** 紫币-最大值 */
|
|
|
+ purpleCoinMax?: number;
|
|
|
+ /** 紫晶-最小值 */
|
|
|
+ purpleSparMin?: number;
|
|
|
+ /** 紫晶-最大值 */
|
|
|
+ purpleSparMax?: number;
|
|
|
+ /** 状态 */
|
|
|
+ status?: number;
|
|
|
asc?: boolean;
|
|
|
desc?: boolean;
|
|
|
};
|
|
|
|
|
|
+ type UserPwdEditQuery = {
|
|
|
+ /** 旧密码,若未设置过则为空 */
|
|
|
+ oldPwd?: string;
|
|
|
+ /** 新密码 */
|
|
|
+ newPwd?: string;
|
|
|
+ };
|
|
|
+
|
|
|
+ type UserSaveQuery = {
|
|
|
+ /** 自增 ID */
|
|
|
+ id?: number;
|
|
|
+ /** 所属峰 */
|
|
|
+ peakId?: number;
|
|
|
+ /** 用户名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 头像 */
|
|
|
+ avatar?: string;
|
|
|
+ /** 手机号 */
|
|
|
+ mobile?: string;
|
|
|
+ /** 用户名 */
|
|
|
+ nickname?: string;
|
|
|
+ /** 会员等级 */
|
|
|
+ userLevel?: number;
|
|
|
+ /** 宗门等级 */
|
|
|
+ factionLevel?: number;
|
|
|
+ /** 紫币 */
|
|
|
+ purpleCoin?: number;
|
|
|
+ /** 紫晶 */
|
|
|
+ purpleSpar?: number;
|
|
|
+ /** 状态 */
|
|
|
+ status?: number;
|
|
|
+ };
|
|
|
+
|
|
|
type UserVO = {
|
|
|
/** 创建时间 */
|
|
|
createTime?: string;
|
|
|
/** 更新时间 */
|
|
|
updateTime?: string;
|
|
|
- /** 用户ID */
|
|
|
+ /** 自增 ID */
|
|
|
id?: number;
|
|
|
+ /** 所属峰 */
|
|
|
+ peakId?: number;
|
|
|
+ /** 用户名称 */
|
|
|
+ name?: string;
|
|
|
+ /** 头像 */
|
|
|
+ avatar?: string;
|
|
|
/** 手机号 */
|
|
|
mobile?: string;
|
|
|
/** 用户名 */
|
|
|
nickname?: string;
|
|
|
- /** 头像-缩略图 */
|
|
|
- avatarThumbnail?: string;
|
|
|
- /** 头像-原图 */
|
|
|
- avatarOriginal?: string;
|
|
|
- };
|
|
|
-
|
|
|
- type WeiBo =
|
|
|
- // #/components/schemas/AuthTicketQuery
|
|
|
- AuthTicketQuery & {
|
|
|
- /** accessToken */
|
|
|
- accessToken?: string;
|
|
|
- /** refreshToken */
|
|
|
- refreshToken?: string;
|
|
|
- };
|
|
|
+ /** 会员等级 */
|
|
|
+ userLevel?: number;
|
|
|
+ /** 宗门等级 */
|
|
|
+ factionLevel?: number;
|
|
|
+ /** 紫币 */
|
|
|
+ purpleCoin?: number;
|
|
|
+ /** 紫晶 */
|
|
|
+ purpleSpar?: number;
|
|
|
+ /** 状态 */
|
|
|
+ status?: 0 | 1;
|
|
|
+ /** 是否设置了密码 */
|
|
|
+ hasPwd?: boolean;
|
|
|
+ };
|
|
|
}
|