From b9306ff4178b859a55915c948cdc1ef82b054796 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 01 八月 2025 17:35:13 +0800
Subject: [PATCH] fix: 修改底层
---
src/services/api/menu.ts | 39
.env.development | 2
config/openapi.json | 6
/dev/null | 66 -
src/services/api/index.ts | 46
src/services/api/typings.d.ts | 2481 ++++-------------------------------------------------
src/constants/apiEnum.ts | 44
src/services/api/auth.ts | 18
8 files changed, 324 insertions(+), 2,378 deletions(-)
diff --git a/.env.development b/.env.development
index e5b43b1..b4e0eb1 100644
--- a/.env.development
+++ b/.env.development
@@ -11,7 +11,7 @@
VITE_ROUTER_HISTORY = "h5"
# 寮�鍙戠幆澧冨悗绔湴鍧�
-VITE_PROXY_DOMAIN_REAL = "http://localhost:58190"
+VITE_PROXY_DOMAIN_REAL = "http://localhost:44340"
# VITE_PROXY_DOMAIN_REAL = "http://118.178.252.28:8752/"
diff --git a/config/openapi.json b/config/openapi.json
index 821b74c..5659300 100644
--- a/config/openapi.json
+++ b/config/openapi.json
@@ -2,8 +2,10 @@
"config": [
{
"requestLibPath": "import { request } from '@/utils/request'",
- "schemaPath": "http://localhost:58190/swagger/v1/swagger.json",
- "serversPath": "./src/services"
+ "schemaPath": "https://localhost:44340/swagger/Default/swagger.json",
+ "serversPath": "./src/services",
+ "enumStyle": "enum",
+ "enumFilePath": "../../constants/apiEnum.ts"
}
]
}
diff --git a/src/constants/apiEnum.ts b/src/constants/apiEnum.ts
new file mode 100644
index 0000000..2033a28
--- /dev/null
+++ b/src/constants/apiEnum.ts
@@ -0,0 +1,44 @@
+/* eslint-disable */
+// @ts-ignore
+
+/** 瀹㈡埛绔被鍨� */
+export enum EnumClientType {
+ /**鐢佃剳缃戦〉 */
+ PcWeb = 10,
+ /**寰俊灏忕▼搴� */
+ Wxmp = 20,
+}
+
+/** 鑿滃崟绫诲瀷 */
+export enum EnumMenuType {
+ /**鑿滃崟 */
+ Menu = 10,
+ /**椤甸潰 */
+ Page = 20,
+ /**妯℃�佹 */
+ Modal = 30,
+ /**鎸夐挳 */
+ Button = 40,
+ /**瀛楁 */
+ Field = 50,
+}
+
+/** 鏉冮檺璁块棶绾у埆 */
+export enum EnumMenuVisitLevel {
+ /**鎵�鏈変汉 */
+ Everyone = 10,
+ /**闇�瑕佺櫥褰� */
+ NeedLogin = 20,
+ /**闇�瑕佹潈闄� */
+ NeedPower = 30,
+}
+
+/** 鐢ㄦ埛绫诲瀷 */
+export enum EnumUserType {
+ /**涓汉 */
+ Personal = 10,
+ /**浼佷笟 */
+ Enterprise = 20,
+ /**杩愯惀 */
+ Operation = 100,
+}
diff --git a/src/services/api/AbpApiDefinition.ts b/src/services/api/AbpApiDefinition.ts
deleted file mode 100644
index db39f3b..0000000
--- a/src/services/api/AbpApiDefinition.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/abp/api-definition */
-export async function apiDefinition(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIapiDefinitionParams,
- options?: API.RequestConfig
-) {
- return request<API.ApplicationApiDescriptionModel>('/api/abp/api-definition', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
diff --git a/src/services/api/AbpApplicationConfiguration.ts b/src/services/api/AbpApplicationConfiguration.ts
deleted file mode 100644
index 85b59c7..0000000
--- a/src/services/api/AbpApplicationConfiguration.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/abp/application-configuration */
-export async function applicationConfiguration(options?: API.RequestConfig) {
- return request<API.ApplicationConfigurationDto>('/api/abp/application-configuration', {
- method: 'GET',
- ...(options || {}),
- });
-}
diff --git a/src/services/api/Account.ts b/src/services/api/Account.ts
deleted file mode 100644
index fe200c0..0000000
--- a/src/services/api/Account.ts
+++ /dev/null
@@ -1,483 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 鏍规嵁鎵嬫満鍙峰垽鏂敤鎴锋槸鍚﹀凡瀛樺湪 POST /api/Account/AnyUserByPhoneNumber */
-export async function anyUserByPhoneNumber(
- body: API.AnyUserByPhoneNumberInput,
- options?: API.RequestConfig
-) {
- return request<boolean>('/api/Account/AnyUserByPhoneNumber', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** C绔獙璇佺爜鐧诲綍 POST /api/Account/CClientPhoneMesssageCodeLogin */
-export async function cClientPhoneMesssageCodeLogin(
- body: API.PhoneMesssageCodeLoginInput,
- options?: API.RequestConfig
-) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/CClientPhoneMesssageCodeLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** C绔墜鏈哄彿楠岃瘉鐮佹敞鍐屾敞鍐� POST /api/Account/CClientPhoneMesssageCodeRegister */
-export async function cClientPhoneMesssageCodeRegister(
- body: API.PhoneMesssageCodeRegisterInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/CClientPhoneMesssageCodeRegister', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鐢ㄦ埛鏍规嵁褰撳墠瀵嗙爜淇敼瀵嗙爜 POST /api/Account/ChangePasswordFromCurrentPwd */
-export async function changePasswordFromCurrentPwd(
- body: API.ChangePasswordFromCurrentPwdInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ChangePasswordFromCurrentPwd', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鐢ㄦ埛鏍规嵁鎵嬫満鍙蜂慨鏀瑰瘑鐮侀獙璇佺爜 POST /api/Account/ChangePasswordFromPhoneNumber */
-export async function changePasswordFromPhoneNumber(
- body: API.ChangePasswordFromPhoneNumberInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ChangePasswordFromPhoneNumber', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏈櫥褰曚笅鏍规嵁鎵嬫満鍙蜂慨鏀瑰瘑鐮侀獙璇佺爜(蹇樿瀵嗙爜) POST /api/Account/ChangePasswordWithNoLogin */
-export async function changePasswordWithNoLogin(
- body: API.ChangePasswordFromPhoneNumberInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ChangePasswordWithNoLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 淇敼璐﹀彿 POST /api/Account/ChangeUserName */
-export async function changeUserName(body: API.ChangeUserNameInput, options?: API.RequestConfig) {
- return request<number>('/api/Account/ChangeUserName', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 绠$悊鍛樻洿鏀圭敤鎴风櫥褰曟墜鏈哄彿 POST /api/Account/ChangeUserPhoneNumberForAdmin */
-export async function changeUserPhoneNumberForAdmin(
- body: API.ChangePhoneNumberInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ChangeUserPhoneNumberForAdmin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鐢ㄦ埛鏇存敼鐧诲綍鎵嬫満鍙� POST /api/Account/ChangeUserPhoneNumberForUser */
-export async function changeUserPhoneNumberForUser(
- body: API.ChangeUserPhoneNumberForUserInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ChangeUserPhoneNumberForUser', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鐢熸垚璐﹀彿 POST /api/Account/GenerateUserName */
-export async function generateUserName(
- body: API.GenerateUserNameInput,
- options?: API.RequestConfig
-) {
- return request<string>('/api/Account/GenerateUserName', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Account/GetOssSTS */
-export async function getOssSTS(options?: API.RequestConfig) {
- return request<API.OssSTSReponse>('/api/Account/GetOssSTS', {
- method: 'POST',
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鎵爜鐧诲綍浜岀淮鐮佷俊鎭� GET /api/Account/GetQrCodeForLogin */
-export async function getQrCodeForLogin(options?: API.RequestConfig) {
- return request<API.QrCodeLogin>('/api/Account/GetQrCodeForLogin', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鎵爜鐧诲綍缁撴灉 GET /api/Account/GetQrCodeLoginResult */
-export async function getQrCodeLoginResult(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetQrCodeLoginResultParams,
- options?: API.RequestConfig
-) {
- return request<API.WxMiniAppLoginInfo>('/api/Account/GetQrCodeLoginResult', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鐢靛瓙绛剧櫥褰� POST /api/Account/GetTokenForUserSign */
-export async function getTokenForUserSign(body: API.AccessRequestDto, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForUserSign', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Account/GetTokenForWeb */
-export async function getTokenForWeb(body: API.AccessRequestDto, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForWeb', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇寰俊灏忕▼搴忕敤鎴疯韩浠戒細璇濅俊鎭� GET /api/Account/GetWxIndentity */
-export async function getWxIndentity(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetWxIndentityParams,
- options?: API.RequestConfig
-) {
- return request<API.WxMiniAppIndentityInfo>('/api/Account/GetWxIndentity', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鍒ゆ柇鐢ㄦ埛鎵嬫満鍙锋槸鍚﹂噸澶� GET /api/Account/IsRepeatByPhoneNumber */
-export async function isRepeatByPhoneNumber(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIisRepeatByPhoneNumberParams,
- options?: API.RequestConfig
-) {
- return request<boolean>('/api/Account/IsRepeatByPhoneNumber', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 瀵嗙爜鐧诲綍 POST /api/Account/PasswordLogin */
-export async function passwordLogin(body: API.PasswordLoginInput, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/PasswordLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 楠岃瘉鐮佺櫥褰� POST /api/Account/PhoneMesssageCodeLogin */
-export async function phoneMesssageCodeLogin(
- body: API.PhoneMesssageCodeLoginInput,
- options?: API.RequestConfig
-) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/PhoneMesssageCodeLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鎵嬫満鍙烽獙璇佺爜娉ㄥ唽娉ㄥ唽 POST /api/Account/PhoneMesssageCodeRegister */
-export async function phoneMesssageCodeRegister(
- body: API.PhoneMesssageCodeRegisterInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/PhoneMesssageCodeRegister', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 閲嶇疆瀵嗙爜骞跺彂閫佹墜鏈洪�氱煡鏂板瘑鐮� POST /api/Account/ResetPasswordWithMicroNotify */
-export async function resetPasswordWithMicroNotify(
- body: API.ResetPasswordBaseInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ResetPasswordWithMicroNotify', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鍙戦�佺櫥褰曟敞鍐岀煭淇¢獙璇佺爜 POST /api/Account/SendPhoneMesssageCode */
-export async function sendPhoneMesssageCode(
- body: API.SendPhoneMesssageCodeInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/SendPhoneMesssageCode', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 瑙g粦鐢ㄦ埛鎵嬫満鍙� POST /api/Account/UnbindingUserPhoneNumber */
-export async function unbindingUserPhoneNumber(
- body: API.UnbindingUserPhoneNumber,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/UnbindingUserPhoneNumber', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 璇嗗埆钀ヤ笟鎵х収 GET /api/Account/VatLicense */
-export async function vatLicense(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIvatLicenseParams,
- options?: API.RequestConfig
-) {
- return request<API.LicenseOcrModel>('/api/Account/VatLicense', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 灏忕▼搴忔墜鏈烘巿鏉冩敞鍐岀櫥褰� POST /api/Account/WxMiniAppPhoneAuthLogin */
-export async function wxMiniAppPhoneAuthLogin(
- body: API.WxMiniAppPhoneLoginInput,
- options?: API.RequestConfig
-) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppPhoneAuthLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 灏忕▼搴忔壂鐮佹墜鏈烘巿鏉冩敞鍐岀櫥褰� POST /api/Account/WxMiniAppPhoneAuthLoginFromScan */
-export async function wxMiniAppPhoneAuthLoginFromScan(
- body: API.WxMiniAppPhoneAuthLoginFromScanInput,
- options?: API.RequestConfig
-) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppPhoneAuthLoginFromScan', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 宸叉湁灏忕▼搴忕敤鎴风‘璁ょ櫥褰� GET /api/Account/WxMiniAppUserLogin */
-export async function wxMiniAppUserLogin(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIwxMiniAppUserLoginParams,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Account/WxMiniAppUserLogin', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 宸叉湁灏忕▼搴忕敤鎴锋壂鐮佺‘璁ょ櫥褰� POST /api/Account/WxMiniAppUserLoginFromScan */
-export async function wxMiniAppUserLoginFromScan(
- body: API.WxMiniAppUserLoginFromScanInput,
- options?: API.RequestConfig
-) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppUserLoginFromScan', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/accountAuth/GetCode */
-export async function getCode(options?: API.RequestConfig) {
- return request<any>('/api/accountAuth/GetCode', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/GetPhoneToken */
-export async function getPhoneToken(body: API.PhoneToken, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/accountAuth/GetPhoneToken', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/GetToken */
-export async function getToken(body: API.AccessRequestDto, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/accountAuth/GetToken', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/GetTokenByRefreshToken */
-export async function getTokenByRefreshToken(
- body: API.AccessRefreshToken,
- options?: API.RequestConfig
-) {
- return request<API.IdentityModelTokenCacheItem>('/api/accountAuth/GetTokenByRefreshToken', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/Register */
-export async function register(body: API.RegisterDto, options?: API.RequestConfig) {
- return request<API.IdentityUserDto>('/api/accountAuth/Register', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/ResetPassword */
-export async function resetPassword(body: API.ResetPasswordDto, options?: API.RequestConfig) {
- return request<any>('/api/accountAuth/ResetPassword', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/accountAuth/SendPasswordResetCode */
-export async function sendPasswordResetCode(
- body: API.SendPasswordResetCodeDto,
- options?: API.RequestConfig
-) {
- return request<any>('/api/accountAuth/SendPasswordResetCode', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/BaseModule.ts b/src/services/api/BaseModule.ts
deleted file mode 100644
index 0c3ff89..0000000
--- a/src/services/api/BaseModule.ts
+++ /dev/null
@@ -1,326 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddAuthorizeModule */
-export async function addAuthorizeModule(
- body: API.BaseAuthorizeInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/BaseModule/AddAuthorizeModule', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddModuleColumnList */
-export async function addModuleColumnList(
- body: API.ModuleColumnDto[],
- options?: API.RequestConfig
-) {
- return request<number>('/api/BaseModule/AddModuleColumnList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddOrEditModule */
-export async function addOrEditModule(body: API.ModuleDto, options?: API.RequestConfig) {
- return request<string>('/api/BaseModule/AddOrEditModule', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddOrEditModuleButton */
-export async function addOrEditModuleButton(
- body: API.ModuleButtonDto,
- options?: API.RequestConfig
-) {
- return request<string>('/api/BaseModule/AddOrEditModuleButton', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddOrEditModuleColumn */
-export async function addOrEditModuleColumn(
- body: API.ModuleColumnDto,
- options?: API.RequestConfig
-) {
- return request<string>('/api/BaseModule/AddOrEditModuleColumn', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/AddOrEditModuleStatus */
-export async function addOrEditModuleStatus(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIaddOrEditModuleStatusParams,
- options?: API.RequestConfig
-) {
- return request<string>('/api/BaseModule/AddOrEditModuleStatus', {
- method: 'POST',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/ChangeSort */
-export async function changeSort(body: API.ChangeSortInput, options?: API.RequestConfig) {
- return request<number>('/api/BaseModule/ChangeSort', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/BaseModule/DeleteModule */
-export async function deleteModule(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteModuleParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/BaseModule/DeleteModule', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/BaseModule/DeleteModuleButton */
-export async function deleteModuleButton(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteModuleButtonParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/BaseModule/DeleteModuleButton', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/BaseModule/DeleteModuleColumn */
-export async function deleteModuleColumn(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteModuleColumnParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/BaseModule/DeleteModuleColumn', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetAllModuleList */
-export async function getAllModuleList(options?: API.RequestConfig) {
- return request<API.ModuleDto[]>('/api/BaseModule/GetAllModuleList', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetAllSubModule */
-export async function getAllSubModule(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetAllSubModuleParams,
- options?: API.RequestConfig
-) {
- return request<API.AllSubModule>('/api/BaseModule/GetAllSubModule', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetCurrentSubModuleList */
-export async function getCurrentSubModuleList(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetCurrentSubModuleListParams,
- options?: API.RequestConfig
-) {
- return request<API.AllSubModule>('/api/BaseModule/GetCurrentSubModuleList', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetCurrentUserModuleList */
-export async function getCurrentUserModuleList(options?: API.RequestConfig) {
- return request<API.ModuleDto[]>('/api/BaseModule/GetCurrentUserModuleList', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetFirstCurrentUserModuleList */
-export async function getFirstCurrentUserModuleList(options?: API.RequestConfig) {
- return request<API.ModuleDto[]>('/api/BaseModule/GetFirstCurrentUserModuleList', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetFirstCurrentUserModuleListCacheByModuleId */
-export async function getFirstCurrentUserModuleListCacheByModuleId(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetFirstCurrentUserModuleListCacheByModuleIdParams,
- options?: API.RequestConfig
-) {
- return request<API.ModuleDto[]>('/api/BaseModule/GetFirstCurrentUserModuleListCacheByModuleId', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetMyModule */
-export async function getMyModule(options?: API.RequestConfig) {
- return request<API.MyModuleDto[]>('/api/BaseModule/GetMyModule', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetUserOrRoleModuleList */
-export async function getUserOrRoleModuleList(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetUserOrRoleModuleListParams,
- options?: API.RequestConfig
-) {
- return request<API.ModuleDto[]>('/api/BaseModule/GetUserOrRoleModuleList', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetUserOrRoleSubModuleList */
-export async function getUserOrRoleSubModuleList(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetUserOrRoleSubModuleListParams,
- options?: API.RequestConfig
-) {
- return request<API.AllSubModule>('/api/BaseModule/GetUserOrRoleSubModuleList', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetVersionModuleList */
-export async function getVersionModuleList(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetVersionModuleListParams,
- options?: API.RequestConfig
-) {
- return request<API.ModuleDto[]>('/api/BaseModule/GetVersionModuleList', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/BaseModule/GetVersionSubModule */
-export async function getVersionSubModule(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetVersionSubModuleParams,
- options?: API.RequestConfig
-) {
- return request<API.AllSubModule>('/api/BaseModule/GetVersionSubModule', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/SetMyModule */
-export async function setMyModule(body: API.SetMyModuleInput, options?: API.RequestConfig) {
- return request<number>('/api/BaseModule/SetMyModule', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/SetVersionModule */
-export async function setVersionModule(
- body: API.SetVersionModuleInput,
- options?: API.RequestConfig
-) {
- return request<any>('/api/BaseModule/SetVersionModule', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/BaseModule/SingleSetAuthorizeModule */
-export async function singleSetAuthorizeModule(
- body: API.BaseAuthorizeDto,
- options?: API.RequestConfig
-) {
- return request<number>('/api/BaseModule/SingleSetAuthorizeModule', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/Common.ts b/src/services/api/Common.ts
deleted file mode 100644
index 33f7365..0000000
--- a/src/services/api/Common.ts
+++ /dev/null
@@ -1,60 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 鑾峰彇棰勮鏁版嵁 GET /api/Common/GetPreViewCache */
-export async function getPreViewCache(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetPreViewCacheParams,
- options?: API.RequestConfig
-) {
- return request<string>('/api/Common/GetPreViewCache', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 绗笁鏂规墜鏈哄彿楠岃瘉 鍙戦�侀獙璇佺爜 POST /api/Common/SendPhoneCertificationVerificationCode */
-export async function sendPhoneCertificationVerificationCode(
- body: API.SendPhoneCertificationVerificationCodeInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Common/SendPhoneCertificationVerificationCode', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鍙戦�侀獙璇佺爜 POST /api/Common/SendVerificationCode */
-export async function sendVerificationCode(
- body: API.SendPhoneVerificationCodeByBusinessTypeInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Common/SendVerificationCode', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鍐欏叆棰勮鏁版嵁 POST /api/Common/SetPreViewCache */
-export async function setPreViewCache(body: API.SetPreViewCacheInput, options?: API.RequestConfig) {
- return request<string>('/api/Common/SetPreViewCache', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/Features.ts b/src/services/api/Features.ts
deleted file mode 100644
index 727f5bf..0000000
--- a/src/services/api/Features.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Features/Get */
-export async function get(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetParams,
- options?: API.RequestConfig
-) {
- return request<API.GetFeatureListResultDto>('/api/Features/Get', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Features/Update */
-export async function update(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIupdateParams,
- body: API.UpdateFeaturesDto,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Features/Update', {
- method: 'PUT',
- headers: {
- 'Content-Type': 'application/json',
- },
- params: {
- ...params,
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/FlexEnterprise.ts b/src/services/api/FlexEnterprise.ts
deleted file mode 100644
index 47751e0..0000000
--- a/src/services/api/FlexEnterprise.ts
+++ /dev/null
@@ -1,108 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 鏂板鎴栦慨鏀逛紒涓氱鐞� POST /api/FlexEnterprise/CreateOrEditFlexEnterprise */
-export async function createOrEditFlexEnterprise(
- body: API.CreateOrEditFlexEnterpriseInput,
- options?: API.RequestConfig
-) {
- return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterprise', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏂板鎴栦慨鏀归摱琛岃缃� POST /api/FlexEnterprise/CreateOrEditFlexEnterpriseBankSetting */
-export async function createOrEditFlexEnterpriseBankSetting(
- body: API.CreateOrEditFlexEnterpriseBankInput,
- options?: API.RequestConfig
-) {
- return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterpriseBankSetting', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏂板鎴栦慨鏀规秷鎭缃� POST /api/FlexEnterprise/CreateOrEditFlexEnterpriseMessageSetting */
-export async function createOrEditFlexEnterpriseMessageSetting(
- body: API.CreateOrEditFlexEnterpriseMessageSettingInput,
- options?: API.RequestConfig
-) {
- return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterpriseMessageSetting', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏂板鎴栦慨鏀圭數瀛愮璁剧疆 POST /api/FlexEnterprise/CreateOrEditFlexEnterpriseSignSetting */
-export async function createOrEditFlexEnterpriseSignSetting(
- body: API.CreateOrEditFlexEnterpriseSignSettingInput,
- options?: API.RequestConfig
-) {
- return request<string>('/api/FlexEnterprise/CreateOrEditFlexEnterpriseSignSetting', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鍒犻櫎浼佷笟绠$悊 DELETE /api/FlexEnterprise/DeleteFlexEnterprise */
-export async function deleteFlexEnterprise(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteFlexEnterpriseParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexEnterprise/DeleteFlexEnterprise', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇浼佷笟绠$悊鍒楄〃 POST /api/FlexEnterprise/GetFlexEnterpriseList */
-export async function getFlexEnterpriseList(
- body: API.GetFlexEnterpriseInput,
- options?: API.RequestConfig
-) {
- return request<API.FlexEnterpriseDtoPageOutput>('/api/FlexEnterprise/GetFlexEnterpriseList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 璁剧疆浼佷笟鐘舵�� POST /api/FlexEnterprise/SetFlexEnterpriseStatus */
-export async function setFlexEnterpriseStatus(
- body: API.SetFlexEnterpriseStatusInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexEnterprise/SetFlexEnterpriseStatus', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/FlexEnterpriseWoker.ts b/src/services/api/FlexEnterpriseWoker.ts
deleted file mode 100644
index 9bafeb5..0000000
--- a/src/services/api/FlexEnterpriseWoker.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** C绔汉鍛樼鐞嗗垪琛� POST /api/FlexEnterpriseWoker/GetUserClientList */
-export async function getUserClientList(
- body: API.GetUserClientForBackInput,
- options?: API.RequestConfig
-) {
- return request<API.GetUserClientForBackOutputPageOutput>(
- '/api/FlexEnterpriseWoker/GetUserClientList',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** C绔汉鍛樼鐞�--绛剧害璇︽儏 POST /api/FlexEnterpriseWoker/GetUserClientSignList */
-export async function getUserClientSignList(
- body: API.GetUserClientSignListInput,
- options?: API.RequestConfig
-) {
- return request<API.UserClientSignListOutputPageOutput>(
- '/api/FlexEnterpriseWoker/GetUserClientSignList',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** C绔汉鍛樼鐞�--鑾峰彇浜哄憳璇︽儏 GET /api/FlexEnterpriseWoker/GetUserDetailForBack */
-export async function getUserDetailForBack(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetUserDetailForBackParams,
- options?: API.RequestConfig
-) {
- return request<API.GetUserDetailForBackOutput>('/api/FlexEnterpriseWoker/GetUserDetailForBack', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
diff --git a/src/services/api/FlexTask.ts b/src/services/api/FlexTask.ts
deleted file mode 100644
index e26d387..0000000
--- a/src/services/api/FlexTask.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 鑾峰彇浠诲姟璇︽儏 GET /api/FlexTask/GetFlexTaskDetail */
-export async function getFlexTaskDetail(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetFlexTaskDetailParams,
- options?: API.RequestConfig
-) {
- return request<API.GetFlexTaskDetailForBackOutput>('/api/FlexTask/GetFlexTaskDetail', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇杩愯惀绔换鍔$鐞嗗垪琛� POST /api/FlexTask/GetFlexTaskList */
-export async function getFlexTaskList(
- body: API.GetFlexTaskForBackInput,
- options?: API.RequestConfig
-) {
- return request<API.FlexTaskListOutputPageOutput>('/api/FlexTask/GetFlexTaskList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鎶ュ悕璇︽儏 POST /api/FlexTask/GetFlexTaskWorkerList */
-export async function getFlexTaskWorkerList(
- body: API.GetFlexTaskWorkerListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetWorkerListForBackOutputPageOutput>('/api/FlexTask/GetFlexTaskWorkerList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 璁剧疆浠诲姟鎺ㄨ崘鐘舵�� POST /api/FlexTask/SetFlexTaskReRecommendStatus */
-export async function setFlexTaskReRecommendStatus(
- body: API.SetRecommendInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexTask/SetFlexTaskReRecommendStatus', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/FlexWorker.ts b/src/services/api/FlexWorker.ts
deleted file mode 100644
index 8c2cc4c..0000000
--- a/src/services/api/FlexWorker.ts
+++ /dev/null
@@ -1,441 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 鍙戝竷/缂栬緫浠诲姟 POST /api/FlexWorker/AddEidtFlexTask */
-export async function addEidtFlexTask(body: API.AddEidtFlexTaskInput, options?: API.RequestConfig) {
- return request<number>('/api/FlexWorker/AddEidtFlexTask', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 娣诲姞鑱旂郴璁板綍 GET /api/FlexWorker/AddUserResumeContractRecord */
-export async function addUserResumeContractRecord(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIaddUserResumeContractRecordParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/AddUserResumeContractRecord', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鍙栨秷浜哄憳鏀惰棌 DELETE /api/FlexWorker/CancelUserResumeCollect */
-export async function cancelUserResumeCollect(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIcancelUserResumeCollectParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/CancelUserResumeCollect', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鏀惰棌浜哄憳绠�鍘� POST /api/FlexWorker/CollectFlexWorkerResume */
-export async function collectFlexWorkerResume(
- body: API.CollectFlexWorkerResumeInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/CollectFlexWorkerResume', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏀惰棌鍚嶇墖 GET /api/FlexWorker/CollectVisitingCard */
-export async function collectVisitingCard(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIcollectVisitingCardParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/CollectVisitingCard', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 浠诲姟鍒犻櫎 DELETE /api/FlexWorker/DeleteFlexTask */
-export async function deleteFlexTask(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteFlexTaskParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/DeleteFlexTask', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鍒犻櫎鍚嶇墖鏀惰棌 DELETE /api/FlexWorker/DeleteMyCardCollect */
-export async function deleteMyCardCollect(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteMyCardCollectParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/DeleteMyCardCollect', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 缂栬緫B绔悕鐗� POST /api/FlexWorker/EditVisitingCard */
-export async function editVisitingCard(
- body: API.MyVisitingCardOutput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/EditVisitingCard', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鐪佸競鍖哄垪琛� POST /api/FlexWorker/GetAreaList */
-export async function getAreaList(body: API.GetAreaListInput, options?: API.RequestConfig) {
- return request<API.AreaDto[]>('/api/FlexWorker/GetAreaList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇璧勬牸璇佷功鍒楄〃 GET /api/FlexWorker/GetCertificationList */
-export async function getCertificationList(options?: API.RequestConfig) {
- return request<API.GetSearchSettingListOutput[]>('/api/FlexWorker/GetCertificationList', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇浼佷笟绂忓埄鍒楄〃 GET /api/FlexWorker/GetEnterpriseWelfareList */
-export async function getEnterpriseWelfareList(options?: API.RequestConfig) {
- return request<API.GetSearchSettingListOutput[]>('/api/FlexWorker/GetEnterpriseWelfareList', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇绛剧害浜哄憳鍒楄〃 POST /api/FlexWorker/GetFlexSignWorkerList */
-export async function getFlexSignWorkerList(
- body: API.GetFlexSignWorkerListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetNewestWorkerListOutputPageOutput>('/api/FlexWorker/GetFlexSignWorkerList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** B绔皬绋嬪簭-鑾峰彇浠诲姟绠$悊(鏈畨鎺�/宸插畨鎺�) POST /api/FlexWorker/GetFlexTaskByArrange */
-export async function getFlexTaskByArrange(
- body: API.GetFlexTaskListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskByArrange', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** B绔皬绋嬪簭-鑾峰彇楠屾敹绠$悊(寰呴獙鏀�/宸查獙鏀�) POST /api/FlexWorker/GetFlexTaskByIsOverCheck */
-export async function getFlexTaskByIsOverCheck(
- body: API.GetFlexTaskListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskByIsOverCheck', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鎷涜仒浠诲姟璇︽儏 GET /api/FlexWorker/GetFlexTaskDto */
-export async function getFlexTaskDto(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetFlexTaskDtoParams,
- options?: API.RequestConfig
-) {
- return request<API.GetFlexTaskDtoOutput>('/api/FlexWorker/GetFlexTaskDto', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鎷涜仒绠$悊鍒楄〃(鍙戝竷涓�/宸插仠姝�) POST /api/FlexWorker/GetFlexTaskList */
-export async function getFlexTaskList(
- body: API.GetFlexTaskListByStatusInput,
- options?: API.RequestConfig
-) {
- return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 搴旇仒绠$悊-浠诲姟璇︽儏-鑾峰彇浜哄憳鎶ュ悕鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerApplyList */
-export async function getFlexTaskWorkerApplyList(
- body: API.GetFlexTaskWorkerApplyListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetNewestWorkerListOutputPageOutput>(
- '/api/FlexWorker/GetFlexTaskWorkerApplyList',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** 浠诲姟绠$悊-寰呭畨鎺�/宸插畨鎺� 浜哄憳鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerArrangeList */
-export async function getFlexTaskWorkerArrangeList(
- body: API.GetFlexTaskWorkerArrangeListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetNewestWorkerListOutputPageOutput>(
- '/api/FlexWorker/GetFlexTaskWorkerArrangeList',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** 楠屾敹绠$悊-浠诲姟璇︽儏-鑾峰彇鍗曚釜浜哄憳鎻愪氦楠屾敹鍐呭鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerCheckContentDto */
-export async function getFlexTaskWorkerCheckContentDto(
- body: API.GetFlexTaskWorkerCheckContentDtoInput,
- options?: API.RequestConfig
-) {
- return request<API.GetTaskWorkerCheckContentOutput>(
- '/api/FlexWorker/GetFlexTaskWorkerCheckContentDto',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** 鑾峰彇楠屾敹绠$悊 寰呴獙鏀�/宸查獙鏀�-浜哄憳鍒楄〃 POST /api/FlexWorker/GetFlexTaskWorkerCheckList */
-export async function getFlexTaskWorkerCheckList(
- body: API.GetFlexTaskWorkerCheckListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetNewestWorkerListOutputPageOutput>(
- '/api/FlexWorker/GetFlexTaskWorkerCheckList',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** 鎴戠殑鍚嶇墖澶� POST /api/FlexWorker/GetMyCollectVisitingCardList */
-export async function getMyCollectVisitingCardList(
- body: API.GetCollectVisitingCardListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetCollectVisitingCardOutputPageOutput>(
- '/api/FlexWorker/GetMyCollectVisitingCardList',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** 鑾峰彇鎴戠殑鍚嶇墖 GET /api/FlexWorker/GetMyVisitingCard */
-export async function getMyVisitingCard(options?: API.RequestConfig) {
- return request<API.MyVisitingCardOutput>('/api/FlexWorker/GetMyVisitingCard', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鐏靛伐鍒楄〃 POST /api/FlexWorker/GetNewesWorkertList */
-export async function getNewesWorkertList(
- body: API.GetNewestWorkerListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetNewestWorkerListOutputPageOutput>('/api/FlexWorker/GetNewesWorkertList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鑱旂郴璁板綍 POST /api/FlexWorker/GetUserContractRecordList */
-export async function getUserContractRecordList(body: API.PageInput, options?: API.RequestConfig) {
- return request<API.GetNewestWorkerListOutputPageOutput>(
- '/api/FlexWorker/GetUserContractRecordList',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** 鑾峰彇绠�鍘嗘敹钘忓垪琛� POST /api/FlexWorker/GetWorkerResumeCollectList */
-export async function getWorkerResumeCollectList(body: API.PageInput, options?: API.RequestConfig) {
- return request<API.GetNewestWorkerListOutputPageOutput>(
- '/api/FlexWorker/GetWorkerResumeCollectList',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** 浼佷笟瑙g害 GET /api/FlexWorker/StopEnterpriseUserContract */
-export async function stopEnterpriseUserContract(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIstopEnterpriseUserContractParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/StopEnterpriseUserContract', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 浠诲姟浜哄憳瀹夋帓/鍙栨秷瀹夋帓 POST /api/FlexWorker/TaskWorkerArrange */
-export async function taskWorkerArrange(
- body: API.TaskWorkerArrangeInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/TaskWorkerArrange', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 楠屾敹绠$悊-楠屾敹璇︽儏-瀵逛汉鍛樿繘琛岄獙鏀跺鏍� POST /api/FlexWorker/TaskWorkerCheckAcceptStatus */
-export async function taskWorkerCheckAcceptStatus(
- body: API.TaskWorkerCheckAcceptStatusInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/TaskWorkerCheckAcceptStatus', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 浠诲姟浜哄憳褰曠敤/璋㈢粷 POST /api/FlexWorker/TaskWorkerHireRefuse */
-export async function taskWorkerHireRefuse(
- body: API.TaskWorkerHireRefuseInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/TaskWorkerHireRefuse', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏇存柊鎷涜仒浠诲姟鍙戝竷鐘舵�� POST /api/FlexWorker/UpdateFlexTaskReleaseStatus */
-export async function updateFlexTaskReleaseStatus(
- body: API.UpdateTaskReleaseStatusInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/FlexWorker/UpdateFlexTaskReleaseStatus', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/IdentityRole.ts b/src/services/api/IdentityRole.ts
deleted file mode 100644
index a0aef1b..0000000
--- a/src/services/api/IdentityRole.ts
+++ /dev/null
@@ -1,85 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityRole/Create */
-export async function create(body: API.IdentityRoleCreateDto, options?: API.RequestConfig) {
- return request<API.IdentityRoleDto>('/api/IdentityRole/Create', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/IdentityRole/DeleteRole */
-export async function deleteRole(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteRoleParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/IdentityRole/DeleteRole', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityRole/Get */
-export async function get(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetParams,
- options?: API.RequestConfig
-) {
- return request<API.IdentityRoleDto>('/api/IdentityRole/Get', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityRole/GetAllList */
-export async function getAllList(options?: API.RequestConfig) {
- return request<API.IdentityRoleDtoListResultDto>('/api/IdentityRole/GetAllList', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityRole/GetList */
-export async function getList(body: API.IdentityRoleListInput, options?: API.RequestConfig) {
- return request<API.IdentityRoleDtoPagedResultDto>('/api/IdentityRole/GetList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/IdentityRole/Update */
-export async function update(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIupdateParams,
- body: API.IdentityRoleUpdateDto,
- options?: API.RequestConfig
-) {
- return request<API.IdentityRoleDto>('/api/IdentityRole/Update', {
- method: 'PUT',
- headers: {
- 'Content-Type': 'application/json',
- },
- params: {
- ...params,
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/IdentityUser.ts b/src/services/api/IdentityUser.ts
deleted file mode 100644
index 5a947f3..0000000
--- a/src/services/api/IdentityUser.ts
+++ /dev/null
@@ -1,281 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/Create */
-export async function create(body: API.IdentityUserCreateDto, options?: API.RequestConfig) {
- return request<API.IdentityUserDto>('/api/IdentityUser/Create', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/IdentityUser/DeleteUser */
-export async function deleteUser(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteUserParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/IdentityUser/DeleteUser', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/FindByEmail */
-export async function findByEmail(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIfindByEmailParams,
- options?: API.RequestConfig
-) {
- return request<API.IdentityUserDto>('/api/IdentityUser/FindByEmail', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/FindByUsername */
-export async function findByUsername(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIfindByUsernameParams,
- options?: API.RequestConfig
-) {
- return request<API.IdentityUserDto>('/api/IdentityUser/FindByUsername', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/Get */
-export async function get(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetParams,
- options?: API.RequestConfig
-) {
- return request<API.IdentityUserDto>('/api/IdentityUser/Get', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/GetAssignableRoles */
-export async function getAssignableRoles(options?: API.RequestConfig) {
- return request<API.IdentityRoleDtoListResultDto>('/api/IdentityUser/GetAssignableRoles', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/GetList */
-export async function getList(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetListParams,
- options?: API.RequestConfig
-) {
- return request<API.IdentityUserDtoPagedResultDto>('/api/IdentityUser/GetList', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/GetPageList */
-export async function getPageList(body: API.PageUserInput, options?: API.RequestConfig) {
- return request<API.IdentityUserDtoPagedResultDto>('/api/IdentityUser/GetPageList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/GetRoles/${param0}/roles */
-export async function getRolesIdRoles(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetRolesIdRolesParams,
- options?: API.RequestConfig
-) {
- const { id: param0, ...queryParams } = params;
- return request<API.IdentityRoleDtoListResultDto>(`/api/IdentityUser/GetRoles/${param0}/roles`, {
- method: 'GET',
- params: { ...queryParams },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/GetRoleUserList */
-export async function getRoleUserList(body: API.KeyPageInput, options?: API.RequestConfig) {
- return request<API.IdentityUserDtoPageOutput>('/api/IdentityUser/GetRoleUserList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUser/GetUserListByPhoneNumber */
-export async function getUserListByPhoneNumber(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetUserListByPhoneNumberParams,
- options?: API.RequestConfig
-) {
- return request<API.IdentityUserDto[]>('/api/IdentityUser/GetUserListByPhoneNumber', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/ResetPassword */
-export async function resetPassword(body: API.KeyInput, options?: API.RequestConfig) {
- return request<number>('/api/IdentityUser/ResetPassword', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/ResetPasswordWithNotify */
-export async function resetPasswordWithNotify(
- body: API.ResetPassWordInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/IdentityUser/ResetPasswordWithNotify', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/SetRoleUser */
-export async function setRoleUser(body: API.SetRoleUserInput, options?: API.RequestConfig) {
- return request<number>('/api/IdentityUser/SetRoleUser', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/SetUserRole */
-export async function setUserRole(body: API.SetUserRoleInput, options?: API.RequestConfig) {
- return request<number>('/api/IdentityUser/SetUserRole', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/IdentityUser/Update */
-export async function update(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIupdateParams,
- body: API.IdentityUserUpdateDto,
- options?: API.RequestConfig
-) {
- return request<API.IdentityUserDto>('/api/IdentityUser/Update', {
- method: 'PUT',
- headers: {
- 'Content-Type': 'application/json',
- },
- params: {
- ...params,
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/UpdatePassWord */
-export async function updatePassWord(body: API.UpdatePassWordInput, options?: API.RequestConfig) {
- return request<number>('/api/IdentityUser/UpdatePassWord', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/UpdatePassWordWithNoCode */
-export async function updatePassWordWithNoCode(
- body: API.UpdatePassWordInputWithNoCode,
- options?: API.RequestConfig
-) {
- return request<number>('/api/IdentityUser/UpdatePassWordWithNoCode', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/IdentityUser/UpdateRoles */
-export async function updateRoles(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIupdateRolesParams,
- body: API.IdentityUserUpdateRolesDto,
- options?: API.RequestConfig
-) {
- return request<number>('/api/IdentityUser/UpdateRoles', {
- method: 'PUT',
- headers: {
- 'Content-Type': 'application/json',
- },
- params: {
- ...params,
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/IdentityUser/UserForbidden */
-export async function userForbidden(body: API.KeyInput, options?: API.RequestConfig) {
- return request<number>('/api/IdentityUser/UserForbidden', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/IdentityUserLookup.ts b/src/services/api/IdentityUserLookup.ts
deleted file mode 100644
index f2a20fe..0000000
--- a/src/services/api/IdentityUserLookup.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUserLookup/FindById */
-export async function findById(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIfindByIdParams,
- options?: API.RequestConfig
-) {
- return request<API.UserData>('/api/IdentityUserLookup/FindById', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUserLookup/FindByUserName */
-export async function findByUserName(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIfindByUserNameParams,
- options?: API.RequestConfig
-) {
- return request<API.UserData>('/api/IdentityUserLookup/FindByUserName', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUserLookup/GetCount */
-export async function getCount(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetCountParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/IdentityUserLookup/GetCount', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/IdentityUserLookup/Search */
-export async function search(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIsearchParams,
- options?: API.RequestConfig
-) {
- return request<API.UserDataListResultDto>('/api/IdentityUserLookup/Search', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
diff --git a/src/services/api/Permissions.ts b/src/services/api/Permissions.ts
deleted file mode 100644
index ebd17c4..0000000
--- a/src/services/api/Permissions.ts
+++ /dev/null
@@ -1,98 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Permissions/ForbiddenRole */
-export async function forbiddenRole(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIforbiddenRoleParams,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Permissions/ForbiddenRole', {
- method: 'PUT',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Permissions/ForbiddenUser */
-export async function forbiddenUser(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIforbiddenUserParams,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Permissions/ForbiddenUser', {
- method: 'PUT',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Permissions/Get */
-export async function get(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetParams,
- options?: API.RequestConfig
-) {
- return request<API.GetPermissionListResultDto>('/api/Permissions/Get', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Permissions/SetForRole */
-export async function setForRole(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIsetForRoleParams,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Permissions/SetForRole', {
- method: 'PUT',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Permissions/SetForUser */
-export async function setForUser(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIsetForUserParams,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Permissions/SetForUser', {
- method: 'PUT',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Permissions/Update */
-export async function update(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIupdateParams,
- body: API.UpdatePermissionsDto,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Permissions/Update', {
- method: 'PUT',
- headers: {
- 'Content-Type': 'application/json',
- },
- params: {
- ...params,
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/PhoneMessage.ts b/src/services/api/PhoneMessage.ts
deleted file mode 100644
index 60b84e6..0000000
--- a/src/services/api/PhoneMessage.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/PhoneMessage/CheckVerificationCode */
-export async function checkVerificationCode(
- body: API.CheckLoginVerificationCodeInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/PhoneMessage/CheckVerificationCode', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/PhoneMessage/SendVerificationCode */
-export async function sendVerificationCode(
- body: API.SendPhoneMessageBaseInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/PhoneMessage/SendVerificationCode', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/Profile.ts b/src/services/api/Profile.ts
deleted file mode 100644
index 31a356b..0000000
--- a/src/services/api/Profile.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Profile/ChangePassword */
-export async function changePassword(body: API.ChangePasswordInput, options?: API.RequestConfig) {
- return request<any>('/api/Profile/ChangePassword', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Profile/Get */
-export async function get(options?: API.RequestConfig) {
- return request<API.ProfileDto>('/api/Profile/Get', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Profile/Update */
-export async function update(body: API.UpdateProfileDto, options?: API.RequestConfig) {
- return request<API.ProfileDto>('/api/Profile/Update', {
- method: 'PUT',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/SearchSetting.ts b/src/services/api/SearchSetting.ts
deleted file mode 100644
index 1e18b19..0000000
--- a/src/services/api/SearchSetting.ts
+++ /dev/null
@@ -1,86 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 鎼滅储绠$悊--鏂板缓缂栬緫 POST /api/SearchSetting/CreateOrEditSearchSetting */
-export async function createOrEditSearchSetting(
- body: API.CreateOrEditSearchInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/SearchSetting/CreateOrEditSearchSetting', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鎼滅储绠$悊--绂佺敤鍚敤 POST /api/SearchSetting/EnableSearchSetting */
-export async function enableSearchSetting(
- body: API.EnableSearchSettingInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/SearchSetting/EnableSearchSetting', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏍规嵁鑾峰緱鍏ㄩ儴鎸囧畾绫诲瀷鎼滅储鏉′欢 POST /api/SearchSetting/GetAllSearchSettingList */
-export async function getAllSearchSettingList(
- body: API.GetSearchSettingListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetSearchSettingList[]>('/api/SearchSetting/GetAllSearchSettingList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鏌ヨ鏉′欢鍒楄〃 GET /api/SearchSetting/GetSearchConditionList */
-export async function getSearchConditionList(options?: API.RequestConfig) {
- return request<API.SearchConditionList[]>('/api/SearchSetting/GetSearchConditionList', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鎼滅储绠$悊--鍒楄〃 POST /api/SearchSetting/GetSearchSettingList */
-export async function getSearchSettingList(
- body: API.GetSearchSettingListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetSearchSettingListPageOutput>('/api/SearchSetting/GetSearchSettingList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏍规嵁绫诲瀷鑾峰緱鎸囧畾绫诲瀷鎼滅储鏉′欢 POST /api/SearchSetting/GetTypeSearchSettingList */
-export async function getTypeSearchSettingList(
- body: API.GetTypeSearchSettingListInput,
- options?: API.RequestConfig
-) {
- return request<API.GetTypeSearchSettingList[]>('/api/SearchSetting/GetTypeSearchSettingList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/Tenant.ts b/src/services/api/Tenant.ts
deleted file mode 100644
index af392db..0000000
--- a/src/services/api/Tenant.ts
+++ /dev/null
@@ -1,127 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Tenant/Create */
-export async function create(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIcreateParams,
- options?: API.RequestConfig
-) {
- return request<API.TenantDto>('/api/Tenant/Create', {
- method: 'POST',
- params: {
- ...params,
- ExtraProperties: undefined,
- ...params['ExtraProperties'],
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/Tenant/DeleteDefaultConnectionString */
-export async function deleteDefaultConnectionString(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteDefaultConnectionStringParams,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Tenant/DeleteDefaultConnectionString', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 DELETE /api/Tenant/DeleteTenant */
-export async function deleteTenant(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteTenantParams,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Tenant/DeleteTenant', {
- method: 'DELETE',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Tenant/Get */
-export async function get(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetParams,
- options?: API.RequestConfig
-) {
- return request<API.TenantDto>('/api/Tenant/Get', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Tenant/GetDefaultConnectionString */
-export async function getDefaultConnectionString(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetDefaultConnectionStringParams,
- options?: API.RequestConfig
-) {
- return request<string>('/api/Tenant/GetDefaultConnectionString', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Tenant/GetList */
-export async function getList(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetListParams,
- options?: API.RequestConfig
-) {
- return request<API.TenantDtoPagedResultDto>('/api/Tenant/GetList', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Tenant/Update */
-export async function update(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIupdateParams,
- options?: API.RequestConfig
-) {
- return request<API.TenantDto>('/api/Tenant/Update', {
- method: 'PUT',
- params: {
- ...params,
- ExtraProperties: undefined,
- ...params['ExtraProperties'],
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 PUT /api/Tenant/UpdateDefaultConnectionString */
-export async function updateDefaultConnectionString(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIupdateDefaultConnectionStringParams,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Tenant/UpdateDefaultConnectionString', {
- method: 'PUT',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
diff --git a/src/services/api/User.ts b/src/services/api/User.ts
deleted file mode 100644
index 603e2e7..0000000
--- a/src/services/api/User.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 鑾峰彇涓汉淇℃伅璇︽儏 GET /api/User/GetUserInfo */
-export async function getUserInfo(options?: API.RequestConfig) {
- return request<API.UserDto>('/api/User/GetUserInfo', {
- method: 'GET',
- ...(options || {}),
- });
-}
diff --git a/src/services/api/UserResume.ts b/src/services/api/UserResume.ts
deleted file mode 100644
index 3ec42a4..0000000
--- a/src/services/api/UserResume.ts
+++ /dev/null
@@ -1,150 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 鏍规嵁鐢ㄦ埛鑾峰彇鏈熷緟鐨勫伐浣� GET /api/UserResume/GetResumeExpectationJob */
-export async function getResumeExpectationJob(options?: API.RequestConfig) {
- return request<API.UserResumeExpectationJobOutput>('/api/UserResume/GetResumeExpectationJob', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鏍规嵁鐢ㄦ埛鑾峰彇绠�鍘� GET /api/UserResume/GetUserResume */
-export async function getUserResume(options?: API.RequestConfig) {
- return request<API.MyResumeOutput>('/api/UserResume/GetUserResume', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鏍规嵁鐢ㄦ埛鑾峰彇绠�鍘嗗熀纭�淇℃伅 GET /api/UserResume/GetUserResumeBaseInfo */
-export async function getUserResumeBaseInfo(options?: API.RequestConfig) {
- return request<API.UserResumeBaseInfoOutput>('/api/UserResume/GetUserResumeBaseInfo', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鏍规嵁璁よ瘉id鑾峰彇璁よ瘉璇︽儏 GET /api/UserResume/GetUserResumeCertificateDetailById */
-export async function getUserResumeCertificateDetailById(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetUserResumeCertificateDetailByIdParams,
- options?: API.RequestConfig
-) {
- return request<API.UserResumeCertificateDetailOutput>(
- '/api/UserResume/GetUserResumeCertificateDetailById',
- {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- }
- );
-}
-
-/** 鏍规嵁鐢ㄦ埛ID鑾峰彇鐢ㄦ埛璁よ瘉淇℃伅 GET /api/UserResume/GetUserResumeCertificateList */
-export async function getUserResumeCertificateList(options?: API.RequestConfig) {
- return request<API.UserResumeCertificateListOutput[]>(
- '/api/UserResume/GetUserResumeCertificateList',
- {
- method: 'GET',
- ...(options || {}),
- }
- );
-}
-
-/** 鑾峰彇鐢ㄦ埛绠�鍘嗚鎯� GET /api/UserResume/GetUserResumeDetailInfo */
-export async function getUserResumeDetailInfo(options?: API.RequestConfig) {
- return request<API.UserResumeDetailInfoOutput>('/api/UserResume/GetUserResumeDetailInfo', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鏍规嵁鐢ㄦ埛id鑾峰彇鐢ㄦ埛宸ヤ綔缁忓巻 GET /api/UserResume/GetUserResumeWorkExperience */
-export async function getUserResumeWorkExperience(options?: API.RequestConfig) {
- return request<API.UserResumeWorkExperienceOutput>(
- '/api/UserResume/GetUserResumeWorkExperience',
- {
- method: 'GET',
- ...(options || {}),
- }
- );
-}
-
-/** 淇濆瓨绠�鍘嗙殑鍩虹淇℃伅 POST /api/UserResume/SaveUserResumeBaseInfo */
-export async function saveUserResumeBaseInfo(
- body: API.SaveUserResumeBaseInfoInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/UserResume/SaveUserResumeBaseInfo', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 淇濆瓨鐢ㄦ埛鐨勭畝鍘嗚璇佷俊鎭� POST /api/UserResume/SaveUserResumeCertificate */
-export async function saveUserResumeCertificate(
- body: API.SaveUserResumeCertificateInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/UserResume/SaveUserResumeCertificate', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 淇濆瓨绠�鍘嗚鎯� POST /api/UserResume/SaveUserResumeDetailInfo */
-export async function saveUserResumeDetailInfo(
- body: API.SaveUserResumeDetailInfoInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/UserResume/SaveUserResumeDetailInfo', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 淇濆瓨鐢ㄦ埛鏈熸湜鐨勫矖浣嶄俊鎭� POST /api/UserResume/SaveUserResumeExpectationJob */
-export async function saveUserResumeExpectationJob(
- body: API.SaveUserResumeExpectationJobInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/UserResume/SaveUserResumeExpectationJob', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 淇濆瓨鐢ㄦ埛宸ヤ綔缁忓巻 POST /api/UserResume/SaveUserResumeWorkExperience */
-export async function saveUserResumeWorkExperience(
- body: API.SaveUserResumeWorkExperienceInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/UserResume/SaveUserResumeWorkExperience', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/Version.ts b/src/services/api/Version.ts
deleted file mode 100644
index 03d997d..0000000
--- a/src/services/api/Version.ts
+++ /dev/null
@@ -1,66 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Version/Create */
-export async function create(body: API.VersionCreate, options?: API.RequestConfig) {
- return request<string>('/api/Version/Create', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Version/DeleteVersion */
-export async function deleteVersion(body: API.KeyInput, options?: API.RequestConfig) {
- return request<number>('/api/Version/DeleteVersion', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/Version/Detail */
-export async function detail(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdetailParams,
- options?: API.RequestConfig
-) {
- return request<API.VersionCache>('/api/Version/Detail', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Version/List */
-export async function list(body: API.PageInput, options?: API.RequestConfig) {
- return request<API.VersionDtoPageOutput>('/api/Version/List', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Version/Update */
-export async function update(body: API.VersionUpdateInput, options?: API.RequestConfig) {
- return request<number>('/api/Version/Update', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/auth.ts b/src/services/api/auth.ts
new file mode 100644
index 0000000..1c77983
--- /dev/null
+++ b/src/services/api/auth.ts
@@ -0,0 +1,18 @@
+/* eslint-disable */
+// @ts-ignore
+import { request } from '@/utils/request';
+
+/** 瀵嗙爜鐧诲綍 POST /api/user/auth/password-login */
+export async function authPasswordLogin(
+ body: API.AuthPasswordLoginCommand,
+ options?: API.RequestConfig
+) {
+ return request<API.AuthPasswordLoginCallback>('/api/user/auth/password-login', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
diff --git a/src/services/api/index.ts b/src/services/api/index.ts
index ffe8d03..32aeae7 100644
--- a/src/services/api/index.ts
+++ b/src/services/api/index.ts
@@ -2,47 +2,9 @@
/* eslint-disable */
// API 鏇存柊鏃堕棿锛�
// API 鍞竴鏍囪瘑锛�
-import * as AbpApiDefinition from './AbpApiDefinition';
-import * as AbpApplicationConfiguration from './AbpApplicationConfiguration';
-import * as Account from './Account';
-import * as BaseModule from './BaseModule';
-import * as Common from './Common';
-import * as Features from './Features';
-import * as FlexEnterprise from './FlexEnterprise';
-import * as FlexEnterpriseWoker from './FlexEnterpriseWoker';
-import * as FlexTask from './FlexTask';
-import * as FlexWorker from './FlexWorker';
-import * as IdentityRole from './IdentityRole';
-import * as IdentityUser from './IdentityUser';
-import * as IdentityUserLookup from './IdentityUserLookup';
-import * as Permissions from './Permissions';
-import * as PhoneMessage from './PhoneMessage';
-import * as Profile from './Profile';
-import * as SearchSetting from './SearchSetting';
-import * as Tenant from './Tenant';
-import * as User from './User';
-import * as UserResume from './UserResume';
-import * as Version from './Version';
+import * as auth from './auth';
+import * as menu from './menu';
export default {
- AbpApiDefinition,
- AbpApplicationConfiguration,
- Account,
- BaseModule,
- Common,
- Features,
- FlexEnterprise,
- FlexEnterpriseWoker,
- FlexTask,
- FlexWorker,
- IdentityRole,
- IdentityUser,
- IdentityUserLookup,
- Permissions,
- PhoneMessage,
- Profile,
- SearchSetting,
- Tenant,
- User,
- UserResume,
- Version,
+ auth,
+ menu,
};
diff --git a/src/services/api/menu.ts b/src/services/api/menu.ts
new file mode 100644
index 0000000..3859442
--- /dev/null
+++ b/src/services/api/menu.ts
@@ -0,0 +1,39 @@
+/* eslint-disable */
+// @ts-ignore
+import { request } from '@/utils/request';
+
+/** 鏌ヨ鑿滃崟/椤甸潰/妯℃�佹鍒楄〃 POST /api/user/menu/list-query */
+export async function menuListQuery(body: API.MenuListQuery, options?: API.RequestConfig) {
+ return request<API.MenuListCallback>('/api/user/menu/list-query', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 淇濆瓨鑿滃崟 POST /api/user/menu/save */
+export async function menuSave(body: API.MenuSaveCommand, options?: API.RequestConfig) {
+ return request<string>('/api/user/menu/save', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏌ヨ鎸夐挳/瀛楁鍒楄〃 POST /api/user/menu/sub-list-query */
+export async function menuSubListQuery(body: API.MenuSubListQuery, options?: API.RequestConfig) {
+ return request<API.MenuSubListCallback>('/api/user/menu/sub-list-query', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts
index b4ce2de..e0a4ec0 100644
--- a/src/services/api/typings.d.ts
+++ b/src/services/api/typings.d.ts
@@ -3,2296 +3,243 @@
[key: string]: any;
}
- interface AccessRefreshToken {
- refreshToken?: string;
- clientId?: string;
- }
+ type AuthPasswordLoginCallback = true;
- interface AccessRequestDto {
- clientId?: string;
- userName?: string;
- userPassword?: string;
- scope?: string;
- }
-
- interface ActionApiDescriptionModel {
- uniqueName?: string;
- name?: string;
- httpMethod?: string;
- url?: string;
- supportedVersions?: string[];
- parametersOnMethod?: MethodParameterApiDescriptionModel[];
- parameters?: ParameterApiDescriptionModel[];
- returnValue?: ReturnValueApiDescriptionModel;
- allowAnonymous?: boolean;
- implementFrom?: string;
- }
-
- interface AddEidtFlexTaskInput {
- taskId?: string;
- taskName?: string;
- feeType?: FlexTaskFeeTypeEnum;
- /** 鏈嶅姟璐� 鍏�/鏈� */
- fee?: number;
- settleType?: FlexTaskSettleTypeEnum;
- /** 绂忓埄Id */
- listAideIds?: string[];
- minAge?: number;
- maxAge?: number;
- sexType?: GenderTypeEnum;
- /** 璇佷功Id */
- listCertionIds?: string[];
- provinceId?: number;
- cityId?: number;
- areaId?: number;
- address?: string;
- startDate?: string;
- endDate?: string;
- }
-
- interface AllSubModule {
- pageButton?: ModuleButtonDto[];
- dataButton?: ModuleButtonDto[];
- column?: ModuleColumnDto[];
- }
-
- interface AnyUserByPhoneNumberInput {
- /** 鎵嬫満鍙� */
- phoneNumber: string;
- }
-
- interface APIaddOrEditModuleStatusParams {
- id?: string;
- isMenu?: number;
- enabledMark?: number;
- isCache?: boolean;
- }
-
- interface APIaddUserResumeContractRecordParams {
- flexWorkerId?: string;
- }
-
- interface APIapiDefinitionParams {
- includeTypes?: boolean;
- }
-
- interface APIcancelUserResumeCollectParams {
- flexWorkerId?: string;
- }
-
- interface APIcollectVisitingCardParams {
- flexVisitingCardId?: string;
- }
-
- interface APIcreateParams {
- systemEmail: string;
- systemPassword: string;
- versionId?: string;
- systemUserName: string;
- systemName: string;
- name: string;
- extraProperties?: Record<string, any>;
- }
-
- interface APIdeleteDefaultConnectionStringParams {
- id?: string;
- }
-
- interface APIdeleteFlexEnterpriseParams {
- id?: string;
- }
-
- interface APIdeleteFlexTaskParams {
- id?: string;
- }
-
- interface APIdeleteModuleButtonParams {
- id?: string;
- }
-
- interface APIdeleteModuleColumnParams {
- id?: string;
- }
-
- interface APIdeleteModuleParams {
- id?: string;
- }
-
- interface APIdeleteMyCardCollectParams {
- visitingCardCollectId?: string;
- }
-
- interface APIdeleteRoleParams {
- id?: string;
- }
-
- interface APIdeleteTenantParams {
- id?: string;
- }
-
- interface APIdeleteUserParams {
- id?: string;
- }
-
- interface APIdetailParams {
- id?: string;
- }
-
- interface APIfindByEmailParams {
- email?: string;
- }
-
- interface APIfindByIdParams {
- id?: string;
- }
-
- interface APIfindByUsernameParams {
- userName?: string;
- }
-
- interface APIfindByUserNameParams {
- userName?: string;
- }
-
- interface APIforbiddenRoleParams {
- roleName?: string;
- permissionName?: string;
- }
-
- interface APIforbiddenUserParams {
- userId?: string;
- permissionName?: string;
- }
-
- interface APIgetAllSubModuleParams {
- moduleId?: string;
- }
-
- interface APIgetCountParams {
- filter?: string;
- }
-
- interface APIgetCurrentSubModuleListParams {
- moduleId?: string;
- }
-
- interface APIgetDefaultConnectionStringParams {
- id?: string;
- }
-
- interface APIgetFirstCurrentUserModuleListCacheByModuleIdParams {
- moduleId?: string;
- }
-
- interface APIgetFlexTaskDetailParams {
- id?: string;
- }
-
- interface APIgetFlexTaskDtoParams {
- id?: string;
- }
-
- interface APIgetListParams {
- filter?: string;
- clientId?: string;
- sorting?: string;
- skipCount?: number;
- maxResultCount?: number;
- }
-
- interface APIgetListParams {
- filter?: string;
- sorting?: string;
- skipCount?: number;
- maxResultCount?: number;
- }
-
- interface APIgetParams {
- providerName?: string;
- providerKey?: string;
- }
-
- interface APIgetParams {
- id?: string;
- }
-
- interface APIgetParams {
- id?: string;
- }
-
- interface APIgetParams {
- providerName?: string;
- providerKey?: string;
- }
-
- interface APIgetParams {
- id?: string;
- }
-
- interface APIgetPreViewCacheParams {
- id?: string;
- }
-
- interface APIgetQrCodeLoginResultParams {
- /** 鎵爜鐧诲綍Id */
- uId?: string;
- }
-
- interface APIgetRolesIdRolesParams {
- id: string;
- }
-
- interface APIgetUserDetailForBackParams {
- userId?: string;
- }
-
- interface APIgetUserListByPhoneNumberParams {
- phoneNumber?: string;
- clientId?: string;
- }
-
- interface APIgetUserOrRoleModuleListParams {
- id?: string;
- objectType?: number;
- }
-
- interface APIgetUserOrRoleSubModuleListParams {
- id?: string;
- objectType?: number;
- }
-
- interface APIgetUserResumeCertificateDetailByIdParams {
- id?: string;
- }
-
- interface APIgetVersionModuleListParams {
- versionId?: string;
- }
-
- interface APIgetVersionSubModuleParams {
- versionId?: string;
- }
-
- interface APIgetWxIndentityParams {
- /** 鐢ㄦ埛鐧诲綍鍑瘉 */
- code?: string;
- wxMiniApp?: WxMiniAppEnum;
- }
-
- interface APIisRepeatByPhoneNumberParams {
- phoneNumber?: string;
- }
-
- interface APIsearchParams {
- filter?: string;
- sorting?: string;
- skipCount?: number;
- maxResultCount?: number;
- }
-
- interface APIsetForRoleParams {
- roleName?: string;
- permissionName?: string;
- }
-
- interface APIsetForUserParams {
- userId?: string;
- permissionName?: string;
- }
-
- interface APIstopEnterpriseUserContractParams {
- flexWorkerId?: string;
- }
-
- interface APIupdateDefaultConnectionStringParams {
- id?: string;
- defaultConnectionString?: string;
- }
-
- interface APIupdateParams {
- providerName?: string;
- providerKey?: string;
- }
-
- interface APIupdateParams {
- id?: string;
- }
-
- interface APIupdateParams {
- id?: string;
- }
-
- interface APIupdateParams {
- providerName?: string;
- providerKey?: string;
- }
-
- interface APIupdateParams {
- id?: string;
- name: string;
- extraProperties?: Record<string, any>;
- }
-
- interface APIupdateRolesParams {
- id?: string;
- }
-
- interface APIvatLicenseParams {
- url?: string;
- }
-
- interface APIwxMiniAppUserLoginParams {
- /** 鐢ㄦ埛鐧诲綍鍑瘉 */
- code?: string;
- wxMiniApp?: WxMiniAppEnum;
- }
-
- interface ApplicationApiDescriptionModel {
- modules?: Record<string, any>;
- types?: Record<string, any>;
- }
-
- interface ApplicationAuthConfigurationDto {
- policies?: Record<string, any>;
- grantedPolicies?: Record<string, any>;
- }
-
- interface ApplicationConfigurationDto {
- localization?: ApplicationLocalizationConfigurationDto;
- auth?: ApplicationAuthConfigurationDto;
- setting?: ApplicationSettingConfigurationDto;
- currentUser?: CurrentUserDto;
- features?: ApplicationFeatureConfigurationDto;
- multiTenancy?: MultiTenancyInfoDto;
- currentTenant?: CurrentTenantDto;
- timing?: TimingDto;
- clock?: ClockDto;
- objectExtensions?: ObjectExtensionsDto;
- }
-
- interface ApplicationFeatureConfigurationDto {
- values?: Record<string, any>;
- }
-
- interface ApplicationLocalizationConfigurationDto {
- values?: Record<string, any>;
- languages?: LanguageInfo[];
- currentCulture?: CurrentCultureDto;
- defaultResourceName?: string;
- languagesMap?: Record<string, any>;
- languageFilesMap?: Record<string, any>;
- }
-
- interface ApplicationSettingConfigurationDto {
- values?: Record<string, any>;
- }
-
- interface AreaDto {
- id?: string;
- areaCode?: number;
- parentId?: number;
- areaName?: string;
- /** 1鐪� 2甯� 3鍖� 4闀� */
- layer?: number;
- sort?: number;
- children?: AreaDto[];
- /** 绠�鏄撴嫾闊� */
- simpleSpelling?: string;
- /** 蹇�熸绱� */
- quickQuery?: string;
- }
-
- interface BaseAuthorizeDto {
- moduleType?: number;
- moduleId?: string;
- objectType?: number;
- objectId?: string;
- addOrDelete?: number;
- }
-
- interface BaseAuthorizeInput {
- moduleTypeInfo?: ModuleTypeInfo[];
- objectType?: number;
- objectId?: string;
- }
-
- interface ChangePasswordFromCurrentPwdInput {
- /** 鏂板瘑鐮� */
- newPassword?: string;
- userId?: string;
- /** 褰撳墠瀵嗙爜 */
- currentPassword: string;
- }
-
- interface ChangePasswordFromPhoneNumberInput {
- /** 鏂板瘑鐮� */
- newPassword?: string;
- userId?: string;
- /** 鐭俊楠岃瘉鐮� */
- verificationCode: string;
- /** 鎵嬫満鍙� */
- phoneNumber: string;
- }
-
- interface ChangePasswordInput {
- currentPassword?: string;
- newPassword: string;
- }
-
- interface ChangePhoneNumberInput {
- userId?: string;
- /** 鏂版墜鏈哄彿 */
- newPhoneNumber: string;
- }
-
- interface ChangeSortInput {
- id1?: string;
- sortCode1?: number;
- id2?: string;
- sortCode2?: number;
- type?: number;
- }
-
- interface ChangeUserNameInput {
- /** 鏂拌处鍙� */
- newUserName?: string;
- /** 鐢ㄦ埛id */
- userId?: string;
- }
-
- interface ChangeUserPhoneNumberForUserInput {
- userId?: string;
- /** 鏂版墜鏈哄彿 */
- newPhoneNumber: string;
- /** 褰撳墠瀵嗙爜 */
- currentPassword: string;
- /** 鐭俊楠岃瘉鐮� */
- verificationCode: string;
- }
-
- type ChargeTypeEnum = 1 | 2;
-
- interface CheckLoginVerificationCodeInput {
- messageType?: string;
- phoneNumber: string;
- verificationCode?: string;
- }
-
- interface ClockDto {
- kind?: string;
- }
-
- interface CollectFlexWorkerResumeInput {
- flexWorkerId?: string;
- userResumeId?: string;
- }
-
- interface ConditionInfo {
- id?: string;
- name?: string;
- sort?: number;
- }
-
- interface ControllerApiDescriptionModel {
- controllerName?: string;
- controllerGroupName?: string;
- type?: string;
- interfaces?: ControllerInterfaceApiDescriptionModel[];
- actions?: Record<string, any>;
- }
-
- interface ControllerInterfaceApiDescriptionModel {
- type?: string;
- }
-
- interface CreateOrEditFlexEnterpriseBankInput {
- id?: string;
- /** 寮�鎴疯 */
- openBank?: string;
- /** 寮�鎴锋敮琛� */
- openBranchBank?: string;
- /** 閾惰璐︽埛 */
- bankAccount?: string;
- verifyStatus?: VerifyStatus;
- flexEnterpirseId?: string;
- }
-
- interface CreateOrEditFlexEnterpriseInput {
- id?: string;
- /** 浼佷笟鍚嶇О */
- enterpriseName?: string;
- /** 娉曚汉濮撳悕 */
- legalPersonName?: string;
- /** 娉曚汉韬唤璇佸彿 */
- legalPersonIdNumber?: string;
- /** 璁よ瘉鑱旂郴浜� */
- contact?: string;
- /** 璁よ瘉鑱旂郴浜虹數璇� */
- contactPhone?: string;
- /** 绀句細缁熶竴淇$敤浠g爜 */
- societyCreditCode?: string;
- /** 鐪佷唤code */
- provinceCode?: number;
- /** 鐪佷唤鍚嶇О */
- proviceName?: string;
- /** 鍩庡競Code */
- cityCode?: number;
- /** 鍩庡競鍚嶇О */
- cityName?: string;
- status?: FlexEnterpriseStatus;
- settingStatus?: FlexEnterpriseSettingStatus;
- certificationStatus?: FlexEnterpriseCertificationStatus;
- /** 鎵�灞炶涓� */
- belongIndustryType?: string;
- }
-
- interface CreateOrEditFlexEnterpriseMessageSettingInput {
- id?: string;
- messageChannel?: MessageChannelEnum;
- /** 娑堟伅璐圭敤 */
- messageCost?: number;
- flexEnterpirseId?: string;
- }
-
- interface CreateOrEditFlexEnterpriseSignSettingInput {
- id?: string;
- signChannel?: SignChannelEnum;
- chargeType?: ChargeTypeEnum;
- /** 瀹炲悕璐圭敤 */
- realVerifyCost?: number;
- /** 绛剧害璐圭敤 */
- signCost?: number;
- /** 涓�鍙d环 */
- mergeSignCost?: number;
- /** 浼佷笟Id */
- flexEnterpirseId?: string;
- }
-
- interface CreateOrEditSearchInput {
- id?: string;
- parentId?: string;
- searchType: number;
- belongType?: number;
- name: string;
- sort: number;
- status: boolean;
- src?: string;
- isRecommend?: boolean;
- }
-
- interface CurrentCultureDto {
- displayName?: string;
- englishName?: string;
- threeLetterIsoLanguageName?: string;
- twoLetterIsoLanguageName?: string;
- isRightToLeft?: boolean;
- cultureName?: string;
- name?: string;
- nativeName?: string;
- dateTimeFormat?: DateTimeFormatDto;
- }
-
- interface CurrentTenantDto {
- id?: string;
- name?: string;
- isAvailable?: boolean;
- }
-
- interface CurrentUserDto {
- isAuthenticated?: boolean;
- id?: string;
- tenantId?: string;
- impersonatorUserId?: string;
- impersonatorTenantId?: string;
- impersonatorUserName?: string;
- impersonatorTenantName?: string;
- userName?: string;
- name?: string;
- surName?: string;
- email?: string;
- emailVerified?: boolean;
- phoneNumber?: string;
- phoneNumberVerified?: boolean;
- roles?: string[];
- }
-
- interface DateTimeFormatDto {
- calendarAlgorithmType?: string;
- dateTimeFormatLong?: string;
- shortDatePattern?: string;
- fullDateTimePattern?: string;
- dateSeparator?: string;
- shortTimePattern?: string;
- longTimePattern?: string;
- }
-
- interface EnableSearchSettingInput {
- id: string;
- status: boolean;
- }
-
- interface EnterpriseSignSettingDto {
- id?: string;
- signChannel?: SignChannelEnum;
- chargeType?: ChargeTypeEnum;
- /** 瀹炲悕璐圭敤 */
- realVerifyCost?: number;
- /** 绛剧害璐圭敤 */
- signCost?: number;
- /** 涓�鍙d环 */
- mergeSignCost?: number;
- /** 浼佷笟Id */
- flexEnterpirseId?: string;
- }
-
- interface EntityExtensionDto {
- properties?: Record<string, any>;
- configuration?: Record<string, any>;
- }
-
- interface ExtensionEnumDto {
- fields?: ExtensionEnumFieldDto[];
- localizationResource?: string;
- }
-
- interface ExtensionEnumFieldDto {
- name?: string;
- value?: any;
- }
-
- interface ExtensionPropertyApiCreateDto {
- isAvailable?: boolean;
- }
-
- interface ExtensionPropertyApiDto {
- onGet?: ExtensionPropertyApiGetDto;
- onCreate?: ExtensionPropertyApiCreateDto;
- onUpdate?: ExtensionPropertyApiUpdateDto;
- }
-
- interface ExtensionPropertyApiGetDto {
- isAvailable?: boolean;
- }
-
- interface ExtensionPropertyApiUpdateDto {
- isAvailable?: boolean;
- }
-
- interface ExtensionPropertyAttributeDto {
- typeSimple?: string;
- config?: Record<string, any>;
- }
-
- interface ExtensionPropertyDto {
- type?: string;
- typeSimple?: string;
- displayName?: LocalizableStringDto;
- api?: ExtensionPropertyApiDto;
- ui?: ExtensionPropertyUiDto;
- attributes?: ExtensionPropertyAttributeDto[];
- configuration?: Record<string, any>;
- defaultValue?: any;
- }
-
- interface ExtensionPropertyUiDto {
- onTable?: ExtensionPropertyUiTableDto;
- onCreateForm?: ExtensionPropertyUiFormDto;
- onEditForm?: ExtensionPropertyUiFormDto;
- lookup?: ExtensionPropertyUiLookupDto;
- }
-
- interface ExtensionPropertyUiFormDto {
- isVisible?: boolean;
- }
-
- interface ExtensionPropertyUiLookupDto {
- url?: string;
- resultListPropertyName?: string;
- displayPropertyName?: string;
- valuePropertyName?: string;
- filterParamName?: string;
- }
-
- interface ExtensionPropertyUiTableDto {
- isVisible?: boolean;
- }
-
- interface FeatureDto {
- name?: string;
- displayName?: string;
- value?: string;
- provider?: FeatureProviderDto;
- description?: string;
- valueType?: IStringValueType;
- depth?: number;
- parentName?: string;
- }
-
- interface FeatureGroupDto {
- name?: string;
- displayName?: string;
- features?: FeatureDto[];
- }
-
- interface FeatureProviderDto {
- name?: string;
- key?: string;
- }
-
- interface FlexEnterpriseBankDto {
- id?: string;
- /** 寮�鎴疯 */
- openBank?: string;
- /** 寮�鎴锋敮琛� */
- openBranchBank?: string;
- /** 閾惰璐︽埛 */
- bankAccount?: string;
- verifyStatus?: VerifyStatus;
- flexEnterpirseId?: string;
- }
-
- type FlexEnterpriseCertificationStatus = 10 | -10;
-
- interface FlexEnterpriseDto {
- id?: string;
- /** 浼佷笟鍚嶇О */
- enterpriseName?: string;
- /** 娉曚汉濮撳悕 */
- legalPersonName?: string;
- /** 娉曚汉韬唤璇佸彿 */
- legalPersonIdNumber?: string;
- /** 璁よ瘉鑱旂郴浜� */
- contact?: string;
- /** 璁よ瘉鑱旂郴浜虹數璇� */
- contactPhone?: string;
- /** 绀句細缁熶竴淇$敤浠g爜 */
- societyCreditCode?: string;
- /** 鐪佷唤code */
- provinceCode?: number;
- /** 鐪佷唤鍚嶇О */
- proviceName?: string;
- /** 鍩庡競Code */
- cityCode?: number;
- /** 鍩庡競鍚嶇О */
- cityName?: string;
- status?: FlexEnterpriseStatus;
- settingStatus?: FlexEnterpriseSettingStatus;
- certificationStatus?: FlexEnterpriseCertificationStatus;
- /** 鎵�灞炶涓� */
- belongIndustryType?: string;
- enterpriseSignSettingDto?: EnterpriseSignSettingDto;
- flexEnterpriseBankDto?: FlexEnterpriseBankDto;
- flexEnterpriseMessageSettingDto?: FlexEnterpriseMessageSettingDto;
- }
-
- interface FlexEnterpriseDtoPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: FlexEnterpriseDto[];
- }
-
- interface FlexEnterpriseMessageSettingDto {
- id?: string;
- messageChannel?: MessageChannelEnum;
- /** 娑堟伅璐圭敤 */
- messageCost?: number;
- flexEnterpirseId?: string;
- }
-
- type FlexEnterpriseSettingStatus = 10 | -10;
-
- type FlexEnterpriseStatus = 10 | -10;
-
- interface FlexTaskAideDto {
- id?: string;
- aideType?: FlexTaskAideEnum;
- name?: string;
- imageUrl?: string;
- }
-
- type FlexTaskAideEnum = 10 | 20;
-
- type FlexTaskCheckAcceptStatusEnum = 10 | 20 | 30;
-
- type FlexTaskFeeTypeEnum = 10 | 20 | 30 | 40;
-
- interface FlexTaskListOutput {
- taskId?: string;
- /** 浠诲姟鍚嶇О */
- taskName?: string;
- releaseStatus?: FlexTaskReleaseStatusEnum;
- /** 瀹夋帓鐘舵�� */
- arrangeStatus?: boolean;
- /** 鍙戝竷鏃ユ湡 */
- startDate?: string;
- /** 缁撴潫鏃ユ湡 */
- endDate?: string;
- feeType?: FlexTaskFeeTypeEnum;
- settleType?: FlexTaskSettleTypeEnum;
- settleStatus?: SettleStatusEnum;
- /** 鏄惁鎺ㄨ崘 */
- isRecommend?: boolean;
- /** 缁撶畻鏂瑰紡 */
- fee?: number;
- /** 鎶ュ悕浜烘暟 */
- applyWorkerCount?: number;
- /** 鏄惁宸插畬鎴愰獙鏀� */
- isOverCheck?: boolean;
- overCheckStatus?: OverCheckStatusEnum;
- creationTime?: string;
- }
-
- interface FlexTaskListOutputPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: FlexTaskListOutput[];
- }
-
- type FlexTaskReleaseStatusEnum = 10 | 20;
-
- type FlexTaskSettleTypeEnum = 10 | 20 | 30;
-
- type FlexTaskWorkerHireEnum = 1 | 10 | 20 | 30 | 40;
-
- type FlexWorkerEleSignEnum = 10 | 20 | 30;
-
- type GenderTypeEnum = 1 | 2;
-
- interface GenerateUserNameInput {
- /** 鎵嬫満鍙� */
- phoneNumber: string;
- }
-
- interface GetAreaListInput {
- /** 1鐪� 2甯� 3鍖� 4闀� */
- layer?: number;
- /** 鐖剁骇缂栫爜 */
- parentCode?: number;
- }
-
- interface GetCollectVisitingCardListInput {
- pageModel?: Pagination;
- }
-
- interface GetCollectVisitingCardOutput {
- id?: string;
- enterpriseId?: string;
- userId?: string;
- name?: string;
- headPhoto?: string;
- phoneNum?: string;
- weChat?: string;
- jobName?: string;
- email?: string;
- companyName?: string;
- creationTime?: string;
- }
-
- interface GetCollectVisitingCardOutputPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: GetCollectVisitingCardOutput[];
- }
-
- interface GetFeatureListResultDto {
- groups?: FeatureGroupDto[];
- }
-
- interface GetFlexEnterpriseInput {
- pageModel?: Pagination;
- /** 浼佷笟鍚嶇О/娉曚汉/鑱旂郴浜� */
- searchWord?: string;
- flexEnterpriseSettingStatus?: FlexEnterpriseSettingStatus;
- }
-
- interface GetFlexSignWorkerListInput {
- pageModel?: Pagination;
- signStatus?: FlexWorkerEleSignEnum;
- }
-
- interface GetFlexTaskDetailForBackOutput {
- /** 浠诲姟Id */
- taskId?: string;
- /** 浠诲姟鍚嶇О */
- taskName?: string;
- isArrange?: boolean;
- startDate?: string;
- endDate?: string;
- feeType?: FlexTaskFeeTypeEnum;
- feeTypeName?: string;
- settleType?: FlexTaskSettleTypeEnum;
- /** 缁撶畻鏂瑰紡 */
- settleTypeName?: string;
- /** 绂忓埄 */
- taskWeals?: FlexTaskAideDto[];
- /** 璇佷功 */
- taskCerts?: FlexTaskAideDto[];
- /** 鏈嶅姟璐� */
- fee?: number;
- provinceId?: number;
- cityId?: number;
- areaId?: number;
- /** 鐪� */
- provinceName?: string;
- /** 甯� */
- cityName?: string;
- /** 鍖哄煙 */
- areaName?: string;
- /** 浠诲姟鍦扮偣 */
- address?: string;
- creationDate?: string;
- /** 鏈�灏忓勾榫� */
- minAge?: number;
- /** 鏈�澶у勾榫� */
- maxAge?: number;
- sexType?: GenderTypeEnum;
- }
-
- interface GetFlexTaskDtoOutput {
- taskId?: string;
- taskName?: string;
- isArrange?: boolean;
- startDate?: string;
- endDate?: string;
- feeType?: FlexTaskFeeTypeEnum;
- feeTypeName?: string;
- settleType?: FlexTaskSettleTypeEnum;
- settleTypeName?: string;
- taskWeals?: FlexTaskAideDto[];
- taskCerts?: FlexTaskAideDto[];
- fee?: number;
- provinceId?: number;
- cityId?: number;
- areaId?: number;
- provinceName?: string;
- cityName?: string;
- areaName?: string;
- address?: string;
- creationDate?: string;
- minAge?: number;
- maxAge?: number;
- sexType?: GenderTypeEnum;
- }
-
- interface GetFlexTaskForBackInput {
- pageModel?: Pagination;
- /** 浠诲姟鍚嶇О */
- taskName?: string;
- /** 鍙戝竷寮�濮嬫棩鏈� */
- startBeginDate?: string;
- /** 鍙戝竷缁撴潫鏃ユ湡 */
- startEndDate?: string;
- releaseStatus?: FlexTaskReleaseStatusEnum;
- /** 鏄惁鎺ㄨ崘 */
- isRecommend?: boolean;
- }
-
- interface GetFlexTaskListByStatusInput {
- pageModel?: Pagination;
- releaseStatus?: FlexTaskReleaseStatusEnum;
- }
-
- interface GetFlexTaskListInput {
- pageModel?: Pagination;
- /** 鏄惁宸插畨鎺掍换鍔� */
- isArrange?: boolean;
- /** 鏄惁宸查獙鏀� */
- isOverCheck?: boolean;
- }
-
- interface GetFlexTaskListOutput {
- taskId?: string;
- taskName?: string;
- isArrange?: boolean;
- isOverCheck?: boolean;
- releaseStatus?: FlexTaskReleaseStatusEnum;
- startDate?: string;
- endDate?: string;
- feeType?: FlexTaskFeeTypeEnum;
- feeTypeName?: string;
- settleType?: FlexTaskSettleTypeEnum;
- settleTypeName?: string;
- fee?: number;
- provinceName?: string;
- cityName?: string;
- areaName?: string;
- address?: string;
- applyWorkerCount?: number;
- creationTime?: string;
- }
-
- interface GetFlexTaskListOutputPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: GetFlexTaskListOutput[];
- }
-
- interface GetFlexTaskWorkerApplyListInput {
- pageModel?: Pagination;
- flexTaskId?: string;
- }
-
- interface GetFlexTaskWorkerArrangeListInput {
- pageModel?: Pagination;
- flexTaskId?: string;
- /** 濮撳悕韬唤璇佸彿 */
- searchKeys?: string;
- /** 鏄惁宸插畨鎺� */
- arrangStatus?: boolean;
- }
-
- interface GetFlexTaskWorkerCheckContentDtoInput {
- /** 浠诲姟Id */
- flexTaskId?: string;
- /** 鐏靛伐Id */
- flexWorkerId?: string;
- }
-
- interface GetFlexTaskWorkerCheckListInput {
- pageModel?: Pagination;
- /** 浠诲姟Id */
- flexTaskId?: string;
- checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum;
- }
-
- interface GetFlexTaskWorkerListInput {
- pageModel?: Pagination;
- flexTaskId?: string;
- }
-
- interface GetFlexWorkerRecordOutput {
- taskId?: string;
- workTime?: string;
- cityId?: string;
- cityName?: string;
- address?: string;
- taskName?: string;
- }
-
- interface GetNewestWorkerListInput {
- pageModel?: Pagination;
- /** 宀椾綅Id */
- expectationJobId?: string;
- genderType?: GenderTypeEnum;
- /** 韬唤 */
- socialIdentity?: string;
- minAge?: number;
- maxAge?: number;
- /** 璇佷功 */
- certificateTypeId?: string;
- }
-
- interface GetNewestWorkerListOutput {
- userId?: string;
- userResumeId?: string;
- name?: string;
- idNumber?: string;
- contactPhone?: string;
- isRealName?: boolean;
- age?: number;
- avatarUrl?: string;
- genderType?: GenderTypeEnum;
- educationalLevel?: string;
- socialIdentity?: string;
- jobIds?: string[];
- listExpectationJobName?: string[];
- certIds?: string[];
- listCertificateNames?: string[];
- userResumeLifeCircles?: string[];
- socialIdentityName?: string;
- eduLevelName?: string;
- arrangeCount?: number;
- workExperience?: string;
- freeTime?: UserResumeFreeTimeEnum;
- jobSeekingStatus?: UserResumeJobSeekingStatusEnum;
- creationTime?: string;
- lastModificationTime?: string;
- fristContractTime?: string;
- lastContractTime?: string;
- userSignStatus?: FlexWorkerEleSignEnum;
- enterSignStatus?: FlexWorkerEleSignEnum;
- hireStatus?: FlexTaskWorkerHireEnum;
- checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum;
- arrangeStatus?: boolean;
- applyTime?: string;
- height?: string;
- weight?: string;
- workRecordList?: GetFlexWorkerRecordOutput[];
- }
-
- interface GetNewestWorkerListOutputPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: GetNewestWorkerListOutput[];
- }
-
- interface GetPermissionListResultDto {
- entityDisplayName?: string;
- groups?: PermissionGroupDto[];
- }
-
- interface GetSearchSettingList {
- id?: string;
- parentId?: string;
- parentName?: string;
- belongType?: number;
- name?: string;
- sort?: number;
- status?: boolean;
- clickCount?: number;
- src?: string;
- isRecommend?: boolean;
- searchType?: number;
- }
-
- interface GetSearchSettingListInput {
- pageModel?: Pagination;
- searchType: number;
- belongType?: number;
- name?: string;
- isRecommend?: boolean;
- status?: boolean;
- parentId?: string;
- }
-
- interface GetSearchSettingListOutput {
- id?: string;
- name?: string;
- searchType?: number;
- url?: string;
- sort?: number;
- }
-
- interface GetSearchSettingListPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: GetSearchSettingList[];
- }
-
- interface GetTaskWorkerCheckContentOutput {
- /** 浠诲姟Id */
- flexTaskId?: string;
- /** 鐏靛伐Id */
- flexWorkerId?: string;
- /** 濮撳悕 */
- name?: string;
- /** 鑱旂郴鐢佃瘽 */
- contactPhone?: string;
- /** 鏄惁瀹炲悕 */
- isRealName?: boolean;
- /** 澶村儚 */
- avatarUrl?: string;
- /** 鎻愪氦楠屾敹鏃堕棿 */
- appleCheckTime?: string;
- /** 楠屾敹鍥剧墖璺緞 */
- checkImageUrl?: string;
- checkImageLists?: string[];
- checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum;
- }
-
- interface GetTypeSearchSettingList {
- id?: string;
- name?: string;
- src?: string;
- }
-
- interface GetTypeSearchSettingListInput {
- searchType: number;
- belongType?: number;
- }
-
- interface GetUserClientForBackInput {
- pageModel?: Pagination;
- /** 濮撳悕/鎵嬫満/韬唤璇佸彿/瀹㈡埛 */
- searchKeys?: string;
- /** 鏈�杩戝綍鐢ㄦ椂闂�--寮�濮� */
- nearlyHireDateTimeBegin?: string;
- /** 鏈�杩戝綍鐢ㄦ椂闂�--缁撴潫 */
- nearlyHireDateTimeEnd?: string;
- /** 鏈�杩戠绾︽椂闂�--寮�濮� */
- nearlySignDateTimeBegin?: string;
- /** 鏈�杩戠绾︽椂闂�--缁撴潫 */
- nearlySignDateTimeEnd?: string;
- /** 瀹炲悕鐘舵�� */
- realVerifyStatus?: boolean;
- }
-
- interface GetUserClientForBackOutput {
- userId?: string;
- userResumeId?: string;
- /** 濮撳悕 */
- name?: string;
- /** 韬唤璇佸彿 */
- idNumber?: string;
- /** 鎵嬫満鍙� */
- contactPhone?: string;
- /** 骞撮緞 */
- age?: number;
- genderType?: GenderTypeEnum;
- /** 甯搁┗鐪佷唤Code */
- residentProvinceCode?: number;
- /** 甯搁┗鍩庡競code */
- residentCityCode?: number;
- /** 甯搁┗鐪佷唤鍚嶇О */
- residentProvinceName?: string;
- /** 甯搁┗鍩庡競鍚嶇О */
- residentCityName?: string;
- /** 瀹炲悕鐘舵�� */
- realVerifyStatus?: boolean;
- /** 瀹炲悕鏃堕棿 */
- realVerifyTime?: string;
- nearlyWorkRecord?: NearlyFlexWorkerRecord;
- }
-
- interface GetUserClientForBackOutputPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: GetUserClientForBackOutput[];
- }
-
- interface GetUserClientSignListInput {
- pageModel?: Pagination;
- userId?: string;
- }
-
- interface GetUserDetailForBackOutput {
- userId?: string;
- userResumeId?: string;
- /** 濮撳悕 */
- name?: string;
- /** 韬唤璇佸彿 */
- idNumber?: string;
- /** 鎵嬫満鍙� */
- contactPhone?: string;
- /** 骞撮緞 */
- age?: number;
- /** 韬唤璇佹闈� */
- certificateFrontImgUrl?: string;
- /** 韬唤璇佸弽闈� */
- certificateBackImgUrl?: string;
- }
-
- interface GetWorkerListForBackOutput {
- userId?: string;
- /** 濮撳悕 */
- name?: string;
- /** 韬唤璇佸彿鐮� */
- idNumber?: string;
- /** 鐢佃瘽鍙风爜 */
- contactPhone?: string;
- /** 骞撮緞 */
- age?: number;
- genderType?: GenderTypeEnum;
- eduLevelName?: string;
- hireStatus?: FlexTaskWorkerHireEnum;
- }
-
- interface GetWorkerListForBackOutputPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: GetWorkerListForBackOutput[];
- }
-
- interface IanaTimeZone {
- timeZoneName?: string;
- }
-
- interface IdentityModelTokenCacheItem {
- accessToken?: string;
- expiresIn?: number;
- creationTime?: string;
- refreshToken?: string;
- }
-
- interface IdentityRoleCreateDto {
- extraProperties?: Record<string, any>;
- name: string;
- isDefault?: boolean;
- isPublic?: boolean;
- sequence?: number;
- note?: string;
- roleType?: number;
- isLeader?: boolean;
- }
-
- interface IdentityRoleDto {
- extraProperties?: Record<string, any>;
- id?: string;
- name?: string;
- isDefault?: boolean;
- isStatic?: boolean;
- isPublic?: boolean;
- concurrencyStamp?: string;
- sequence?: number;
- isEnable?: boolean;
- note?: string;
- roleType?: number;
- }
-
- interface IdentityRoleDtoListResultDto {
- items?: IdentityRoleDto[];
- }
-
- interface IdentityRoleDtoPagedResultDto {
- items?: IdentityRoleDto[];
- totalCount?: number;
- }
-
- interface IdentityRoleListInput {
- pageModel?: Pagination;
- name?: string;
- type?: number;
- roleIds?: string[];
- }
-
- interface IdentityRoleUpdateDto {
- extraProperties?: Record<string, any>;
- name: string;
- isDefault?: boolean;
- isPublic?: boolean;
- concurrencyStamp?: string;
- sequence?: number;
- isEnable?: boolean;
- roleType?: number;
- isLeader?: boolean;
- note?: string;
- isSetEnable?: boolean;
- }
-
- interface IdentityUserCreateDto {
- extraProperties?: Record<string, any>;
+ interface AuthPasswordLoginCommand {
+ /** 璐﹀彿 */
userName: string;
- name?: string;
- surname?: string;
- email?: string;
- phoneNumber?: string;
- lockoutEnabled?: boolean;
- sex?: number;
- roleNames?: string[];
- password?: string;
- versionId?: string;
- clientId?: string;
+ /** 瀵嗙爜 */
+ password: string;
+ type?: EnumUserType;
+ clientType?: EnumClientType;
}
- interface IdentityUserDto {
- extraProperties?: Record<string, any>;
+ enum EnumClientType {
+ /**鐢佃剳缃戦〉 */
+ PcWeb = 10,
+ /**寰俊灏忕▼搴� */
+ Wxmp = 20,
+ }
+
+ enum EnumMenuType {
+ /**鑿滃崟 */
+ Menu = 10,
+ /**椤甸潰 */
+ Page = 20,
+ /**妯℃�佹 */
+ Modal = 30,
+ /**鎸夐挳 */
+ Button = 40,
+ /**瀛楁 */
+ Field = 50,
+ }
+
+ enum EnumMenuVisitLevel {
+ /**鎵�鏈変汉 */
+ Everyone = 10,
+ /**闇�瑕佺櫥褰� */
+ NeedLogin = 20,
+ /**闇�瑕佹潈闄� */
+ NeedPower = 30,
+ }
+
+ enum EnumUserType {
+ /**涓汉 */
+ Personal = 10,
+ /**浼佷笟 */
+ Enterprise = 20,
+ /**杩愯惀 */
+ Operation = 100,
+ }
+
+ interface FriendlyResultAuthPasswordLoginCallback {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ data?: AuthPasswordLoginCallback;
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ errors?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
+ interface FriendlyResultGuid {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ /** 鏁版嵁 */
+ data?: string;
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ errors?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
+ interface FriendlyResultMenuListCallback {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ data?: MenuListCallback;
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ errors?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
+ interface FriendlyResultMenuSubListCallback {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ data?: MenuSubListCallback;
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ errors?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
+ interface MenuListCallback {
+ items?: MenuListCallbackItem[];
+ }
+
+ interface MenuListCallbackItem {
+ /** Id */
id?: string;
- creationTime?: string;
- creatorId?: string;
- lastModificationTime?: string;
- lastModifierId?: string;
- isDeleted?: boolean;
- deleterId?: string;
- deletionTime?: string;
- tenantId?: string;
- userName?: string;
- name?: string;
- surname?: string;
- email?: string;
- sex?: number;
- emailConfirmed?: boolean;
- phoneNumber?: string;
- phoneNumberConfirmed?: boolean;
- lockoutEnabled?: boolean;
- lockoutEnd?: string;
- concurrencyStamp?: string;
- clientId?: string;
- roles?: IdentityRoleDto[];
- }
-
- interface IdentityUserDtoPagedResultDto {
- items?: IdentityUserDto[];
- totalCount?: number;
- }
-
- interface IdentityUserDtoPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: IdentityUserDto[];
- }
-
- interface IdentityUserUpdateDto {
- extraProperties?: Record<string, any>;
- userName: string;
- name?: string;
- surname?: string;
- email?: string;
- phoneNumber?: string;
- lockoutEnabled?: boolean;
- sex?: number;
- roleNames?: string[];
- password?: string;
- concurrencyStamp?: string;
- }
-
- interface IdentityUserUpdateRolesDto {
- roleNames: string[];
- }
-
- interface IdNameOutput {
- id?: string;
- name?: string;
- }
-
- interface IStringValueType {
- name?: string;
- properties?: Record<string, any>;
- validator?: IValueValidator;
- }
-
- interface IValueValidator {
- name?: string;
- properties?: Record<string, any>;
- }
-
- interface KeyInput {
- id?: string;
- }
-
- interface KeyPageInput {
- pageModel?: Pagination;
- id?: string;
- }
-
- interface LanguageInfo {
- cultureName?: string;
- uiCultureName?: string;
- displayName?: string;
- flagIcon?: string;
- }
-
- interface LicenseOcrModel {
- name?: string;
- cardNum?: string;
- address?: string;
- type?: string;
- dateFrom?: string;
- dateTo?: string;
- societyCode?: string;
- registerMoney?: string;
- businessRange?: string;
- legalPerson?: string;
- }
-
- interface LocalizableStringDto {
- name?: string;
- resource?: string;
- }
-
- type MessageChannelEnum = 10 | 20;
-
- interface MethodParameterApiDescriptionModel {
- name?: string;
- typeAsString?: string;
- type?: string;
- typeSimple?: string;
- isOptional?: boolean;
- defaultValue?: any;
- }
-
- interface ModuleApiDescriptionModel {
- rootPath?: string;
- remoteServiceName?: string;
- controllers?: Record<string, any>;
- }
-
- interface ModuleButtonDto {
- id?: string;
- moduleId?: string;
+ /** 涓婄骇Id */
parentId?: string;
- icon?: string;
- enCode?: string;
- name?: string;
- actionAddress?: string;
- sortCode?: number;
- buttonType?: number;
- hasCheck?: boolean;
- }
-
- interface ModuleColumnDto {
- id?: string;
- moduleId?: string;
- parentId?: string;
- enCode?: string;
- name?: string;
- sortCode?: number;
- description?: string;
- width?: number;
- hasCheck?: boolean;
- apiName?: string;
- isShow?: boolean;
- realColumn?: string;
- }
-
- interface ModuleDto {
- id?: string;
- description?: string;
- sortCode?: number;
- enabledMark?: number;
- parentId?: string;
- name?: string;
- isCache?: boolean;
+ /** 鑿滃崟璺緞 */
path?: string;
- viewAddress?: string;
- levelNum?: number;
- enCode?: string;
- icon?: string;
- hasCheck?: boolean;
- isMenu?: number;
- parentModuleName?: string;
- }
-
- interface ModuleExtensionDto {
- entities?: Record<string, any>;
- configuration?: Record<string, any>;
- }
-
- interface ModuleTypeInfo {
- moduleType?: number;
- moduleId?: string;
- }
-
- interface MultiTenancyInfoDto {
- isEnabled?: boolean;
- }
-
- interface MyModuleDto {
- id?: string;
- description?: string;
- sortCode?: number;
- enabledMark?: number;
- parentId?: string;
- name?: string;
- isCache?: boolean;
- path?: string;
- viewAddress?: string;
- levelNum?: number;
- enCode?: string;
- icon?: string;
- hasCheck?: boolean;
- isMenu?: number;
- parentModuleName?: string;
- sequence?: number;
- }
-
- interface MyResumeOutput {
- resumeBaseInfo?: UserResumeBaseInfoOutput;
- resumeExpectationJob?: UserResumeExpectationJobOutput;
- resumeCertifiCate?: UserResumeCertificateListOutput;
- resumeCertifiDetail?: UserResumeCertificateDetailOutput;
- resumeDetailInfo?: UserResumeDetailInfoOutput;
- resumeWorkExperience?: UserResumeWorkExperienceOutput;
- /** 宸ヤ綔璁板綍 */
- resumeWorkRecordList?: UserResumeWorkerRecordOutput[];
- }
-
- interface MyVisitingCardOutput {
- id?: string;
- enterpriseId?: string;
- userId?: string;
- name?: string;
- headPhoto?: string;
- phoneNum?: string;
- weChat?: string;
- jobName?: string;
- email?: string;
- companyName?: string;
- provinceId?: string;
- cityId?: string;
- areaId?: string;
- provinceName?: string;
- cityName?: string;
- areaName?: string;
- address?: string;
- companyDesc?: string;
- }
-
- interface NameValue {
- name?: string;
- value?: string;
- }
-
- interface NearlyFlexWorkerRecord {
- taskId?: string;
- /** 鏈�杩戝綍鐢ㄦ椂闂� */
- nearlyHireDateTime?: string;
- /** 鏈�杩戠绾︽椂闂� */
- nearlySignDateTime?: string;
- /** 鎵�灞炲晢鎴� */
- enterpirseName?: string;
- }
-
- interface ObjectExtensionsDto {
- modules?: Record<string, any>;
- enums?: Record<string, any>;
- }
-
- interface OrderInput {
- property?: string;
- order?: OrderTypeEnum;
- }
-
- type OrderTypeEnum = 0 | 1;
-
- interface OssSTSReponse {
- expiration?: string;
- ossAccessSecret?: string;
- ossAccessKeyId?: string;
- securityToken?: string;
- requestId?: string;
- }
-
- type OverCheckStatusEnum = 10 | 20 | -10;
-
- interface PageInput {
- pageModel?: Pagination;
- }
-
- interface PageUserInput {
- pageModel?: Pagination;
- key?: string;
- roleType?: string;
- }
-
- interface Pagination {
- rows?: number;
- page?: number;
- orderInput?: OrderInput[];
- totalCount?: number;
- totalPage?: number;
- }
-
- interface ParameterApiDescriptionModel {
- nameOnMethod?: string;
- name?: string;
- jsonName?: string;
- type?: string;
- typeSimple?: string;
- isOptional?: boolean;
- defaultValue?: any;
- constraintTypes?: string[];
- bindingSourceId?: string;
- descriptorName?: string;
- }
-
- interface PasswordLoginInput {
- /** 鐧诲綍鍚� */
- loginName: string;
- /** 鐧诲綍瀵嗙爜 */
- password: string;
- }
-
- interface PermissionGrantInfoDto {
- name?: string;
- displayName?: string;
- parentName?: string;
- isGranted?: boolean;
- allowedProviders?: string[];
- grantedProviders?: ProviderInfoDto[];
- }
-
- interface PermissionGroupDto {
- name?: string;
- displayName?: string;
- permissions?: PermissionGrantInfoDto[];
- }
-
- interface PhoneMesssageCodeLoginInput {
- /** 鎵嬫満鍙� */
- phoneNumber: string;
- /** 楠岃瘉鐮� */
- code: string;
- type?: UserTypeEnum;
- }
-
- interface PhoneMesssageCodeRegisterInput {
- /** 鎵嬫満鍙� */
- phoneNumber: string;
- /** 楠岃瘉鐮� */
- code: string;
- type?: UserTypeEnum;
- }
-
- interface PhoneToken {
- phone?: string;
- phoneCode?: string;
- clientId?: string;
- }
-
- interface ProfileDto {
- extraProperties?: Record<string, any>;
- userName?: string;
- email?: string;
- name?: string;
- surname?: string;
- phoneNumber?: string;
- isExternal?: boolean;
- hasPassword?: boolean;
- }
-
- interface PropertyApiDescriptionModel {
- name?: string;
- jsonName?: string;
- type?: string;
- typeSimple?: string;
- isRequired?: boolean;
- }
-
- interface ProviderInfoDto {
- providerName?: string;
- providerKey?: string;
- }
-
- interface QrCodeLogin {
- /** 鎵爜鐧诲綍Id */
- uId?: string;
- /** 浜岀淮鐮佸湴鍧� */
- url?: string;
- }
-
- interface RegisterDto {
- extraProperties?: Record<string, any>;
- userName: string;
- emailAddress: string;
- sex?: number;
- password: string;
- appName: string;
- }
-
- interface RemoteServiceErrorInfo {
+ /** 缂栧彿 */
code?: string;
- message?: string;
- details?: string;
- data?: Record<string, any>;
- validationErrors?: RemoteServiceValidationErrorInfo[];
- }
-
- interface RemoteServiceErrorResponse {
- error?: RemoteServiceErrorInfo;
- }
-
- interface RemoteServiceValidationErrorInfo {
- message?: string;
- members?: string[];
- }
-
- interface ResetPasswordBaseInput {
- userId?: string;
- }
-
- interface ResetPasswordDto {
- userId?: string;
- resetToken: string;
- password: string;
- }
-
- interface ResetPassWordInput {
- userId?: string;
- name?: string;
- userName?: string;
- phoneNumber?: string;
- password?: string;
- }
-
- interface ReturnValueApiDescriptionModel {
- type?: string;
- typeSimple?: string;
- }
-
- interface RoleDto {
- /** 瑙掕壊Id */
- id?: string;
- /** 瑙掕壊鍚� */
- name?: string;
- }
-
- interface SaveUserResumeBaseInfoInput {
- name?: string;
- socialIdentity?: string;
- educationalLevel?: string;
- residentProvinceCode?: number;
- residentCityCode?: number;
- residentProvinceName?: string;
- residentCityName?: string;
- /** 鑱旂郴鐢佃瘽 */
- phoneNumber?: string;
- /** 澶村儚 */
- avatarUrl?: string;
- }
-
- interface SaveUserResumeCertificateInput {
- id?: string;
- certificateTypeId?: string;
- certificateNo?: string;
- beginTime?: string;
- endTime?: string;
- isPermanent?: boolean;
- certificateUnit?: string;
- certificateFrontImgUrl?: string;
- certificateBackImgUrl?: string;
- }
-
- interface SaveUserResumeDetailInfoInput {
- lifeCircleImgUrlList?: string[];
- height?: string;
- weight?: string;
- }
-
- interface SaveUserResumeExpectationJobInput {
- jobIdList?: string[];
- freeTime?: UserResumeFreeTimeEnum;
- jobSeekingStatus?: UserResumeJobSeekingStatusEnum;
- }
-
- interface SaveUserResumeWorkExperienceInput {
- workingSeniority?: string;
- workExperience?: string;
- }
-
- interface SearchConditionList {
- searchType?: number;
- belongType?: number;
- conditionList?: ConditionInfo[];
- }
-
- interface SendPasswordResetCodeDto {
- email: string;
- appName: string;
- returnUrl?: string;
- returnUrlHash?: string;
- }
-
- interface SendPhoneCertificationVerificationCodeInput {
- /** 濮撳悕 */
- name: string;
- /** 璇佷欢鍙风爜 */
- identity: string;
- /** 鐢ㄦ埛甯愬彿 */
- mobile: string;
- businessType?: VerificationCodeBusinessTypeEnum;
- }
-
- interface SendPhoneMessageBaseInput {
- messageType?: string;
- phoneNumber: string;
- }
-
- interface SendPhoneMesssageCodeInput {
- /** 鎵嬫満鍙� */
- phoneNumber: string;
- }
-
- interface SendPhoneVerificationCodeByBusinessTypeInput {
- /** 鎵嬫満鍙� */
- phoneNumber: string;
- businessType?: VerificationCodeBusinessTypeEnum;
- }
-
- interface SetFlexEnterpriseStatusInput {
- id?: string;
- status?: FlexEnterpriseStatus;
- }
-
- interface SetMyModule {
- moduleId?: string;
- sequence?: number;
- }
-
- interface SetMyModuleInput {
- moduleIds?: SetMyModule[];
- }
-
- interface SetPreViewCacheInput {
- preViewData?: string;
- }
-
- interface SetRecommendInput {
- id?: string;
- /** 鏄惁鎺ㄨ崘 */
- isRecommend?: boolean;
- }
-
- interface SetRoleUserInput {
- userId?: string[];
- roleId?: string;
- }
-
- type SettleStatusEnum = 10 | 20 | -10;
-
- interface SetUserRoleInput {
- userId?: string;
- roleName?: string[];
- extendId?: string;
- type?: number;
- }
-
- interface SetVersionModuleInput {
- versionId: string;
- modules: ModuleTypeInfo[];
- }
-
- type SignChannelEnum = 10 | 20;
-
- interface TaskWorkerArrangeInput {
- flexTaskId?: string;
- flexWorkerId?: string;
- arrange?: boolean;
- }
-
- interface TaskWorkerCheckAcceptStatusInput {
- flexTaskId?: string;
- flexWorkerId?: string;
- checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum;
- }
-
- interface TaskWorkerHireRefuseInput {
- flexTaskId?: string;
- flexWorkerId?: string;
- hireStatus?: FlexTaskWorkerHireEnum;
- }
-
- interface TenantDto {
- extraProperties?: Record<string, any>;
- id?: string;
- name?: string;
- }
-
- interface TenantDtoPagedResultDto {
- items?: TenantDto[];
- totalCount?: number;
- }
-
- interface TimeZone {
- iana?: IanaTimeZone;
- windows?: WindowsTimeZone;
- }
-
- interface TimingDto {
- timeZone?: TimeZone;
- }
-
- interface TypeApiDescriptionModel {
- baseType?: string;
- isEnum?: boolean;
- enumNames?: string[];
- enumValues?: any[];
- genericArguments?: string[];
- properties?: PropertyApiDescriptionModel[];
- }
-
- interface UnbindingUserPhoneNumber {
- userId?: string;
- }
-
- interface UpdateFeatureDto {
- name?: string;
- value?: string;
- }
-
- interface UpdateFeaturesDto {
- features?: UpdateFeatureDto[];
- }
-
- interface UpdatePassWordInput {
- id?: string;
- passWord?: string;
- code?: string;
- }
-
- interface UpdatePassWordInputWithNoCode {
- id?: string;
- passWord?: string;
- }
-
- interface UpdatePermissionDto {
- name?: string;
- isGranted?: boolean;
- }
-
- interface UpdatePermissionsDto {
- permissions?: UpdatePermissionDto[];
- }
-
- interface UpdateProfileDto {
- extraProperties?: Record<string, any>;
- userName?: string;
- email?: string;
- name?: string;
- surname?: string;
- phoneNumber?: string;
- }
-
- interface UpdateTaskReleaseStatusInput {
- taskId?: string;
- releaseStatus?: FlexTaskReleaseStatusEnum;
- }
-
- interface UserClientSignListOutput {
- /** 鎵�灞炲晢鎴� */
- enterpirseName?: string;
- /** 鎶ュ悕鏃堕棿 */
- applyTime?: string;
- enterSignStatus?: FlexWorkerEleSignEnum;
- /** 浼佷笟绛剧害鏃堕棿 */
- enterSignTime?: string;
- hireStatus?: FlexTaskWorkerHireEnum;
- /** 褰曠敤鏃堕棿 */
- hireDateTime?: string;
- userSignStatus?: FlexWorkerEleSignEnum;
- /** 鐏靛伐绛剧害鏃堕棿 */
- userSignTime?: string;
- /** 鐢靛瓙鍚堝悓 */
- contractUrl?: string;
- }
-
- interface UserClientSignListOutputPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: UserClientSignListOutput[];
- }
-
- interface UserData {
- id?: string;
- tenantId?: string;
- userName?: string;
- name?: string;
- surname?: string;
- email?: string;
- emailConfirmed?: boolean;
- phoneNumber?: string;
- phoneNumberConfirmed?: boolean;
- sex?: number;
- clientId?: string;
- creationTime?: string;
- lockoutEnd?: string;
- extraProperties?: Record<string, any>;
- lockoutEnabled?: boolean;
- }
-
- interface UserDataListResultDto {
- items?: UserData[];
- }
-
- interface UserDto {
- /** 鐢ㄦ埛Id */
- id?: string;
- /** 鐧诲綍鐢ㄦ埛鍚嶏紙璐﹀彿锛� */
- userName?: string;
/** 鍚嶇О */
name?: string;
- /** 鐢ㄦ埛鎵嬫満鍙� */
- phoneNumber?: string;
- /** 璐︽埛鏄惁閿佷綇锛堟槸鍚︾鐢級 */
- isLocked?: boolean;
- /** 瑙掕壊淇℃伅 */
- roles?: RoleDto[];
+ type?: EnumMenuType;
+ visitLevel?: EnumMenuVisitLevel;
+ /** 鍥炬爣 */
+ icon?: string;
+ /** 閾炬帴鍦板潃 */
+ url?: string;
+ /** 鏄惁绂佺敤 */
+ isDisabled?: boolean;
+ /** 鏄惁闅愯棌 */
+ isHidden?: boolean;
+ /** 鏄惁缂撳瓨 */
+ isCache?: boolean;
+ /** 鎺掑簭 */
+ sort?: number;
/** 澶囨敞 */
remark?: string;
- /** 缁勭粐鏋舵瀯鍏徃id */
- companyOrgId?: string;
- /** 缁勭粐鏋舵瀯閮ㄩ棬id */
- departmentOrgId?: string;
}
- interface UserResumeBaseInfoOutput {
- /** 濮撳悕 */
- name?: string;
- /** 鐢佃瘽鍙风爜 */
- phoneNumber?: string;
- /** 澶村儚 */
- avatarUrl?: string;
- genderType?: GenderTypeEnum;
- /** 骞撮緞 */
- age?: number;
- /** 涓婂矖娆℃暟 */
- arrangeCount?: number;
- /** 韬唤璇佸彿鐮� */
- idNumber?: string;
- /** 韬唤 */
- socialIdentity?: string;
- /** 韬唤鍚嶇О */
- socialIdentityName?: string;
- /** 瀛﹀巻 */
- educationalLevel?: string;
- /** 瀛﹀巻鍚嶇О */
- educationalLevelName?: string;
- /** 甯搁┗鐪佷唤Code */
- residentProvinceCode?: number;
- /** 甯搁┗鍩庡競code */
- residentCityCode?: number;
- /** 甯搁┗鐪佷唤鍚嶇О */
- residentProvinceName?: string;
- /** 甯搁┗鍩庡競鍚嶇О */
- residentCityName?: string;
+ interface MenuListQuery {
+ /** 涓婄骇Id */
+ parentId?: string;
+ /** 鍏抽敭瀛� */
+ keywords?: string;
}
- interface UserResumeCertificateDetailOutput {
- /** 绠�鍘嗚璇佽鎯匢d */
+ interface MenuSaveCommand {
+ /** Id */
id?: string;
- /** 鐢ㄦ埛绠�鍘咺d */
- userId?: string;
- /** 璁よ瘉绫诲埆Id */
- certificateTypeId?: string;
- /** 璁よ瘉璇佷欢鍙烽粯璁よ韩浠借瘉 */
- certificateNo?: string;
- /** 璇佷欢寮�濮嬫椂闂� */
- beginTime?: string;
- /** 璇佷欢缁撴潫鏃堕棿 */
- endTime?: string;
- /** 鏄惁姘镐箙 */
- isPermanent?: boolean;
- certificateUnit?: string;
- /** 韬唤璇佹闈� */
- certificateFrontImgUrl?: string;
- /** 韬唤璇佸弽闈� */
- certificateBackImgUrl?: string;
- }
-
- interface UserResumeCertificateListOutput {
- id?: string;
- /** 璇佷功Id */
- certificateTypeId?: string;
- /** 璇佷功鍚嶇О */
- certificateTypeName?: string;
- /** 宸ヤ綔绠�鍘咺d */
- userResumeId?: string;
- }
-
- interface UserResumeDetailInfoOutput {
- /** 韬珮 */
- height?: string;
- /** 浣撻噸 */
- weight?: string;
- /** 涓汉鐢熸椿鐓� */
- lifeCircleImgUrlList?: string[];
- }
-
- interface UserResumeExpectationJobOutput {
- /** 鏈熸湜宀椾綅鍒楄〃 */
- jobIdList?: IdNameOutput[];
- freeTime?: UserResumeFreeTimeEnum;
- jobSeekingStatus?: UserResumeJobSeekingStatusEnum;
- }
-
- type UserResumeFreeTimeEnum = 1 | 2 | 3 | 4 | 5;
-
- type UserResumeJobSeekingStatusEnum = 1 | 2 | 3;
-
- interface UserResumeWorkerRecordOutput {
- /** 宸ヤ綔鏃堕棿 */
- workTime?: string;
- /** 宸ヤ綔鍦扮偣 */
- workAddress?: string;
- /** 宸ヤ綔鍚嶇О */
- workName?: string;
- }
-
- interface UserResumeWorkExperienceOutput {
- /** 宸ヤ綔骞撮檺 */
- workingSeniority?: string;
- /** 宸ヤ綔缁忛獙 */
- workExperience?: string;
- }
-
- type UserTypeEnum = 1 | 2;
-
- type VerificationCodeBusinessTypeEnum = 10 | 11 | 20 | 30 | 40 | 70 | 900 | 910 | 920 | 930;
-
- type VerifyStatus = 10 | -10;
-
- interface VersionCache {
- name?: string;
- departmentCount?: number;
- apiCount?: number;
+ /** 涓婄骇Id */
+ parentId?: string;
+ /** 缂栧彿 */
+ code: string;
+ /** 鍚嶇О */
+ name: string;
+ type?: EnumMenuType;
+ visitLevel?: EnumMenuVisitLevel;
+ /** 鍥炬爣 */
+ icon?: string;
+ /** 閾炬帴鍦板潃 */
+ url?: string;
+ /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */
+ group?: string;
+ /** 浣嶇疆锛堢敤浜庢寜閽級 */
+ location?: string;
+ /** 鍒楀锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */
+ width?: string;
+ /** 鏄惁绂佺敤 */
+ isDisabled?: boolean;
+ /** 鏄惁闅愯棌 */
+ isHidden?: boolean;
+ /** 鏄惁缂撳瓨 */
+ isCache?: boolean;
+ /** 鎺掑簭 */
+ sort?: number;
+ /** 澶囨敞 */
remark?: string;
}
- interface VersionCreate {
+ interface MenuSubListCallback {
+ groups?: MenuSubListCallbackGroup[];
+ }
+
+ interface MenuSubListCallbackGroup {
+ /** 鍚嶇О */
name?: string;
- departmentCount?: number;
- apiCount?: number;
- sequence?: number;
+ /** 鎸夐挳 */
+ buttons?: MenuSubListCallbackItem[];
+ /** 瀛楁 */
+ fields?: MenuSubListCallbackItem[];
+ }
+
+ interface MenuSubListCallbackItem {
+ /** Id */
+ id?: string;
+ /** 涓婄骇Id */
+ parentId?: string;
+ /** 鑿滃崟璺緞 */
+ path?: string;
+ /** 缂栧彿 */
+ code?: string;
+ /** 鍚嶇О */
+ name?: string;
+ type?: EnumMenuType;
+ visitLevel?: EnumMenuVisitLevel;
+ /** 鍥炬爣 */
+ icon?: string;
+ /** 閾炬帴鍦板潃 */
+ url?: string;
+ /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */
+ group?: string;
+ /** 浣嶇疆锛堢敤浜庢寜閽級 */
+ location?: string;
+ /** 鍒楀锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */
+ width?: string;
+ /** 鏄惁绂佺敤 */
+ isDisabled?: boolean;
+ /** 鏄惁闅愯棌 */
+ isHidden?: boolean;
+ /** 鏄惁缂撳瓨 */
+ isCache?: boolean;
+ /** 鎺掑簭 */
+ sort?: number;
+ /** 澶囨敞 */
remark?: string;
}
- interface VersionDto {
- id?: string;
- name?: string;
- departmentCount?: number;
- apiCount?: number;
- sequence?: number;
- }
-
- interface VersionDtoPageOutput {
- pageModel?: Pagination;
- objectData?: any;
- data?: VersionDto[];
- }
-
- interface VersionUpdateInput {
- id?: string;
- name?: string;
- departmentCount?: number;
- apiCount?: number;
- remark?: string;
- sequence?: number;
- }
-
- interface WindowsTimeZone {
- timeZoneId?: string;
- }
-
- type WxMiniAppEnum = 10;
-
- interface WxMiniAppIndentityInfo {
- /** 浼氳瘽瀵嗛挜 */
- sessionKey?: string;
- /** 灏忕▼搴廜penId */
- openId?: string;
- /** 鐢ㄦ埛鍚嶏紙璇ュ�间负绌哄垯闇�鎵嬫満鎺堟潈鐧诲綍锛屼笉涓虹┖鍒欏凡鏈夎灏忕▼搴忕敤鎴凤級 */
- userName?: string;
- }
-
- interface WxMiniAppLoginInfo {
- /** 鐘舵�侊細-10锛氫簩缁寸爜杩囨湡/鐧诲綍鏃舵晥杩囨湡锛�0锛氱櫥褰曞垵濮�/浜岀淮鐮佸垵鐢熸垚锛�10锛氱櫥褰曠‘璁� */
- status?: number;
- /** 鐢ㄦ埛鍚� */
- userName?: string;
- accessToken?: IdentityModelTokenCacheItem;
- }
-
- interface WxMiniAppPhoneAuthLoginFromScanInput {
- /** 锛堟壂鐮侊級鐧诲綍Id */
- uId: string;
- /** 鍖呮嫭鏁忔劅鏁版嵁鍦ㄥ唴鐨勫畬鏁寸敤鎴蜂俊鎭殑鍔犲瘑鏁版嵁 */
- encryptedData: string;
- /** 鍔犲瘑绠楁硶鐨勫垵濮嬪悜閲� */
- iv: string;
- /** 鑾峰彇浼氳瘽瀵嗛挜 */
- sessionKey: string;
- /** 灏忕▼搴廜penId */
- openId: string;
- wxMiniApp?: WxMiniAppEnum;
- }
-
- interface WxMiniAppPhoneLoginInput {
- /** 鍖呮嫭鏁忔劅鏁版嵁鍦ㄥ唴鐨勫畬鏁寸敤鎴蜂俊鎭殑鍔犲瘑鏁版嵁 */
- encryptedData: string;
- /** 鍔犲瘑绠楁硶鐨勫垵濮嬪悜閲� */
- iv: string;
- /** 鑾峰彇浼氳瘽瀵嗛挜 */
- sessionKey: string;
- /** 灏忕▼搴廜penId */
- openId: string;
- wxMiniApp?: WxMiniAppEnum;
- }
-
- interface WxMiniAppUserLoginFromScanInput {
- /** 锛堟壂鐮侊級鐧诲綍Id */
- uId: string;
- /** 鐢ㄦ埛鍚� */
- userName: string;
- /** 灏忕▼搴廜penId */
- openId: string;
+ interface MenuSubListQuery {
+ /** 涓婄骇Id */
+ parentId?: string;
}
}
--
Gitblit v1.9.1