From 66d33a33b254d9db7a9dfa7c178d0aeb234f4fb8 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 08 八月 2025 14:13:43 +0800 Subject: [PATCH] fix: 修改 --- src/services/api/typings.d.ts | 178 +++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 159 insertions(+), 19 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index f99c072..5324984 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -105,6 +105,11 @@ clientType?: EnumClientType; } + interface APIgetUserResumeParams { + /** 鐢ㄦ埛Id */ + userId?: string; + } + interface DeleteDictionaryCategoryCommand { ids: string[]; } @@ -115,13 +120,6 @@ interface DeleteRoleCommand { ids: string[]; - } - - interface DictionaryDataQueryModel { - /** 缂栧彿 */ - code?: string; - /** 鍚嶇О */ - name?: string; } enum EnumBillingMethod { @@ -192,7 +190,7 @@ /**鐢ㄦ埛瑙掕壊 */ Role = 5, /**鐢ㄦ埛淇℃伅 */ - UserInfo = 6, + User = 6, /**浼佷笟淇℃伅 */ Enterprise = 7, } @@ -237,11 +235,45 @@ AliyunSms = 10, } + enum EnumSmsTemplateType { + /**鐧诲綍 */ + Login = 0, + /**娉ㄥ唽 */ + Register = 1, + /**淇敼瀵嗙爜 */ + UpdatePassword = 2, + /**缁戝畾鎵嬫満鍙风爜 */ + BindPhoneNumber = 3, + /**淇敼鎵嬫満鍙风爜 */ + UpdatePhoneNumber = 4, + } + + enum EnumTaskCheckReceiveStatus { + /**寰呴獙鏀� */ + Wait = 10, + /**宸查獙鏀� */ + Completed = 30, + } + + enum EnumTaskRecommendStatus { + /**鏈帹鑽� */ + No = 10, + /**宸叉帹鑽� */ + Yes = 20, + } + enum EnumTaskReleaseStatus { /**鍙戝竷涓� */ InProcess = 20, /**宸插仠姝� */ Stopped = 100, + } + + enum EnumTaskSettlementStatus { + /**寰呯粨绠� */ + Wait = 10, + /**宸茬粨绠� */ + Completed = 30, } enum EnumTaskStatus { @@ -258,7 +290,7 @@ Female = 20, } - enum EnumUserInfoStatus { + enum EnumUserStatus { /**姝e父 */ Normal = 10, /**绂佺敤 */ @@ -390,6 +422,24 @@ /** 閿欒鐮� */ errorCode?: string; data?: GetTaskInfoQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetUserResumeQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetUserResumeQueryResult; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ @@ -996,7 +1046,7 @@ remark?: string; /** 瑙掕壊 */ roles?: GetOperationUserInfosQueryResultItemRole[]; - status?: EnumUserInfoStatus; + status?: EnumUserStatus; } interface GetOperationUserInfosQueryResultItemRole { @@ -1102,6 +1152,12 @@ interface GetTaskInfoQueryResult { /** Id */ id?: string; + /** 浼佷笟Id */ + enterpriseId?: string; + /** 浼佷笟鍏ㄧО */ + enterpriseName?: string; + /** 鍦ㄦ嫑宀椾綅鏁伴噺 */ + taskCount?: number; /** 浠诲姟鍚嶇О */ name?: string; billingMethod?: EnumBillingMethod; @@ -1109,43 +1165,76 @@ serviceFee?: number; settlementCycle?: EnumSettlementCycle; /** 绂忓埄 */ - benefits?: DictionaryDataQueryModel[]; + benefits?: GetTaskInfoQueryResultBenefit[]; /** 骞撮緞鑼冨洿鏈�灏� */ ageMinLimit?: number; /** 骞撮緞鑼冨洿澶� */ ageMaxLimit?: number; genderLimit?: EnumUserGender; /** 璧勬牸璇佷功绫诲瀷 */ - credentialLimits?: DictionaryDataQueryModel[]; + credentialLimits?: GetTaskInfoQueryResultCredentialLimit[]; /** 浠诲姟鍦扮偣鎵�灞炵渷浠界紪鍙� */ provinceCode?: string; /** 浠诲姟鍦扮偣鎵�灞炵渷浠� */ - provinceName?: string; + provinceContent?: string; /** 浠诲姟鍦扮偣鎵�灞炲煄甯傜紪鍙� */ cityCode?: string; /** 浠诲姟鍦扮偣鎵�灞炲煄甯� */ - cityName?: string; + cityContent?: string; + /** 浠诲姟鍦扮偣鍚嶇О */ + addressName?: string; /** 浠诲姟鍦扮偣璇︾粏鍦板潃 */ - address?: string; + addressDetail?: string; + /** 缁忓害 */ + longitude?: number; + /** 绾害 */ + latitude?: number; /** 浠诲姟寮�濮嬫椂闂� */ beginTime?: string; /** 浠诲姟缁撴潫鏃堕棿 */ endTime?: string; /** 鍒涘缓鏃堕棿 */ createdTime?: string; + /** 鏄惁宸叉敹钘� */ + isCollected?: boolean; + } + + interface GetTaskInfoQueryResultBenefit { + /** 绂忓埄缂栧彿 */ + benefitCode?: string; + /** 绂忓埄 */ + benefitContent?: string; + } + + interface GetTaskInfoQueryResultCredentialLimit { + /** 璇佷功绫诲瀷缂栧彿 */ + typeCode?: string; + /** 璇佷功绫诲瀷 */ + typeContent?: string; } interface GetTaskInfosQuery { pageModel?: PagedListQueryPageModel; /** 鍏抽敭瀛楋紙浠诲姟鍚嶇О锛� */ keywords?: string; - /** 鍙戝竷鏃堕棿 */ - time?: string; + /** 鍙戝竷鏃堕棿-寮�濮� */ + beginTime?: string; + /** 鍙戝竷鏃堕棿-缁撴潫 */ + endTime?: string; + /** 浠诲姟鍦扮偣鎵�灞炲煄甯傜紪鍙� */ + cityCode?: string; + settlementCycle?: EnumSettlementCycle; + /** 鍛樺伐绂忓埄 */ + benefitCodes?: string[]; + genderLimit?: EnumUserGender; status?: EnumTaskStatus; releaseStatus?: EnumTaskReleaseStatus; + recommendStatus?: EnumTaskRecommendStatus; } interface GetTaskInfosQueryResultItem { + /** Id */ + id?: string; /** 浠诲姟鍚嶇О */ name: string; /** 浠诲姟鍗曞彿 */ @@ -1154,7 +1243,27 @@ /** 鏈嶅姟璐� */ serviceFee?: number; settlementCycle?: EnumSettlementCycle; + /** 绂忓埄 */ + benefits?: GetTaskInfoQueryResultBenefit[]; genderLimit?: EnumUserGender; + /** 璧勬牸璇佷功绫诲瀷 */ + credentialLimits?: GetTaskInfoQueryResultCredentialLimit[]; + /** 浠诲姟鍦扮偣鎵�灞炵渷浠界紪鍙� */ + provinceCode?: string; + /** 浠诲姟鍦扮偣鎵�灞炵渷浠� */ + provinceContent?: string; + /** 浠诲姟鍦扮偣鎵�灞炲煄甯傜紪鍙� */ + cityCode?: string; + /** 浠诲姟鍦扮偣鎵�灞炲煄甯� */ + cityContent?: string; + /** 浠诲姟鍦扮偣鍚嶇О */ + addressName?: string; + /** 浠诲姟鍦扮偣璇︾粏鍦板潃 */ + addressDetail?: string; + /** 缁忓害 */ + longitude?: number; + /** 绾害 */ + latitude?: number; /** 鎶ュ悕浜烘暟 */ userCount?: number; status?: EnumTaskStatus; @@ -1163,6 +1272,11 @@ /** 浠诲姟缁撴潫鏃堕棿 */ endTime?: string; releaseStatus?: EnumTaskReleaseStatus; + checkReceiveStatus?: EnumTaskCheckReceiveStatus; + settlementStatus?: EnumTaskSettlementStatus; + recommendStatus?: EnumTaskRecommendStatus; + /** 鍒涘缓鏃堕棿 */ + createdTime?: string; } interface GetUserInfoRolesQueryResultItem { @@ -1175,6 +1289,8 @@ /** 鏄惁閫変腑 */ isChecked?: boolean; } + + type GetUserResumeQueryResult = Record<string, any>; interface PagedListQueryPageModel { /** 琛屾暟 */ @@ -1492,8 +1608,14 @@ provinceCode: string; /** 浠诲姟鍦扮偣鎵�灞炲煄甯傜紪鍙� */ cityCode: string; + /** 浠诲姟鍦扮偣鍚嶇О */ + addressName: string; /** 浠诲姟鍦扮偣璇︾粏鍦板潃 */ - address: string; + addressDetail: string; + /** 缁忓害 */ + longitude?: number; + /** 绾害 */ + latitude?: number; /** 浠诲姟寮�濮嬫椂闂� */ beginTime: string; /** 浠诲姟缁撴潫鏃堕棿 */ @@ -1516,6 +1638,12 @@ label?: string; /** 鏁版嵁 */ data?: any; + } + + interface SendVerifyCodeCommand { + /** 鎵嬫満鍙风爜 */ + phoneNumber?: string; + templateCode?: EnumSmsTemplateType; } interface SetDictionaryDataIsDisabledCommand { @@ -1567,6 +1695,18 @@ userInfoIds?: string[]; } + interface SetTaskInfoRecommendStatusCommand { + /** Id */ + ids?: string[]; + recommendStatus?: EnumTaskRecommendStatus; + } + + interface SetTaskInfoReleaseStatusCommand { + /** Id */ + ids?: string[]; + releaseStatus?: EnumTaskReleaseStatus; + } + interface SetUserInfoRolesCommand { /** 鐢ㄦ埛Id */ userInfoId?: string; @@ -1577,7 +1717,7 @@ interface SetUserInfoStatusCommand { /** Id */ ids?: string[]; - status?: EnumUserInfoStatus; + status?: EnumUserStatus; } type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>; -- Gitblit v1.9.1