|
@@ -14,7 +14,10 @@ import {
|
|
|
AuthLoginInput,
|
|
|
ResultOutputAuthGetPasswordEncryptKeyOutput,
|
|
|
ResultOutputAuthGetUserInfoOutput,
|
|
|
+ ResultOutputAuthGetUserPermissionsOutput,
|
|
|
+ ResultOutputAuthUserProfileDto,
|
|
|
ResultOutputCaptchaOutput,
|
|
|
+ ResultOutputListAuthUserMenuDto,
|
|
|
ResultOutputObject,
|
|
|
} from './data-contracts'
|
|
|
import { ContentType, HttpClient, RequestParams } from './http-client'
|
|
@@ -37,6 +40,57 @@ export class AuthApi<SecurityDataType = unknown> extends HttpClient<SecurityData
|
|
|
format: 'json',
|
|
|
...params,
|
|
|
})
|
|
|
+ /**
|
|
|
+ * No description
|
|
|
+ *
|
|
|
+ * @tags auth
|
|
|
+ * @name GetUserProfile
|
|
|
+ * @summary 查询用户个人信息
|
|
|
+ * @request GET:/api/admin/auth/get-user-profile
|
|
|
+ * @secure
|
|
|
+ */
|
|
|
+ getUserProfile = (params: RequestParams = {}) =>
|
|
|
+ this.request<ResultOutputAuthUserProfileDto, any>({
|
|
|
+ path: `/api/admin/auth/get-user-profile`,
|
|
|
+ method: 'GET',
|
|
|
+ secure: true,
|
|
|
+ format: 'json',
|
|
|
+ ...params,
|
|
|
+ })
|
|
|
+ /**
|
|
|
+ * No description
|
|
|
+ *
|
|
|
+ * @tags auth
|
|
|
+ * @name GetUserMenus
|
|
|
+ * @summary 查询用户菜单列表
|
|
|
+ * @request GET:/api/admin/auth/get-user-menus
|
|
|
+ * @secure
|
|
|
+ */
|
|
|
+ getUserMenus = (params: RequestParams = {}) =>
|
|
|
+ this.request<ResultOutputListAuthUserMenuDto, any>({
|
|
|
+ path: `/api/admin/auth/get-user-menus`,
|
|
|
+ method: 'GET',
|
|
|
+ secure: true,
|
|
|
+ format: 'json',
|
|
|
+ ...params,
|
|
|
+ })
|
|
|
+ /**
|
|
|
+ * No description
|
|
|
+ *
|
|
|
+ * @tags auth
|
|
|
+ * @name GetUserPermissions
|
|
|
+ * @summary 查询用户权限列表
|
|
|
+ * @request GET:/api/admin/auth/get-user-permissions
|
|
|
+ * @secure
|
|
|
+ */
|
|
|
+ getUserPermissions = (params: RequestParams = {}) =>
|
|
|
+ this.request<ResultOutputAuthGetUserPermissionsOutput, any>({
|
|
|
+ path: `/api/admin/auth/get-user-permissions`,
|
|
|
+ method: 'GET',
|
|
|
+ secure: true,
|
|
|
+ format: 'json',
|
|
|
+ ...params,
|
|
|
+ })
|
|
|
/**
|
|
|
* No description
|
|
|
*
|