Переглянути джерело

chore: 🤓更新前端api代码

喵你个旺呀 1 рік тому
батько
коміт
bed06bcbbf
48 змінених файлів з 1066 додано та 861 видалено
  1. 9 9
      Web/src/api-plugins/approvalFlow/apis/approval-flow-api.ts
  2. 43 31
      Web/src/api-plugins/approvalFlow/models/add-approval-flow-input.ts
  3. 4 4
      Web/src/api-plugins/approvalFlow/models/base-id-input.ts
  4. 1 1
      Web/src/api-plugins/approvalFlow/models/index.ts
  5. 40 34
      Web/src/api-plugins/approvalFlow/models/update-approval-flow-input.ts
  6. 77 60
      Web/src/api-plugins/dingTalk/apis/ding-talk-api.ts
  7. 0 57
      Web/src/api-plugins/dingTalk/models/admin-result-ding-talk-base-response-get-ding-talk-current-employees-list-output.ts
  8. 11 11
      Web/src/api-plugins/dingTalk/models/admin-result-employee-query-on-job-response.ts
  9. 11 11
      Web/src/api-plugins/dingTalk/models/admin-result-get-access-token-response.ts
  10. 11 11
      Web/src/api-plugins/dingTalk/models/admin-result-roster-lists-query-response.ts
  11. 0 51
      Web/src/api-plugins/dingTalk/models/ding-talk-base-response-get-ding-talk-current-employees-list-output.ts
  12. 4 4
      Web/src/api-plugins/dingTalk/models/employee-query-on-job-response-result-domain.ts
  13. 20 20
      Web/src/api-plugins/dingTalk/models/employee-query-on-job-response.ts
  14. 14 14
      Web/src/api-plugins/dingTalk/models/field-data-domain.ts
  15. 11 11
      Web/src/api-plugins/dingTalk/models/field-value-domain.ts
  16. 32 0
      Web/src/api-plugins/dingTalk/models/get-access-token-response.ts
  17. 0 38
      Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-list-input.ts
  18. 0 38
      Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-roster-list-input.ts
  19. 0 44
      Web/src/api-plugins/dingTalk/models/get-ding-talk-token-output.ts
  20. 10 12
      Web/src/api-plugins/dingTalk/models/index.ts
  21. 18 12
      Web/src/api-plugins/dingTalk/models/result-domain.ts
  22. 27 0
      Web/src/api-plugins/dingTalk/models/roster-lists-query-response.ts
  23. 77 60
      Web/src/api-plugins/goView/apis/ding-talk-api.ts
  24. 0 57
      Web/src/api-plugins/goView/models/admin-result-ding-talk-base-response-get-ding-talk-current-employees-list-output.ts
  25. 57 0
      Web/src/api-plugins/goView/models/admin-result-employee-query-on-job-response.ts
  26. 11 11
      Web/src/api-plugins/goView/models/admin-result-get-access-token-response.ts
  27. 57 0
      Web/src/api-plugins/goView/models/admin-result-roster-lists-query-response.ts
  28. 0 51
      Web/src/api-plugins/goView/models/ding-talk-base-response-get-ding-talk-current-employees-list-output.ts
  29. 4 4
      Web/src/api-plugins/goView/models/employee-query-on-job-response-result-domain.ts
  30. 20 20
      Web/src/api-plugins/goView/models/employee-query-on-job-response.ts
  31. 14 14
      Web/src/api-plugins/goView/models/field-data-domain.ts
  32. 11 11
      Web/src/api-plugins/goView/models/field-value-domain.ts
  33. 32 0
      Web/src/api-plugins/goView/models/get-access-token-response.ts
  34. 0 38
      Web/src/api-plugins/goView/models/get-ding-talk-current-employees-list-input.ts
  35. 0 38
      Web/src/api-plugins/goView/models/get-ding-talk-current-employees-roster-list-input.ts
  36. 0 44
      Web/src/api-plugins/goView/models/get-ding-talk-token-output.ts
  37. 10 12
      Web/src/api-plugins/goView/models/index.ts
  38. 18 12
      Web/src/api-plugins/goView/models/result-domain.ts
  39. 27 0
      Web/src/api-plugins/goView/models/roster-lists-query-response.ts
  40. 85 0
      Web/src/api-services/apis/sys-common-api.ts
  41. 8 9
      Web/src/api-services/apis/sys-update-api.ts
  42. 57 0
      Web/src/api-services/models/admin-result-stress-test-output.ts
  43. 6 6
      Web/src/api-services/models/http-method.ts
  44. 5 1
      Web/src/api-services/models/index.ts
  45. 32 0
      Web/src/api-services/models/key-value-pair-string-string.ts
  46. 6 0
      Web/src/api-services/models/login-user-output.ts
  47. 76 0
      Web/src/api-services/models/stress-test-input.ts
  48. 110 0
      Web/src/api-services/models/stress-test-output.ts

+ 9 - 9
Web/src/api-plugins/approvalFlow/apis/approval-flow-api.ts

@@ -22,7 +22,7 @@ import { AdminResultInt64 } from '../models';
 import { AdminResultListApprovalFlowOutput } from '../models';
 import { AdminResultSqlSugarPagedListApprovalFlowOutput } from '../models';
 import { ApprovalFlowInput } from '../models';
-import { DeleteApprovalFlowInput } from '../models';
+import { BaseIdInput } from '../models';
 import { Filter } from '../models';
 import { FilterLogicEnum } from '../models';
 import { FilterOperatorEnum } from '../models';
@@ -84,11 +84,11 @@ export const ApprovalFlowApiAxiosParamCreator = function (configuration?: Config
         /**
          * 
          * @summary 删除审批流
-         * @param {DeleteApprovalFlowInput} [body] 
+         * @param {BaseIdInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiApprovalFlowDeletePost: async (body?: DeleteApprovalFlowInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+        apiApprovalFlowDeletePost: async (body?: BaseIdInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
             const localVarPath = `/api/approvalFlow/delete`;
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
@@ -474,11 +474,11 @@ export const ApprovalFlowApiFp = function(configuration?: Configuration) {
         /**
          * 
          * @summary 删除审批流
-         * @param {DeleteApprovalFlowInput} [body] 
+         * @param {BaseIdInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiApprovalFlowDeletePost(body?: DeleteApprovalFlowInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
+        async apiApprovalFlowDeletePost(body?: BaseIdInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
             const localVarAxiosArgs = await ApprovalFlowApiAxiosParamCreator(configuration).apiApprovalFlowDeletePost(body, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
@@ -592,11 +592,11 @@ export const ApprovalFlowApiFactory = function (configuration?: Configuration, b
         /**
          * 
          * @summary 删除审批流
-         * @param {DeleteApprovalFlowInput} [body] 
+         * @param {BaseIdInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiApprovalFlowDeletePost(body?: DeleteApprovalFlowInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
+        async apiApprovalFlowDeletePost(body?: BaseIdInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
             return ApprovalFlowApiFp(configuration).apiApprovalFlowDeletePost(body, options).then((request) => request(axios, basePath));
         },
         /**
@@ -688,12 +688,12 @@ export class ApprovalFlowApi extends BaseAPI {
     /**
      * 
      * @summary 删除审批流
-     * @param {DeleteApprovalFlowInput} [body] 
+     * @param {BaseIdInput} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof ApprovalFlowApi
      */
-    public async apiApprovalFlowDeletePost(body?: DeleteApprovalFlowInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
+    public async apiApprovalFlowDeletePost(body?: BaseIdInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
         return ApprovalFlowApiFp(this.configuration).apiApprovalFlowDeletePost(body, options).then((request) => request(this.axios, this.basePath));
     }
     /**

+ 43 - 31
Web/src/api-plugins/approvalFlow/models/add-approval-flow-input.ts

@@ -18,41 +18,17 @@
  */
 export interface AddApprovalFlowInput {
     /**
-     * 编号
-     * @type {string}
-     * @memberof AddApprovalFlowInput
-     */
-    code?: string | null;
-    /**
-     * 名称
-     * @type {string}
-     * @memberof AddApprovalFlowInput
-     */
-    name?: string | null;
-    /**
-     * 表单
-     * @type {string}
-     * @memberof AddApprovalFlowInput
-     */
-    formJson?: string | null;
-    /**
-     * 流程
-     * @type {string}
-     * @memberof AddApprovalFlowInput
-     */
-    flowJson?: string | null;
-    /**
-     * 备注
-     * @type {string}
+     * 雪花Id
+     * @type {number}
      * @memberof AddApprovalFlowInput
      */
-    remark?: string | null;
+    id?: number;
     /**
      * 创建时间
      * @type {Date}
      * @memberof AddApprovalFlowInput
      */
-    createTime?: Date | null;
+    createTime?: Date;
     /**
      * 更新时间
      * @type {Date}
@@ -83,6 +59,12 @@ export interface AddApprovalFlowInput {
      * @memberof AddApprovalFlowInput
      */
     updateUserName?: string | null;
+    /**
+     * 软删除
+     * @type {boolean}
+     * @memberof AddApprovalFlowInput
+     */
+    isDelete?: boolean;
     /**
      * 创建者部门Id
      * @type {number}
@@ -96,9 +78,39 @@ export interface AddApprovalFlowInput {
      */
     createOrgName?: string | null;
     /**
-     * 软删除
-     * @type {boolean}
+     * 编号
+     * @type {string}
+     * @memberof AddApprovalFlowInput
+     */
+    code?: string | null;
+    /**
+     * 表单
+     * @type {string}
+     * @memberof AddApprovalFlowInput
+     */
+    formJson?: string | null;
+    /**
+     * 流程
+     * @type {string}
+     * @memberof AddApprovalFlowInput
+     */
+    flowJson?: string | null;
+    /**
+     * 备注
+     * @type {string}
+     * @memberof AddApprovalFlowInput
+     */
+    remark?: string | null;
+    /**
+     * 名称
+     * @type {string}
+     * @memberof AddApprovalFlowInput
+     */
+    name: string;
+    /**
+     * 状态
+     * @type {number}
      * @memberof AddApprovalFlowInput
      */
-    isDelete: boolean;
+    status: number;
 }

+ 4 - 4
Web/src/api-plugins/approvalFlow/models/delete-approval-flow-input.ts → Web/src/api-plugins/approvalFlow/models/base-id-input.ts

@@ -12,15 +12,15 @@
  * Do not edit the class manually.
  */
 /**
- * 审批流删除输入参数
+ * 主键Id输入参数
  * @export
- * @interface DeleteApprovalFlowInput
+ * @interface BaseIdInput
  */
-export interface DeleteApprovalFlowInput {
+export interface BaseIdInput {
     /**
      * 主键Id
      * @type {number}
-     * @memberof DeleteApprovalFlowInput
+     * @memberof BaseIdInput
      */
     id: number;
 }

+ 1 - 1
Web/src/api-plugins/approvalFlow/models/index.ts

@@ -6,7 +6,7 @@ export * from './admin-result-sql-sugar-paged-list-approval-flow-output';
 export * from './approval-flow';
 export * from './approval-flow-input';
 export * from './approval-flow-output';
-export * from './delete-approval-flow-input';
+export * from './base-id-input';
 export * from './filter';
 export * from './filter-logic-enum';
 export * from './filter-operator-enum';

+ 40 - 34
Web/src/api-plugins/approvalFlow/models/update-approval-flow-input.ts

@@ -17,42 +17,12 @@
  * @interface UpdateApprovalFlowInput
  */
 export interface UpdateApprovalFlowInput {
-    /**
-     * 编号
-     * @type {string}
-     * @memberof UpdateApprovalFlowInput
-     */
-    code?: string | null;
-    /**
-     * 名称
-     * @type {string}
-     * @memberof UpdateApprovalFlowInput
-     */
-    name?: string | null;
-    /**
-     * 表单
-     * @type {string}
-     * @memberof UpdateApprovalFlowInput
-     */
-    formJson?: string | null;
-    /**
-     * 流程
-     * @type {string}
-     * @memberof UpdateApprovalFlowInput
-     */
-    flowJson?: string | null;
-    /**
-     * 备注
-     * @type {string}
-     * @memberof UpdateApprovalFlowInput
-     */
-    remark?: string | null;
     /**
      * 创建时间
      * @type {Date}
      * @memberof UpdateApprovalFlowInput
      */
-    createTime?: Date | null;
+    createTime?: Date;
     /**
      * 更新时间
      * @type {Date}
@@ -83,6 +53,12 @@ export interface UpdateApprovalFlowInput {
      * @memberof UpdateApprovalFlowInput
      */
     updateUserName?: string | null;
+    /**
+     * 软删除
+     * @type {boolean}
+     * @memberof UpdateApprovalFlowInput
+     */
+    isDelete?: boolean;
     /**
      * 创建者部门Id
      * @type {number}
@@ -96,11 +72,41 @@ export interface UpdateApprovalFlowInput {
      */
     createOrgName?: string | null;
     /**
-     * 软删除
-     * @type {boolean}
+     * 编号
+     * @type {string}
      * @memberof UpdateApprovalFlowInput
      */
-    isDelete?: boolean;
+    code?: string | null;
+    /**
+     * 名称
+     * @type {string}
+     * @memberof UpdateApprovalFlowInput
+     */
+    name?: string | null;
+    /**
+     * 表单
+     * @type {string}
+     * @memberof UpdateApprovalFlowInput
+     */
+    formJson?: string | null;
+    /**
+     * 流程
+     * @type {string}
+     * @memberof UpdateApprovalFlowInput
+     */
+    flowJson?: string | null;
+    /**
+     * 状态
+     * @type {number}
+     * @memberof UpdateApprovalFlowInput
+     */
+    status?: number | null;
+    /**
+     * 备注
+     * @type {string}
+     * @memberof UpdateApprovalFlowInput
+     */
+    remark?: string | null;
     /**
      * 主键Id
      * @type {number}

+ 77 - 60
Web/src/api-plugins/dingTalk/apis/ding-talk-api.ts

@@ -16,13 +16,11 @@ import { Configuration } from '../configuration';
 // Some imports not used depending on template conditions
 // @ts-ignore
 import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
-import { AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput } from '../models';
-import { AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo } from '../models';
 import { AdminResultDingTalkSendInteractiveCardsOutput } from '../models';
-import { AdminResultGetDingTalkTokenOutput } from '../models';
+import { AdminResultEmployeeQueryOnJobResponse } from '../models';
+import { AdminResultGetAccessTokenResponse } from '../models';
+import { AdminResultRosterListsQueryResponse } from '../models';
 import { DingTalkSendInteractiveCardsInput } from '../models';
-import { GetDingTalkCurrentEmployeesListInput } from '../models';
-import { GetDingTalkCurrentEmployeesRosterListInput } from '../models';
 /**
  * DingTalkApi - axios parameter creator
  * @export
@@ -32,22 +30,30 @@ export const DingTalkApiAxiosParamCreator = function (configuration?: Configurat
         /**
          * 
          * @summary 获取在职员工列表 🔖
-         * @param {GetDingTalkCurrentEmployeesListInput} body 
          * @param {string} accessToken 
+         * @param {number} size 
+         * @param {number} offset 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost: async (body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
-            // verify required parameter 'body' is not null or undefined
-            if (body === null || body === undefined) {
-                throw new RequiredError('body','Required parameter body was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost.');
-            }
+        apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost: async (accessToken: string, size: number, offset: number, body?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
             // verify required parameter 'accessToken' is not null or undefined
             if (accessToken === null || accessToken === undefined) {
-                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost.');
+                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost.');
+            }
+            // verify required parameter 'size' is not null or undefined
+            if (size === null || size === undefined) {
+                throw new RequiredError('size','Required parameter size was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost.');
+            }
+            // verify required parameter 'offset' is not null or undefined
+            if (offset === null || offset === undefined) {
+                throw new RequiredError('offset','Required parameter offset was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost.');
             }
-            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesList/{access_token}`
-                .replace(`{${"access_token"}}`, encodeURIComponent(String(accessToken)));
+            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesList/{accessToken}/{size}/{offset}`
+                .replace(`{${"accessToken"}}`, encodeURIComponent(String(accessToken)))
+                .replace(`{${"size"}}`, encodeURIComponent(String(size)))
+                .replace(`{${"offset"}}`, encodeURIComponent(String(offset)));
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
             let baseOptions;
@@ -90,22 +96,24 @@ export const DingTalkApiAxiosParamCreator = function (configuration?: Configurat
         /**
          * 
          * @summary 获取员工花名册字段信息 🔖
-         * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
          * @param {string} accessToken 
+         * @param {number} appAgentId 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost: async (body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
-            // verify required parameter 'body' is not null or undefined
-            if (body === null || body === undefined) {
-                throw new RequiredError('body','Required parameter body was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost.');
-            }
+        apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost: async (accessToken: string, appAgentId: number, body?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
             // verify required parameter 'accessToken' is not null or undefined
             if (accessToken === null || accessToken === undefined) {
-                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost.');
+                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost.');
+            }
+            // verify required parameter 'appAgentId' is not null or undefined
+            if (appAgentId === null || appAgentId === undefined) {
+                throw new RequiredError('appAgentId','Required parameter appAgentId was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost.');
             }
-            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesRosterList/{access_token}`
-                .replace(`{${"access_token"}}`, encodeURIComponent(String(accessToken)));
+            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesRosterList/{accessToken}/{appAgentId}`
+                .replace(`{${"accessToken"}}`, encodeURIComponent(String(accessToken)))
+                .replace(`{${"appAgentId"}}`, encodeURIComponent(String(appAgentId)));
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
             let baseOptions;
@@ -148,18 +156,18 @@ export const DingTalkApiAxiosParamCreator = function (configuration?: Configurat
         /**
          * 
          * @summary 发送钉钉互动卡片 🔖
-         * @param {string} token 
+         * @param {string} accessToken 
          * @param {DingTalkSendInteractiveCardsInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiDingTalkDingTalkSendInteractiveCardsTokenPost: async (token: string, body?: DingTalkSendInteractiveCardsInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
-            // verify required parameter 'token' is not null or undefined
-            if (token === null || token === undefined) {
-                throw new RequiredError('token','Required parameter token was null or undefined when calling apiDingTalkDingTalkSendInteractiveCardsTokenPost.');
+        apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost: async (accessToken: string, body?: DingTalkSendInteractiveCardsInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+            // verify required parameter 'accessToken' is not null or undefined
+            if (accessToken === null || accessToken === undefined) {
+                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost.');
             }
-            const localVarPath = `/api/dingTalk/dingTalkSendInteractiveCards/{token}`
-                .replace(`{${"token"}}`, encodeURIComponent(String(token)));
+            const localVarPath = `/api/dingTalk/dingTalkSendInteractiveCards/{accessToken}`
+                .replace(`{${"accessToken"}}`, encodeURIComponent(String(accessToken)));
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
             let baseOptions;
@@ -254,13 +262,15 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
         /**
          * 
          * @summary 获取在职员工列表 🔖
-         * @param {GetDingTalkCurrentEmployeesListInput} body 
          * @param {string} accessToken 
+         * @param {number} size 
+         * @param {number} offset 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput>>> {
-            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body, accessToken, options);
+        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken: string, size: number, offset: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultEmployeeQueryOnJobResponse>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken, size, offset, body, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                 return axios.request(axiosRequestArgs);
@@ -269,13 +279,14 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
         /**
          * 
          * @summary 获取员工花名册字段信息 🔖
-         * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
          * @param {string} accessToken 
+         * @param {number} appAgentId 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo>>> {
-            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body, accessToken, options);
+        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken: string, appAgentId: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultRosterListsQueryResponse>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken, appAgentId, body, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                 return axios.request(axiosRequestArgs);
@@ -284,13 +295,13 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
         /**
          * 
          * @summary 发送钉钉互动卡片 🔖
-         * @param {string} token 
+         * @param {string} accessToken 
          * @param {DingTalkSendInteractiveCardsInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkSendInteractiveCardsTokenPost(token: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>>> {
-            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkSendInteractiveCardsTokenPost(token, body, options);
+        async apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken, body, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                 return axios.request(axiosRequestArgs);
@@ -302,7 +313,7 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultGetDingTalkTokenOutput>>> {
+        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultGetAccessTokenResponse>>> {
             const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkTokenGet(options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
@@ -321,35 +332,38 @@ export const DingTalkApiFactory = function (configuration?: Configuration, baseP
         /**
          * 
          * @summary 获取在职员工列表 🔖
-         * @param {GetDingTalkCurrentEmployeesListInput} body 
          * @param {string} accessToken 
+         * @param {number} size 
+         * @param {number} offset 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput>> {
-            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body, accessToken, options).then((request) => request(axios, basePath));
+        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken: string, size: number, offset: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultEmployeeQueryOnJobResponse>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken, size, offset, body, options).then((request) => request(axios, basePath));
         },
         /**
          * 
          * @summary 获取员工花名册字段信息 🔖
-         * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
          * @param {string} accessToken 
+         * @param {number} appAgentId 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo>> {
-            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body, accessToken, options).then((request) => request(axios, basePath));
+        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken: string, appAgentId: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultRosterListsQueryResponse>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken, appAgentId, body, options).then((request) => request(axios, basePath));
         },
         /**
          * 
          * @summary 发送钉钉互动卡片 🔖
-         * @param {string} token 
+         * @param {string} accessToken 
          * @param {DingTalkSendInteractiveCardsInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkSendInteractiveCardsTokenPost(token: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>> {
-            return DingTalkApiFp(configuration).apiDingTalkDingTalkSendInteractiveCardsTokenPost(token, body, options).then((request) => request(axios, basePath));
+        async apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken, body, options).then((request) => request(axios, basePath));
         },
         /**
          * 
@@ -357,7 +371,7 @@ export const DingTalkApiFactory = function (configuration?: Configuration, baseP
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultGetDingTalkTokenOutput>> {
+        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultGetAccessTokenResponse>> {
             return DingTalkApiFp(configuration).apiDingTalkDingTalkTokenGet(options).then((request) => request(axios, basePath));
         },
     };
@@ -373,38 +387,41 @@ export class DingTalkApi extends BaseAPI {
     /**
      * 
      * @summary 获取在职员工列表 🔖
-     * @param {GetDingTalkCurrentEmployeesListInput} body 
      * @param {string} accessToken 
+     * @param {number} size 
+     * @param {number} offset 
+     * @param {Array<string>} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput>> {
-        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body, accessToken, options).then((request) => request(this.axios, this.basePath));
+    public async apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken: string, size: number, offset: number, body?: Array<string>, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultEmployeeQueryOnJobResponse>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken, size, offset, body, options).then((request) => request(this.axios, this.basePath));
     }
     /**
      * 
      * @summary 获取员工花名册字段信息 🔖
-     * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
      * @param {string} accessToken 
+     * @param {number} appAgentId 
+     * @param {Array<string>} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo>> {
-        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body, accessToken, options).then((request) => request(this.axios, this.basePath));
+    public async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken: string, appAgentId: number, body?: Array<string>, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultRosterListsQueryResponse>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken, appAgentId, body, options).then((request) => request(this.axios, this.basePath));
     }
     /**
      * 
      * @summary 发送钉钉互动卡片 🔖
-     * @param {string} token 
+     * @param {string} accessToken 
      * @param {DingTalkSendInteractiveCardsInput} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkSendInteractiveCardsTokenPost(token: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>> {
-        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkSendInteractiveCardsTokenPost(token, body, options).then((request) => request(this.axios, this.basePath));
+    public async apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken, body, options).then((request) => request(this.axios, this.basePath));
     }
     /**
      * 
@@ -413,7 +430,7 @@ export class DingTalkApi extends BaseAPI {
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultGetDingTalkTokenOutput>> {
+    public async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultGetAccessTokenResponse>> {
         return DingTalkApiFp(this.configuration).apiDingTalkDingTalkTokenGet(options).then((request) => request(this.axios, this.basePath));
     }
 }

+ 0 - 57
Web/src/api-plugins/dingTalk/models/admin-result-ding-talk-base-response-get-ding-talk-current-employees-list-output.ts

@@ -1,57 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * DingTalk
- * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
- *
- * OpenAPI spec version: 1.0.0
- * 
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- */
-import { DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput } from './ding-talk-base-response-get-ding-talk-current-employees-list-output';
-/**
- * 全局返回结果
- * @export
- * @interface AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
- */
-export interface AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput {
-    /**
-     * 状态码
-     * @type {number}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    code?: number;
-    /**
-     * 类型success、warning、error
-     * @type {string}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    type?: string | null;
-    /**
-     * 错误信息
-     * @type {string}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    message?: string | null;
-    /**
-     * 
-     * @type {DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    result?: DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput;
-    /**
-     * 附加数据
-     * @type {any}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    extras?: any | null;
-    /**
-     * 时间
-     * @type {Date}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    time?: Date;
-}

+ 11 - 11
Web/src/api-plugins/goView/models/admin-result-ding-talk-base-response-list-ding-talk-emp-roster-field-vo.ts → Web/src/api-plugins/dingTalk/models/admin-result-employee-query-on-job-response.ts

@@ -11,47 +11,47 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-import { DingTalkBaseResponseListDingTalkEmpRosterFieldVo } from './ding-talk-base-response-list-ding-talk-emp-roster-field-vo';
+import { EmployeeQueryOnJobResponse } from './employee-query-on-job-response';
 /**
  * 全局返回结果
  * @export
- * @interface AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+ * @interface AdminResultEmployeeQueryOnJobResponse
  */
-export interface AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo {
+export interface AdminResultEmployeeQueryOnJobResponse {
     /**
      * 状态码
      * @type {number}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof AdminResultEmployeeQueryOnJobResponse
      */
     code?: number;
     /**
      * 类型success、warning、error
      * @type {string}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof AdminResultEmployeeQueryOnJobResponse
      */
     type?: string | null;
     /**
      * 错误信息
      * @type {string}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof AdminResultEmployeeQueryOnJobResponse
      */
     message?: string | null;
     /**
      * 
-     * @type {DingTalkBaseResponseListDingTalkEmpRosterFieldVo}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @type {EmployeeQueryOnJobResponse}
+     * @memberof AdminResultEmployeeQueryOnJobResponse
      */
-    result?: DingTalkBaseResponseListDingTalkEmpRosterFieldVo;
+    result?: EmployeeQueryOnJobResponse;
     /**
      * 附加数据
      * @type {any}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof AdminResultEmployeeQueryOnJobResponse
      */
     extras?: any | null;
     /**
      * 时间
      * @type {Date}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof AdminResultEmployeeQueryOnJobResponse
      */
     time?: Date;
 }

+ 11 - 11
Web/src/api-plugins/goView/models/admin-result-get-ding-talk-token-output.ts → Web/src/api-plugins/dingTalk/models/admin-result-get-access-token-response.ts

@@ -11,47 +11,47 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-import { GetDingTalkTokenOutput } from './get-ding-talk-token-output';
+import { GetAccessTokenResponse } from './get-access-token-response';
 /**
  * 全局返回结果
  * @export
- * @interface AdminResultGetDingTalkTokenOutput
+ * @interface AdminResultGetAccessTokenResponse
  */
-export interface AdminResultGetDingTalkTokenOutput {
+export interface AdminResultGetAccessTokenResponse {
     /**
      * 状态码
      * @type {number}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @memberof AdminResultGetAccessTokenResponse
      */
     code?: number;
     /**
      * 类型success、warning、error
      * @type {string}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @memberof AdminResultGetAccessTokenResponse
      */
     type?: string | null;
     /**
      * 错误信息
      * @type {string}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @memberof AdminResultGetAccessTokenResponse
      */
     message?: string | null;
     /**
      * 
-     * @type {GetDingTalkTokenOutput}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @type {GetAccessTokenResponse}
+     * @memberof AdminResultGetAccessTokenResponse
      */
-    result?: GetDingTalkTokenOutput;
+    result?: GetAccessTokenResponse;
     /**
      * 附加数据
      * @type {any}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @memberof AdminResultGetAccessTokenResponse
      */
     extras?: any | null;
     /**
      * 时间
      * @type {Date}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @memberof AdminResultGetAccessTokenResponse
      */
     time?: Date;
 }

+ 11 - 11
Web/src/api-plugins/dingTalk/models/admin-result-ding-talk-base-response-list-ding-talk-emp-roster-field-vo.ts → Web/src/api-plugins/dingTalk/models/admin-result-roster-lists-query-response.ts

@@ -11,47 +11,47 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-import { DingTalkBaseResponseListDingTalkEmpRosterFieldVo } from './ding-talk-base-response-list-ding-talk-emp-roster-field-vo';
+import { RosterListsQueryResponse } from './roster-lists-query-response';
 /**
  * 全局返回结果
  * @export
- * @interface AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+ * @interface AdminResultRosterListsQueryResponse
  */
-export interface AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo {
+export interface AdminResultRosterListsQueryResponse {
     /**
      * 状态码
      * @type {number}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof AdminResultRosterListsQueryResponse
      */
     code?: number;
     /**
      * 类型success、warning、error
      * @type {string}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof AdminResultRosterListsQueryResponse
      */
     type?: string | null;
     /**
      * 错误信息
      * @type {string}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof AdminResultRosterListsQueryResponse
      */
     message?: string | null;
     /**
      * 
-     * @type {DingTalkBaseResponseListDingTalkEmpRosterFieldVo}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @type {RosterListsQueryResponse}
+     * @memberof AdminResultRosterListsQueryResponse
      */
-    result?: DingTalkBaseResponseListDingTalkEmpRosterFieldVo;
+    result?: RosterListsQueryResponse;
     /**
      * 附加数据
      * @type {any}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof AdminResultRosterListsQueryResponse
      */
     extras?: any | null;
     /**
      * 时间
      * @type {Date}
-     * @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof AdminResultRosterListsQueryResponse
      */
     time?: Date;
 }

+ 0 - 51
Web/src/api-plugins/dingTalk/models/ding-talk-base-response-get-ding-talk-current-employees-list-output.ts

@@ -1,51 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * DingTalk
- * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
- *
- * OpenAPI spec version: 1.0.0
- * 
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- */
-import { GetDingTalkCurrentEmployeesListOutput } from './get-ding-talk-current-employees-list-output';
-/**
- * 钉钉基础响应结果
- * @export
- * @interface DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
- */
-export interface DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput {
-    /**
-     * 
-     * @type {GetDingTalkCurrentEmployeesListOutput}
-     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    result?: GetDingTalkCurrentEmployeesListOutput;
-    /**
-     * 返回码
-     * @type {number}
-     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    errCode?: number;
-    /**
-     * 返回码描述。
-     * @type {string}
-     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    errMsg?: string | null;
-    /**
-     * 是否调用成功
-     * @type {boolean}
-     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    success?: boolean;
-    /**
-     * 请求Id
-     * @type {string}
-     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    requestId?: string | null;
-}

+ 4 - 4
Web/src/api-plugins/goView/models/get-ding-talk-current-employees-list-output.ts → Web/src/api-plugins/dingTalk/models/employee-query-on-job-response-result-domain.ts

@@ -14,19 +14,19 @@
 /**
  * 
  * @export
- * @interface GetDingTalkCurrentEmployeesListOutput
+ * @interface EmployeeQueryOnJobResponseResultDomain
  */
-export interface GetDingTalkCurrentEmployeesListOutput {
+export interface EmployeeQueryOnJobResponseResultDomain {
     /**
      * 查询到的员工userId列表
      * @type {Array<string>}
-     * @memberof GetDingTalkCurrentEmployeesListOutput
+     * @memberof EmployeeQueryOnJobResponseResultDomain
      */
     dataList?: Array<string> | null;
     /**
      * 下一次分页调用的offset值,当返回结果里没有next_cursor时,表示分页结束。
      * @type {number}
-     * @memberof GetDingTalkCurrentEmployeesListOutput
+     * @memberof EmployeeQueryOnJobResponseResultDomain
      */
     nextCursor?: number | null;
 }

+ 20 - 20
Web/src/api-plugins/goView/models/ding-talk-base-response-list-ding-talk-emp-roster-field-vo.ts → Web/src/api-plugins/dingTalk/models/employee-query-on-job-response.ts

@@ -11,41 +11,41 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-import { DingTalkEmpRosterFieldVo } from './ding-talk-emp-roster-field-vo';
+import { EmployeeQueryOnJobResponseResultDomain } from './employee-query-on-job-response-result-domain';
 /**
- * 钉钉基础响应结果
+ * 
  * @export
- * @interface DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+ * @interface EmployeeQueryOnJobResponse
  */
-export interface DingTalkBaseResponseListDingTalkEmpRosterFieldVo {
+export interface EmployeeQueryOnJobResponse {
     /**
-     * 返回结果
-     * @type {Array<DingTalkEmpRosterFieldVo>}
-     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * 返回码描述=ok
+     * @type {string}
+     * @memberof EmployeeQueryOnJobResponse
      */
-    result?: Array<DingTalkEmpRosterFieldVo> | null;
+    errMsg?: string | null;
     /**
-     * 返回码
+     * 返回码=0
      * @type {number}
-     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof EmployeeQueryOnJobResponse
      */
     errCode?: number;
     /**
-     * 返回码描述。
-     * @type {string}
-     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
-     */
-    errMsg?: string | null;
-    /**
-     * 是否调用成功
+     * 接口调用是否成功
      * @type {boolean}
-     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof EmployeeQueryOnJobResponse
      */
     success?: boolean;
     /**
-     * 请求Id
+     * 
      * @type {string}
-     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof EmployeeQueryOnJobResponse
      */
     requestId?: string | null;
+    /**
+     * 
+     * @type {EmployeeQueryOnJobResponseResultDomain}
+     * @memberof EmployeeQueryOnJobResponse
+     */
+    result?: EmployeeQueryOnJobResponseResultDomain;
 }

+ 14 - 14
Web/src/api-plugins/goView/models/ding-talk-emp-field-data-vo.ts → Web/src/api-plugins/dingTalk/models/field-data-domain.ts

@@ -11,35 +11,35 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-import { DingTalkFieldValueVo } from './ding-talk-field-value-vo';
+import { FieldValueDomain } from './field-value-domain';
 /**
  * 
  * @export
- * @interface DingTalkEmpFieldDataVo
+ * @interface FieldDataDomain
  */
-export interface DingTalkEmpFieldDataVo {
+export interface FieldDataDomain {
     /**
-     * 字段名称
+     * 字段标识
      * @type {string}
-     * @memberof DingTalkEmpFieldDataVo
+     * @memberof FieldDataDomain
      */
-    fieldName?: string | null;
+    fieldCode?: string | null;
     /**
-     * 字段标识
+     * 字段名称
      * @type {string}
-     * @memberof DingTalkEmpFieldDataVo
+     * @memberof FieldDataDomain
      */
-    fieldCode?: string | null;
+    fieldName?: string | null;
     /**
      * 分组标识
      * @type {string}
-     * @memberof DingTalkEmpFieldDataVo
+     * @memberof FieldDataDomain
      */
     groupId?: string | null;
     /**
-     * 
-     * @type {Array<DingTalkFieldValueVo>}
-     * @memberof DingTalkEmpFieldDataVo
+     * 字段值列表
+     * @type {Array<FieldValueDomain>}
+     * @memberof FieldDataDomain
      */
-    fieldValueList?: Array<DingTalkFieldValueVo> | null;
+    fieldValueList?: Array<FieldValueDomain> | null;
 }

+ 11 - 11
Web/src/api-plugins/goView/models/ding-talk-field-value-vo.ts → Web/src/api-plugins/dingTalk/models/field-value-domain.ts

@@ -14,25 +14,25 @@
 /**
  * 
  * @export
- * @interface DingTalkFieldValueVo
+ * @interface FieldValueDomain
  */
-export interface DingTalkFieldValueVo {
+export interface FieldValueDomain {
     /**
-     * 第几条的明细标识,下标从0开始
-     * @type {number}
-     * @memberof DingTalkFieldValueVo
+     * 字段取值,选项类型字段对应选项的key
+     * @type {string}
+     * @memberof FieldValueDomain
      */
-    itemIndex?: number;
+    value?: string | null;
     /**
      * 字段展示值,选项类型字段对应选项的value
      * @type {string}
-     * @memberof DingTalkFieldValueVo
+     * @memberof FieldValueDomain
      */
     label?: string | null;
     /**
-     * 字段取值,选项类型字段对应选项的key
-     * @type {string}
-     * @memberof DingTalkFieldValueVo
+     * 第几条的明细标识,下标从0开始
+     * @type {number}
+     * @memberof FieldValueDomain
      */
-    value?: string | null;
+    itemIndex?: number;
 }

+ 32 - 0
Web/src/api-plugins/dingTalk/models/get-access-token-response.ts

@@ -0,0 +1,32 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * DingTalk
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+/**
+ * 
+ * @export
+ * @interface GetAccessTokenResponse
+ */
+export interface GetAccessTokenResponse {
+    /**
+     * 生成的accessToken
+     * @type {string}
+     * @memberof GetAccessTokenResponse
+     */
+    accessToken?: string | null;
+    /**
+     * accessToken的过期时间,单位秒
+     * @type {number}
+     * @memberof GetAccessTokenResponse
+     */
+    expireIn?: number;
+}

+ 0 - 38
Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-list-input.ts

@@ -1,38 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * DingTalk
- * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
- *
- * OpenAPI spec version: 1.0.0
- * 
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- */
-/**
- * 获取在职员工列表参数
- * @export
- * @interface GetDingTalkCurrentEmployeesListInput
- */
-export interface GetDingTalkCurrentEmployeesListInput {
-    /**
-     * 在职员工状态筛选,可以查询多个状态。不同状态之间使用英文逗号分隔。2:试用期、3:正式、5:待离职、-1:无状态
-     * @type {string}
-     * @memberof GetDingTalkCurrentEmployeesListInput
-     */
-    statusList?: string | null;
-    /**
-     * 分页游标,从0开始。根据返回结果里的next_cursor是否为空来判断是否还有下一页,且再次调用时offset设置成next_cursor的值。
-     * @type {number}
-     * @memberof GetDingTalkCurrentEmployeesListInput
-     */
-    offset?: number;
-    /**
-     * 分页大小,最大50。
-     * @type {number}
-     * @memberof GetDingTalkCurrentEmployeesListInput
-     */
-    size?: number;
-}

+ 0 - 38
Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-roster-list-input.ts

@@ -1,38 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * DingTalk
- * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
- *
- * OpenAPI spec version: 1.0.0
- * 
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- */
-/**
- * 
- * @export
- * @interface GetDingTalkCurrentEmployeesRosterListInput
- */
-export interface GetDingTalkCurrentEmployeesRosterListInput {
-    /**
-     * 员工的userId列表,多个userid之间使用逗号分隔,一次最多支持传100个值。
-     * @type {string}
-     * @memberof GetDingTalkCurrentEmployeesRosterListInput
-     */
-    useridList?: string | null;
-    /**
-     * 需要获取的花名册字段field_code值列表,多个字段之间使用逗号分隔,一次最多支持传100个值。
-     * @type {string}
-     * @memberof GetDingTalkCurrentEmployeesRosterListInput
-     */
-    fieldFilterList?: string | null;
-    /**
-     * 应用的AgentId
-     * @type {string}
-     * @memberof GetDingTalkCurrentEmployeesRosterListInput
-     */
-    agentid?: string | null;
-}

+ 0 - 44
Web/src/api-plugins/dingTalk/models/get-ding-talk-token-output.ts

@@ -1,44 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * DingTalk
- * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
- *
- * OpenAPI spec version: 1.0.0
- * 
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- */
-/**
- * 
- * @export
- * @interface GetDingTalkTokenOutput
- */
-export interface GetDingTalkTokenOutput {
-    /**
-     * 生成的access_token
-     * @type {string}
-     * @memberof GetDingTalkTokenOutput
-     */
-    accessToken?: string | null;
-    /**
-     * access_token的过期时间,单位秒
-     * @type {number}
-     * @memberof GetDingTalkTokenOutput
-     */
-    expiresIn?: number;
-    /**
-     * 返回码描述
-     * @type {string}
-     * @memberof GetDingTalkTokenOutput
-     */
-    errMsg?: string | null;
-    /**
-     * 返回码
-     * @type {number}
-     * @memberof GetDingTalkTokenOutput
-     */
-    errCode?: number;
-}

+ 10 - 12
Web/src/api-plugins/dingTalk/models/index.ts

@@ -1,19 +1,17 @@
-export * from './admin-result-ding-talk-base-response-get-ding-talk-current-employees-list-output';
-export * from './admin-result-ding-talk-base-response-list-ding-talk-emp-roster-field-vo';
 export * from './admin-result-ding-talk-send-interactive-cards-output';
-export * from './admin-result-get-ding-talk-token-output';
-export * from './ding-talk-base-response-get-ding-talk-current-employees-list-output';
-export * from './ding-talk-base-response-list-ding-talk-emp-roster-field-vo';
+export * from './admin-result-employee-query-on-job-response';
+export * from './admin-result-get-access-token-response';
+export * from './admin-result-roster-lists-query-response';
 export * from './ding-talk-card-data';
 export * from './ding-talk-card-param-map';
 export * from './ding-talk-conversation-type-enum';
-export * from './ding-talk-emp-field-data-vo';
-export * from './ding-talk-emp-roster-field-vo';
-export * from './ding-talk-field-value-vo';
 export * from './ding-talk-send-interactive-cards-input';
 export * from './ding-talk-send-interactive-cards-output';
 export * from './ding-talk-send-interactive-cards-result';
-export * from './get-ding-talk-current-employees-list-input';
-export * from './get-ding-talk-current-employees-list-output';
-export * from './get-ding-talk-current-employees-roster-list-input';
-export * from './get-ding-talk-token-output';
+export * from './employee-query-on-job-response';
+export * from './employee-query-on-job-response-result-domain';
+export * from './field-data-domain';
+export * from './field-value-domain';
+export * from './get-access-token-response';
+export * from './result-domain';
+export * from './roster-lists-query-response';

+ 18 - 12
Web/src/api-plugins/dingTalk/models/ding-talk-emp-roster-field-vo.ts → Web/src/api-plugins/dingTalk/models/result-domain.ts

@@ -11,29 +11,35 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-import { DingTalkEmpFieldDataVo } from './ding-talk-emp-field-data-vo';
+import { FieldDataDomain } from './field-data-domain';
 /**
  * 
  * @export
- * @interface DingTalkEmpRosterFieldVo
+ * @interface ResultDomain
  */
-export interface DingTalkEmpRosterFieldVo {
+export interface ResultDomain {
     /**
-     * 企业的corpid
+     * 企业的corpId
      * @type {string}
-     * @memberof DingTalkEmpRosterFieldVo
+     * @memberof ResultDomain
      */
     corpId?: string | null;
     /**
-     * 返回的字段信息列表
-     * @type {Array<DingTalkEmpFieldDataVo>}
-     * @memberof DingTalkEmpRosterFieldVo
+     * 员工的userId
+     * @type {string}
+     * @memberof ResultDomain
      */
-    fieldDataList?: Array<DingTalkEmpFieldDataVo> | null;
+    userId?: string | null;
     /**
-     * 员工的userid
+     * 暂未开放
      * @type {string}
-     * @memberof DingTalkEmpRosterFieldVo
+     * @memberof ResultDomain
+     */
+    unionId?: string | null;
+    /**
+     * 返回的字段信息列表
+     * @type {Array<FieldDataDomain>}
+     * @memberof ResultDomain
      */
-    userid?: string | null;
+    fieldDataList?: Array<FieldDataDomain> | null;
 }

+ 27 - 0
Web/src/api-plugins/dingTalk/models/roster-lists-query-response.ts

@@ -0,0 +1,27 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * DingTalk
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+import { ResultDomain } from './result-domain';
+/**
+ * 
+ * @export
+ * @interface RosterListsQueryResponse
+ */
+export interface RosterListsQueryResponse {
+    /**
+     * 结果列表
+     * @type {Array<ResultDomain>}
+     * @memberof RosterListsQueryResponse
+     */
+    result?: Array<ResultDomain> | null;
+}

+ 77 - 60
Web/src/api-plugins/goView/apis/ding-talk-api.ts

@@ -16,13 +16,11 @@ import { Configuration } from '../configuration';
 // Some imports not used depending on template conditions
 // @ts-ignore
 import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
-import { AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput } from '../models';
-import { AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo } from '../models';
 import { AdminResultDingTalkSendInteractiveCardsOutput } from '../models';
-import { AdminResultGetDingTalkTokenOutput } from '../models';
+import { AdminResultEmployeeQueryOnJobResponse } from '../models';
+import { AdminResultGetAccessTokenResponse } from '../models';
+import { AdminResultRosterListsQueryResponse } from '../models';
 import { DingTalkSendInteractiveCardsInput } from '../models';
-import { GetDingTalkCurrentEmployeesListInput } from '../models';
-import { GetDingTalkCurrentEmployeesRosterListInput } from '../models';
 /**
  * DingTalkApi - axios parameter creator
  * @export
@@ -32,22 +30,30 @@ export const DingTalkApiAxiosParamCreator = function (configuration?: Configurat
         /**
          * 
          * @summary 获取在职员工列表 🔖
-         * @param {GetDingTalkCurrentEmployeesListInput} body 
          * @param {string} accessToken 
+         * @param {number} size 
+         * @param {number} offset 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost: async (body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
-            // verify required parameter 'body' is not null or undefined
-            if (body === null || body === undefined) {
-                throw new RequiredError('body','Required parameter body was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost.');
-            }
+        apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost: async (accessToken: string, size: number, offset: number, body?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
             // verify required parameter 'accessToken' is not null or undefined
             if (accessToken === null || accessToken === undefined) {
-                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost.');
+                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost.');
+            }
+            // verify required parameter 'size' is not null or undefined
+            if (size === null || size === undefined) {
+                throw new RequiredError('size','Required parameter size was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost.');
+            }
+            // verify required parameter 'offset' is not null or undefined
+            if (offset === null || offset === undefined) {
+                throw new RequiredError('offset','Required parameter offset was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost.');
             }
-            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesList/{access_token}`
-                .replace(`{${"access_token"}}`, encodeURIComponent(String(accessToken)));
+            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesList/{accessToken}/{size}/{offset}`
+                .replace(`{${"accessToken"}}`, encodeURIComponent(String(accessToken)))
+                .replace(`{${"size"}}`, encodeURIComponent(String(size)))
+                .replace(`{${"offset"}}`, encodeURIComponent(String(offset)));
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
             let baseOptions;
@@ -90,22 +96,24 @@ export const DingTalkApiAxiosParamCreator = function (configuration?: Configurat
         /**
          * 
          * @summary 获取员工花名册字段信息 🔖
-         * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
          * @param {string} accessToken 
+         * @param {number} appAgentId 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost: async (body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
-            // verify required parameter 'body' is not null or undefined
-            if (body === null || body === undefined) {
-                throw new RequiredError('body','Required parameter body was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost.');
-            }
+        apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost: async (accessToken: string, appAgentId: number, body?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
             // verify required parameter 'accessToken' is not null or undefined
             if (accessToken === null || accessToken === undefined) {
-                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost.');
+                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost.');
+            }
+            // verify required parameter 'appAgentId' is not null or undefined
+            if (appAgentId === null || appAgentId === undefined) {
+                throw new RequiredError('appAgentId','Required parameter appAgentId was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost.');
             }
-            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesRosterList/{access_token}`
-                .replace(`{${"access_token"}}`, encodeURIComponent(String(accessToken)));
+            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesRosterList/{accessToken}/{appAgentId}`
+                .replace(`{${"accessToken"}}`, encodeURIComponent(String(accessToken)))
+                .replace(`{${"appAgentId"}}`, encodeURIComponent(String(appAgentId)));
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
             let baseOptions;
@@ -148,18 +156,18 @@ export const DingTalkApiAxiosParamCreator = function (configuration?: Configurat
         /**
          * 
          * @summary 发送钉钉互动卡片 🔖
-         * @param {string} token 
+         * @param {string} accessToken 
          * @param {DingTalkSendInteractiveCardsInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiDingTalkDingTalkSendInteractiveCardsTokenPost: async (token: string, body?: DingTalkSendInteractiveCardsInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
-            // verify required parameter 'token' is not null or undefined
-            if (token === null || token === undefined) {
-                throw new RequiredError('token','Required parameter token was null or undefined when calling apiDingTalkDingTalkSendInteractiveCardsTokenPost.');
+        apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost: async (accessToken: string, body?: DingTalkSendInteractiveCardsInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+            // verify required parameter 'accessToken' is not null or undefined
+            if (accessToken === null || accessToken === undefined) {
+                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost.');
             }
-            const localVarPath = `/api/dingTalk/dingTalkSendInteractiveCards/{token}`
-                .replace(`{${"token"}}`, encodeURIComponent(String(token)));
+            const localVarPath = `/api/dingTalk/dingTalkSendInteractiveCards/{accessToken}`
+                .replace(`{${"accessToken"}}`, encodeURIComponent(String(accessToken)));
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
             let baseOptions;
@@ -254,13 +262,15 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
         /**
          * 
          * @summary 获取在职员工列表 🔖
-         * @param {GetDingTalkCurrentEmployeesListInput} body 
          * @param {string} accessToken 
+         * @param {number} size 
+         * @param {number} offset 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput>>> {
-            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body, accessToken, options);
+        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken: string, size: number, offset: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultEmployeeQueryOnJobResponse>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken, size, offset, body, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                 return axios.request(axiosRequestArgs);
@@ -269,13 +279,14 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
         /**
          * 
          * @summary 获取员工花名册字段信息 🔖
-         * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
          * @param {string} accessToken 
+         * @param {number} appAgentId 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo>>> {
-            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body, accessToken, options);
+        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken: string, appAgentId: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultRosterListsQueryResponse>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken, appAgentId, body, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                 return axios.request(axiosRequestArgs);
@@ -284,13 +295,13 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
         /**
          * 
          * @summary 发送钉钉互动卡片 🔖
-         * @param {string} token 
+         * @param {string} accessToken 
          * @param {DingTalkSendInteractiveCardsInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkSendInteractiveCardsTokenPost(token: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>>> {
-            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkSendInteractiveCardsTokenPost(token, body, options);
+        async apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken, body, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                 return axios.request(axiosRequestArgs);
@@ -302,7 +313,7 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultGetDingTalkTokenOutput>>> {
+        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultGetAccessTokenResponse>>> {
             const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkTokenGet(options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
@@ -321,35 +332,38 @@ export const DingTalkApiFactory = function (configuration?: Configuration, baseP
         /**
          * 
          * @summary 获取在职员工列表 🔖
-         * @param {GetDingTalkCurrentEmployeesListInput} body 
          * @param {string} accessToken 
+         * @param {number} size 
+         * @param {number} offset 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput>> {
-            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body, accessToken, options).then((request) => request(axios, basePath));
+        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken: string, size: number, offset: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultEmployeeQueryOnJobResponse>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken, size, offset, body, options).then((request) => request(axios, basePath));
         },
         /**
          * 
          * @summary 获取员工花名册字段信息 🔖
-         * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
          * @param {string} accessToken 
+         * @param {number} appAgentId 
+         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo>> {
-            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body, accessToken, options).then((request) => request(axios, basePath));
+        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken: string, appAgentId: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultRosterListsQueryResponse>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken, appAgentId, body, options).then((request) => request(axios, basePath));
         },
         /**
          * 
          * @summary 发送钉钉互动卡片 🔖
-         * @param {string} token 
+         * @param {string} accessToken 
          * @param {DingTalkSendInteractiveCardsInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkSendInteractiveCardsTokenPost(token: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>> {
-            return DingTalkApiFp(configuration).apiDingTalkDingTalkSendInteractiveCardsTokenPost(token, body, options).then((request) => request(axios, basePath));
+        async apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken, body, options).then((request) => request(axios, basePath));
         },
         /**
          * 
@@ -357,7 +371,7 @@ export const DingTalkApiFactory = function (configuration?: Configuration, baseP
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultGetDingTalkTokenOutput>> {
+        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultGetAccessTokenResponse>> {
             return DingTalkApiFp(configuration).apiDingTalkDingTalkTokenGet(options).then((request) => request(axios, basePath));
         },
     };
@@ -373,38 +387,41 @@ export class DingTalkApi extends BaseAPI {
     /**
      * 
      * @summary 获取在职员工列表 🔖
-     * @param {GetDingTalkCurrentEmployeesListInput} body 
      * @param {string} accessToken 
+     * @param {number} size 
+     * @param {number} offset 
+     * @param {Array<string>} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput>> {
-        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body, accessToken, options).then((request) => request(this.axios, this.basePath));
+    public async apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken: string, size: number, offset: number, body?: Array<string>, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultEmployeeQueryOnJobResponse>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken, size, offset, body, options).then((request) => request(this.axios, this.basePath));
     }
     /**
      * 
      * @summary 获取员工花名册字段信息 🔖
-     * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
      * @param {string} accessToken 
+     * @param {number} appAgentId 
+     * @param {Array<string>} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo>> {
-        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body, accessToken, options).then((request) => request(this.axios, this.basePath));
+    public async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken: string, appAgentId: number, body?: Array<string>, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultRosterListsQueryResponse>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken, appAgentId, body, options).then((request) => request(this.axios, this.basePath));
     }
     /**
      * 
      * @summary 发送钉钉互动卡片 🔖
-     * @param {string} token 
+     * @param {string} accessToken 
      * @param {DingTalkSendInteractiveCardsInput} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkSendInteractiveCardsTokenPost(token: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>> {
-        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkSendInteractiveCardsTokenPost(token, body, options).then((request) => request(this.axios, this.basePath));
+    public async apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken, body, options).then((request) => request(this.axios, this.basePath));
     }
     /**
      * 
@@ -413,7 +430,7 @@ export class DingTalkApi extends BaseAPI {
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultGetDingTalkTokenOutput>> {
+    public async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultGetAccessTokenResponse>> {
         return DingTalkApiFp(this.configuration).apiDingTalkDingTalkTokenGet(options).then((request) => request(this.axios, this.basePath));
     }
 }

+ 0 - 57
Web/src/api-plugins/goView/models/admin-result-ding-talk-base-response-get-ding-talk-current-employees-list-output.ts

@@ -1,57 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * DingTalk
- * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
- *
- * OpenAPI spec version: 1.0.0
- * 
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- */
-import { DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput } from './ding-talk-base-response-get-ding-talk-current-employees-list-output';
-/**
- * 全局返回结果
- * @export
- * @interface AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
- */
-export interface AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput {
-    /**
-     * 状态码
-     * @type {number}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    code?: number;
-    /**
-     * 类型success、warning、error
-     * @type {string}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    type?: string | null;
-    /**
-     * 错误信息
-     * @type {string}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    message?: string | null;
-    /**
-     * 
-     * @type {DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    result?: DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput;
-    /**
-     * 附加数据
-     * @type {any}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    extras?: any | null;
-    /**
-     * 时间
-     * @type {Date}
-     * @memberof AdminResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    time?: Date;
-}

+ 57 - 0
Web/src/api-plugins/goView/models/admin-result-employee-query-on-job-response.ts

@@ -0,0 +1,57 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * DingTalk
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+import { EmployeeQueryOnJobResponse } from './employee-query-on-job-response';
+/**
+ * 全局返回结果
+ * @export
+ * @interface AdminResultEmployeeQueryOnJobResponse
+ */
+export interface AdminResultEmployeeQueryOnJobResponse {
+    /**
+     * 状态码
+     * @type {number}
+     * @memberof AdminResultEmployeeQueryOnJobResponse
+     */
+    code?: number;
+    /**
+     * 类型success、warning、error
+     * @type {string}
+     * @memberof AdminResultEmployeeQueryOnJobResponse
+     */
+    type?: string | null;
+    /**
+     * 错误信息
+     * @type {string}
+     * @memberof AdminResultEmployeeQueryOnJobResponse
+     */
+    message?: string | null;
+    /**
+     * 
+     * @type {EmployeeQueryOnJobResponse}
+     * @memberof AdminResultEmployeeQueryOnJobResponse
+     */
+    result?: EmployeeQueryOnJobResponse;
+    /**
+     * 附加数据
+     * @type {any}
+     * @memberof AdminResultEmployeeQueryOnJobResponse
+     */
+    extras?: any | null;
+    /**
+     * 时间
+     * @type {Date}
+     * @memberof AdminResultEmployeeQueryOnJobResponse
+     */
+    time?: Date;
+}

+ 11 - 11
Web/src/api-plugins/dingTalk/models/admin-result-get-ding-talk-token-output.ts → Web/src/api-plugins/goView/models/admin-result-get-access-token-response.ts

@@ -11,47 +11,47 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-import { GetDingTalkTokenOutput } from './get-ding-talk-token-output';
+import { GetAccessTokenResponse } from './get-access-token-response';
 /**
  * 全局返回结果
  * @export
- * @interface AdminResultGetDingTalkTokenOutput
+ * @interface AdminResultGetAccessTokenResponse
  */
-export interface AdminResultGetDingTalkTokenOutput {
+export interface AdminResultGetAccessTokenResponse {
     /**
      * 状态码
      * @type {number}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @memberof AdminResultGetAccessTokenResponse
      */
     code?: number;
     /**
      * 类型success、warning、error
      * @type {string}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @memberof AdminResultGetAccessTokenResponse
      */
     type?: string | null;
     /**
      * 错误信息
      * @type {string}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @memberof AdminResultGetAccessTokenResponse
      */
     message?: string | null;
     /**
      * 
-     * @type {GetDingTalkTokenOutput}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @type {GetAccessTokenResponse}
+     * @memberof AdminResultGetAccessTokenResponse
      */
-    result?: GetDingTalkTokenOutput;
+    result?: GetAccessTokenResponse;
     /**
      * 附加数据
      * @type {any}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @memberof AdminResultGetAccessTokenResponse
      */
     extras?: any | null;
     /**
      * 时间
      * @type {Date}
-     * @memberof AdminResultGetDingTalkTokenOutput
+     * @memberof AdminResultGetAccessTokenResponse
      */
     time?: Date;
 }

+ 57 - 0
Web/src/api-plugins/goView/models/admin-result-roster-lists-query-response.ts

@@ -0,0 +1,57 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * DingTalk
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+import { RosterListsQueryResponse } from './roster-lists-query-response';
+/**
+ * 全局返回结果
+ * @export
+ * @interface AdminResultRosterListsQueryResponse
+ */
+export interface AdminResultRosterListsQueryResponse {
+    /**
+     * 状态码
+     * @type {number}
+     * @memberof AdminResultRosterListsQueryResponse
+     */
+    code?: number;
+    /**
+     * 类型success、warning、error
+     * @type {string}
+     * @memberof AdminResultRosterListsQueryResponse
+     */
+    type?: string | null;
+    /**
+     * 错误信息
+     * @type {string}
+     * @memberof AdminResultRosterListsQueryResponse
+     */
+    message?: string | null;
+    /**
+     * 
+     * @type {RosterListsQueryResponse}
+     * @memberof AdminResultRosterListsQueryResponse
+     */
+    result?: RosterListsQueryResponse;
+    /**
+     * 附加数据
+     * @type {any}
+     * @memberof AdminResultRosterListsQueryResponse
+     */
+    extras?: any | null;
+    /**
+     * 时间
+     * @type {Date}
+     * @memberof AdminResultRosterListsQueryResponse
+     */
+    time?: Date;
+}

+ 0 - 51
Web/src/api-plugins/goView/models/ding-talk-base-response-get-ding-talk-current-employees-list-output.ts

@@ -1,51 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * DingTalk
- * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
- *
- * OpenAPI spec version: 1.0.0
- * 
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- */
-import { GetDingTalkCurrentEmployeesListOutput } from './get-ding-talk-current-employees-list-output';
-/**
- * 钉钉基础响应结果
- * @export
- * @interface DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
- */
-export interface DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput {
-    /**
-     * 
-     * @type {GetDingTalkCurrentEmployeesListOutput}
-     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    result?: GetDingTalkCurrentEmployeesListOutput;
-    /**
-     * 返回码
-     * @type {number}
-     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    errCode?: number;
-    /**
-     * 返回码描述。
-     * @type {string}
-     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    errMsg?: string | null;
-    /**
-     * 是否调用成功
-     * @type {boolean}
-     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    success?: boolean;
-    /**
-     * 请求Id
-     * @type {string}
-     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
-     */
-    requestId?: string | null;
-}

+ 4 - 4
Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-list-output.ts → Web/src/api-plugins/goView/models/employee-query-on-job-response-result-domain.ts

@@ -14,19 +14,19 @@
 /**
  * 
  * @export
- * @interface GetDingTalkCurrentEmployeesListOutput
+ * @interface EmployeeQueryOnJobResponseResultDomain
  */
-export interface GetDingTalkCurrentEmployeesListOutput {
+export interface EmployeeQueryOnJobResponseResultDomain {
     /**
      * 查询到的员工userId列表
      * @type {Array<string>}
-     * @memberof GetDingTalkCurrentEmployeesListOutput
+     * @memberof EmployeeQueryOnJobResponseResultDomain
      */
     dataList?: Array<string> | null;
     /**
      * 下一次分页调用的offset值,当返回结果里没有next_cursor时,表示分页结束。
      * @type {number}
-     * @memberof GetDingTalkCurrentEmployeesListOutput
+     * @memberof EmployeeQueryOnJobResponseResultDomain
      */
     nextCursor?: number | null;
 }

+ 20 - 20
Web/src/api-plugins/dingTalk/models/ding-talk-base-response-list-ding-talk-emp-roster-field-vo.ts → Web/src/api-plugins/goView/models/employee-query-on-job-response.ts

@@ -11,41 +11,41 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-import { DingTalkEmpRosterFieldVo } from './ding-talk-emp-roster-field-vo';
+import { EmployeeQueryOnJobResponseResultDomain } from './employee-query-on-job-response-result-domain';
 /**
- * 钉钉基础响应结果
+ * 
  * @export
- * @interface DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+ * @interface EmployeeQueryOnJobResponse
  */
-export interface DingTalkBaseResponseListDingTalkEmpRosterFieldVo {
+export interface EmployeeQueryOnJobResponse {
     /**
-     * 返回结果
-     * @type {Array<DingTalkEmpRosterFieldVo>}
-     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * 返回码描述=ok
+     * @type {string}
+     * @memberof EmployeeQueryOnJobResponse
      */
-    result?: Array<DingTalkEmpRosterFieldVo> | null;
+    errMsg?: string | null;
     /**
-     * 返回码
+     * 返回码=0
      * @type {number}
-     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof EmployeeQueryOnJobResponse
      */
     errCode?: number;
     /**
-     * 返回码描述。
-     * @type {string}
-     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
-     */
-    errMsg?: string | null;
-    /**
-     * 是否调用成功
+     * 接口调用是否成功
      * @type {boolean}
-     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof EmployeeQueryOnJobResponse
      */
     success?: boolean;
     /**
-     * 请求Id
+     * 
      * @type {string}
-     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     * @memberof EmployeeQueryOnJobResponse
      */
     requestId?: string | null;
+    /**
+     * 
+     * @type {EmployeeQueryOnJobResponseResultDomain}
+     * @memberof EmployeeQueryOnJobResponse
+     */
+    result?: EmployeeQueryOnJobResponseResultDomain;
 }

+ 14 - 14
Web/src/api-plugins/dingTalk/models/ding-talk-emp-field-data-vo.ts → Web/src/api-plugins/goView/models/field-data-domain.ts

@@ -11,35 +11,35 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-import { DingTalkFieldValueVo } from './ding-talk-field-value-vo';
+import { FieldValueDomain } from './field-value-domain';
 /**
  * 
  * @export
- * @interface DingTalkEmpFieldDataVo
+ * @interface FieldDataDomain
  */
-export interface DingTalkEmpFieldDataVo {
+export interface FieldDataDomain {
     /**
-     * 字段名称
+     * 字段标识
      * @type {string}
-     * @memberof DingTalkEmpFieldDataVo
+     * @memberof FieldDataDomain
      */
-    fieldName?: string | null;
+    fieldCode?: string | null;
     /**
-     * 字段标识
+     * 字段名称
      * @type {string}
-     * @memberof DingTalkEmpFieldDataVo
+     * @memberof FieldDataDomain
      */
-    fieldCode?: string | null;
+    fieldName?: string | null;
     /**
      * 分组标识
      * @type {string}
-     * @memberof DingTalkEmpFieldDataVo
+     * @memberof FieldDataDomain
      */
     groupId?: string | null;
     /**
-     * 
-     * @type {Array<DingTalkFieldValueVo>}
-     * @memberof DingTalkEmpFieldDataVo
+     * 字段值列表
+     * @type {Array<FieldValueDomain>}
+     * @memberof FieldDataDomain
      */
-    fieldValueList?: Array<DingTalkFieldValueVo> | null;
+    fieldValueList?: Array<FieldValueDomain> | null;
 }

+ 11 - 11
Web/src/api-plugins/dingTalk/models/ding-talk-field-value-vo.ts → Web/src/api-plugins/goView/models/field-value-domain.ts

@@ -14,25 +14,25 @@
 /**
  * 
  * @export
- * @interface DingTalkFieldValueVo
+ * @interface FieldValueDomain
  */
-export interface DingTalkFieldValueVo {
+export interface FieldValueDomain {
     /**
-     * 第几条的明细标识,下标从0开始
-     * @type {number}
-     * @memberof DingTalkFieldValueVo
+     * 字段取值,选项类型字段对应选项的key
+     * @type {string}
+     * @memberof FieldValueDomain
      */
-    itemIndex?: number;
+    value?: string | null;
     /**
      * 字段展示值,选项类型字段对应选项的value
      * @type {string}
-     * @memberof DingTalkFieldValueVo
+     * @memberof FieldValueDomain
      */
     label?: string | null;
     /**
-     * 字段取值,选项类型字段对应选项的key
-     * @type {string}
-     * @memberof DingTalkFieldValueVo
+     * 第几条的明细标识,下标从0开始
+     * @type {number}
+     * @memberof FieldValueDomain
      */
-    value?: string | null;
+    itemIndex?: number;
 }

+ 32 - 0
Web/src/api-plugins/goView/models/get-access-token-response.ts

@@ -0,0 +1,32 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * DingTalk
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+/**
+ * 
+ * @export
+ * @interface GetAccessTokenResponse
+ */
+export interface GetAccessTokenResponse {
+    /**
+     * 生成的accessToken
+     * @type {string}
+     * @memberof GetAccessTokenResponse
+     */
+    accessToken?: string | null;
+    /**
+     * accessToken的过期时间,单位秒
+     * @type {number}
+     * @memberof GetAccessTokenResponse
+     */
+    expireIn?: number;
+}

+ 0 - 38
Web/src/api-plugins/goView/models/get-ding-talk-current-employees-list-input.ts

@@ -1,38 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * DingTalk
- * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
- *
- * OpenAPI spec version: 1.0.0
- * 
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- */
-/**
- * 获取在职员工列表参数
- * @export
- * @interface GetDingTalkCurrentEmployeesListInput
- */
-export interface GetDingTalkCurrentEmployeesListInput {
-    /**
-     * 在职员工状态筛选,可以查询多个状态。不同状态之间使用英文逗号分隔。2:试用期、3:正式、5:待离职、-1:无状态
-     * @type {string}
-     * @memberof GetDingTalkCurrentEmployeesListInput
-     */
-    statusList?: string | null;
-    /**
-     * 分页游标,从0开始。根据返回结果里的next_cursor是否为空来判断是否还有下一页,且再次调用时offset设置成next_cursor的值。
-     * @type {number}
-     * @memberof GetDingTalkCurrentEmployeesListInput
-     */
-    offset?: number;
-    /**
-     * 分页大小,最大50。
-     * @type {number}
-     * @memberof GetDingTalkCurrentEmployeesListInput
-     */
-    size?: number;
-}

+ 0 - 38
Web/src/api-plugins/goView/models/get-ding-talk-current-employees-roster-list-input.ts

@@ -1,38 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * DingTalk
- * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
- *
- * OpenAPI spec version: 1.0.0
- * 
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- */
-/**
- * 
- * @export
- * @interface GetDingTalkCurrentEmployeesRosterListInput
- */
-export interface GetDingTalkCurrentEmployeesRosterListInput {
-    /**
-     * 员工的userId列表,多个userid之间使用逗号分隔,一次最多支持传100个值。
-     * @type {string}
-     * @memberof GetDingTalkCurrentEmployeesRosterListInput
-     */
-    useridList?: string | null;
-    /**
-     * 需要获取的花名册字段field_code值列表,多个字段之间使用逗号分隔,一次最多支持传100个值。
-     * @type {string}
-     * @memberof GetDingTalkCurrentEmployeesRosterListInput
-     */
-    fieldFilterList?: string | null;
-    /**
-     * 应用的AgentId
-     * @type {string}
-     * @memberof GetDingTalkCurrentEmployeesRosterListInput
-     */
-    agentid?: string | null;
-}

+ 0 - 44
Web/src/api-plugins/goView/models/get-ding-talk-token-output.ts

@@ -1,44 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-/**
- * DingTalk
- * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
- *
- * OpenAPI spec version: 1.0.0
- * 
- *
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
- * Do not edit the class manually.
- */
-/**
- * 
- * @export
- * @interface GetDingTalkTokenOutput
- */
-export interface GetDingTalkTokenOutput {
-    /**
-     * 生成的access_token
-     * @type {string}
-     * @memberof GetDingTalkTokenOutput
-     */
-    accessToken?: string | null;
-    /**
-     * access_token的过期时间,单位秒
-     * @type {number}
-     * @memberof GetDingTalkTokenOutput
-     */
-    expiresIn?: number;
-    /**
-     * 返回码描述
-     * @type {string}
-     * @memberof GetDingTalkTokenOutput
-     */
-    errMsg?: string | null;
-    /**
-     * 返回码
-     * @type {number}
-     * @memberof GetDingTalkTokenOutput
-     */
-    errCode?: number;
-}

+ 10 - 12
Web/src/api-plugins/goView/models/index.ts

@@ -1,19 +1,17 @@
-export * from './admin-result-ding-talk-base-response-get-ding-talk-current-employees-list-output';
-export * from './admin-result-ding-talk-base-response-list-ding-talk-emp-roster-field-vo';
 export * from './admin-result-ding-talk-send-interactive-cards-output';
-export * from './admin-result-get-ding-talk-token-output';
-export * from './ding-talk-base-response-get-ding-talk-current-employees-list-output';
-export * from './ding-talk-base-response-list-ding-talk-emp-roster-field-vo';
+export * from './admin-result-employee-query-on-job-response';
+export * from './admin-result-get-access-token-response';
+export * from './admin-result-roster-lists-query-response';
 export * from './ding-talk-card-data';
 export * from './ding-talk-card-param-map';
 export * from './ding-talk-conversation-type-enum';
-export * from './ding-talk-emp-field-data-vo';
-export * from './ding-talk-emp-roster-field-vo';
-export * from './ding-talk-field-value-vo';
 export * from './ding-talk-send-interactive-cards-input';
 export * from './ding-talk-send-interactive-cards-output';
 export * from './ding-talk-send-interactive-cards-result';
-export * from './get-ding-talk-current-employees-list-input';
-export * from './get-ding-talk-current-employees-list-output';
-export * from './get-ding-talk-current-employees-roster-list-input';
-export * from './get-ding-talk-token-output';
+export * from './employee-query-on-job-response';
+export * from './employee-query-on-job-response-result-domain';
+export * from './field-data-domain';
+export * from './field-value-domain';
+export * from './get-access-token-response';
+export * from './result-domain';
+export * from './roster-lists-query-response';

+ 18 - 12
Web/src/api-plugins/goView/models/ding-talk-emp-roster-field-vo.ts → Web/src/api-plugins/goView/models/result-domain.ts

@@ -11,29 +11,35 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-import { DingTalkEmpFieldDataVo } from './ding-talk-emp-field-data-vo';
+import { FieldDataDomain } from './field-data-domain';
 /**
  * 
  * @export
- * @interface DingTalkEmpRosterFieldVo
+ * @interface ResultDomain
  */
-export interface DingTalkEmpRosterFieldVo {
+export interface ResultDomain {
     /**
-     * 企业的corpid
+     * 企业的corpId
      * @type {string}
-     * @memberof DingTalkEmpRosterFieldVo
+     * @memberof ResultDomain
      */
     corpId?: string | null;
     /**
-     * 返回的字段信息列表
-     * @type {Array<DingTalkEmpFieldDataVo>}
-     * @memberof DingTalkEmpRosterFieldVo
+     * 员工的userId
+     * @type {string}
+     * @memberof ResultDomain
      */
-    fieldDataList?: Array<DingTalkEmpFieldDataVo> | null;
+    userId?: string | null;
     /**
-     * 员工的userid
+     * 暂未开放
      * @type {string}
-     * @memberof DingTalkEmpRosterFieldVo
+     * @memberof ResultDomain
+     */
+    unionId?: string | null;
+    /**
+     * 返回的字段信息列表
+     * @type {Array<FieldDataDomain>}
+     * @memberof ResultDomain
      */
-    userid?: string | null;
+    fieldDataList?: Array<FieldDataDomain> | null;
 }

+ 27 - 0
Web/src/api-plugins/goView/models/roster-lists-query-response.ts

@@ -0,0 +1,27 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * DingTalk
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+import { ResultDomain } from './result-domain';
+/**
+ * 
+ * @export
+ * @interface RosterListsQueryResponse
+ */
+export interface RosterListsQueryResponse {
+    /**
+     * 结果列表
+     * @type {Array<ResultDomain>}
+     * @memberof RosterListsQueryResponse
+     */
+    result?: Array<ResultDomain> | null;
+}

+ 85 - 0
Web/src/api-services/apis/sys-common-api.ts

@@ -20,6 +20,8 @@ import { AdminResultIActionResult } from '../models';
 import { AdminResultListApiOutput } from '../models';
 import { AdminResultObject } from '../models';
 import { AdminResultSmKeyPairOutput } from '../models';
+import { AdminResultStressTestOutput } from '../models';
+import { StressTestInput } from '../models';
 /**
  * SysCommonApi - axios parameter creator
  * @export
@@ -204,6 +206,54 @@ export const SysCommonApiAxiosParamCreator = function (configuration?: Configura
             let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
             localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
 
+            return {
+                url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
+                options: localVarRequestOptions,
+            };
+        },
+        /**
+         * 
+         * @summary 接口压测 🔖
+         * @param {StressTestInput} [body] 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        apiSysCommonStressTestPost: async (body?: StressTestInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+            const localVarPath = `/api/sysCommon/stressTest`;
+            // use dummy base URL string because the URL constructor only accepts absolute URLs.
+            const localVarUrlObj = new URL(localVarPath, 'https://example.com');
+            let baseOptions;
+            if (configuration) {
+                baseOptions = configuration.baseOptions;
+            }
+            const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options};
+            const localVarHeaderParameter = {} as any;
+            const localVarQueryParameter = {} as any;
+
+            // authentication Bearer required
+            // http bearer authentication required
+            if (configuration && configuration.accessToken) {
+                const accessToken = typeof configuration.accessToken === 'function'
+                    ? await configuration.accessToken()
+                    : await configuration.accessToken;
+                localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
+            }
+
+            localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
+
+            const query = new URLSearchParams(localVarUrlObj.search);
+            for (const key in localVarQueryParameter) {
+                query.set(key, localVarQueryParameter[key]);
+            }
+            for (const key in options.params) {
+                query.set(key, options.params[key]);
+            }
+            localVarUrlObj.search = (new URLSearchParams(query)).toString();
+            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+            const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
+            localVarRequestOptions.data =  needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");
+
             return {
                 url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
                 options: localVarRequestOptions,
@@ -272,6 +322,20 @@ export const SysCommonApiFp = function(configuration?: Configuration) {
                 return axios.request(axiosRequestArgs);
             };
         },
+        /**
+         * 
+         * @summary 接口压测 🔖
+         * @param {StressTestInput} [body] 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        async apiSysCommonStressTestPost(body?: StressTestInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultStressTestOutput>>> {
+            const localVarAxiosArgs = await SysCommonApiAxiosParamCreator(configuration).apiSysCommonStressTestPost(body, options);
+            return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
+                const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
+                return axios.request(axiosRequestArgs);
+            };
+        },
     }
 };
 
@@ -319,6 +383,16 @@ export const SysCommonApiFactory = function (configuration?: Configuration, base
         async apiSysCommonSmKeyPairGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultSmKeyPairOutput>> {
             return SysCommonApiFp(configuration).apiSysCommonSmKeyPairGet(options).then((request) => request(axios, basePath));
         },
+        /**
+         * 
+         * @summary 接口压测 🔖
+         * @param {StressTestInput} [body] 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        async apiSysCommonStressTestPost(body?: StressTestInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultStressTestOutput>> {
+            return SysCommonApiFp(configuration).apiSysCommonStressTestPost(body, options).then((request) => request(axios, basePath));
+        },
     };
 };
 
@@ -371,4 +445,15 @@ export class SysCommonApi extends BaseAPI {
     public async apiSysCommonSmKeyPairGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultSmKeyPairOutput>> {
         return SysCommonApiFp(this.configuration).apiSysCommonSmKeyPairGet(options).then((request) => request(this.axios, this.basePath));
     }
+    /**
+     * 
+     * @summary 接口压测 🔖
+     * @param {StressTestInput} [body] 
+     * @param {*} [options] Override http request option.
+     * @throws {RequiredError}
+     * @memberof SysCommonApi
+     */
+    public async apiSysCommonStressTestPost(body?: StressTestInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultStressTestOutput>> {
+        return SysCommonApiFp(this.configuration).apiSysCommonStressTestPost(body, options).then((request) => request(this.axios, this.basePath));
+    }
 }

+ 8 - 9
Web/src/api-services/apis/sys-update-api.ts

@@ -20,7 +20,6 @@ import { AdminResultListBackupOutput } from '../models';
 import { AdminResultListString } from '../models';
 import { AdminResultString } from '../models';
 import { RestoreInput } from '../models';
-import { WebHookInput } from '../models';
 /**
  * SysUpdateApi - axios parameter creator
  * @export
@@ -293,11 +292,11 @@ export const SysUpdateApiAxiosParamCreator = function (configuration?: Configura
         /**
          * 
          * @summary 仓库WebHook接口
-         * @param {WebHookInput} [body] 
+         * @param {{ [key: string]: any; }} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiSysUpdateWebHookPost: async (body?: WebHookInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+        apiSysUpdateWebHookPost: async (body?: { [key: string]: any; }, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
             const localVarPath = `/api/sysUpdate/webHook`;
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
@@ -429,11 +428,11 @@ export const SysUpdateApiFp = function(configuration?: Configuration) {
         /**
          * 
          * @summary 仓库WebHook接口
-         * @param {WebHookInput} [body] 
+         * @param {{ [key: string]: any; }} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiSysUpdateWebHookPost(body?: WebHookInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
+        async apiSysUpdateWebHookPost(body?: { [key: string]: any; }, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
             const localVarAxiosArgs = await SysUpdateApiAxiosParamCreator(configuration).apiSysUpdateWebHookPost(body, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
@@ -507,11 +506,11 @@ export const SysUpdateApiFactory = function (configuration?: Configuration, base
         /**
          * 
          * @summary 仓库WebHook接口
-         * @param {WebHookInput} [body] 
+         * @param {{ [key: string]: any; }} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiSysUpdateWebHookPost(body?: WebHookInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
+        async apiSysUpdateWebHookPost(body?: { [key: string]: any; }, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
             return SysUpdateApiFp(configuration).apiSysUpdateWebHookPost(body, options).then((request) => request(axios, basePath));
         },
     };
@@ -588,12 +587,12 @@ export class SysUpdateApi extends BaseAPI {
     /**
      * 
      * @summary 仓库WebHook接口
-     * @param {WebHookInput} [body] 
+     * @param {{ [key: string]: any; }} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof SysUpdateApi
      */
-    public async apiSysUpdateWebHookPost(body?: WebHookInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
+    public async apiSysUpdateWebHookPost(body?: { [key: string]: any; }, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
         return SysUpdateApiFp(this.configuration).apiSysUpdateWebHookPost(body, options).then((request) => request(this.axios, this.basePath));
     }
 }

+ 57 - 0
Web/src/api-services/models/admin-result-stress-test-output.ts

@@ -0,0 +1,57 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * Admin.NET 通用权限开发平台
+ * 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+import { StressTestOutput } from './stress-test-output';
+/**
+ * 全局返回结果
+ * @export
+ * @interface AdminResultStressTestOutput
+ */
+export interface AdminResultStressTestOutput {
+    /**
+     * 状态码
+     * @type {number}
+     * @memberof AdminResultStressTestOutput
+     */
+    code?: number;
+    /**
+     * 类型success、warning、error
+     * @type {string}
+     * @memberof AdminResultStressTestOutput
+     */
+    type?: string | null;
+    /**
+     * 错误信息
+     * @type {string}
+     * @memberof AdminResultStressTestOutput
+     */
+    message?: string | null;
+    /**
+     * 
+     * @type {StressTestOutput}
+     * @memberof AdminResultStressTestOutput
+     */
+    result?: StressTestOutput;
+    /**
+     * 附加数据
+     * @type {any}
+     * @memberof AdminResultStressTestOutput
+     */
+    extras?: any | null;
+    /**
+     * 时间
+     * @type {Date}
+     * @memberof AdminResultStressTestOutput
+     */
+    time?: Date;
+}

+ 6 - 6
Web/src/api-services/models/web-hook-input.ts → Web/src/api-services/models/http-method.ts

@@ -12,15 +12,15 @@
  * Do not edit the class manually.
  */
 /**
- * WebHook输入参数
+ * 
  * @export
- * @interface WebHookInput
+ * @interface HttpMethod
  */
-export interface WebHookInput {
+export interface HttpMethod {
     /**
-     * 密钥
+     * 
      * @type {string}
-     * @memberof WebHookInput
+     * @memberof HttpMethod
      */
-    key: string;
+    method?: string | null;
 }

+ 5 - 1
Web/src/api-services/models/index.ts

@@ -92,6 +92,7 @@ export * from './admin-result-sql-sugar-paged-list-sys-wechat-pay';
 export * from './admin-result-sql-sugar-paged-list-sys-wechat-user';
 export * from './admin-result-sql-sugar-paged-list-tenant-output';
 export * from './admin-result-sql-sugar-paged-list-user-output';
+export * from './admin-result-stress-test-output';
 export * from './admin-result-string';
 export * from './admin-result-sys-code-gen';
 export * from './admin-result-sys-code-gen-config';
@@ -202,6 +203,7 @@ export * from './generate-qrimage-input';
 export * from './generate-qrimage-output';
 export * from './generate-signature-input';
 export * from './generic-parameter-attributes';
+export * from './http-method';
 export * from './http-method-enum';
 export * from './iaction-result';
 export * from './icomponent';
@@ -216,6 +218,7 @@ export * from './job-create-type-enum';
 export * from './job-detail-input';
 export * from './job-detail-output';
 export * from './job-trigger-input';
+export * from './key-value-pair-string-string';
 export * from './layout-kind';
 export * from './list-schedule-input';
 export * from './log-input';
@@ -316,6 +319,8 @@ export * from './sql-sugar-paged-list-sys-wechat-user';
 export * from './sql-sugar-paged-list-tenant-output';
 export * from './sql-sugar-paged-list-user-output';
 export * from './status-enum';
+export * from './stress-test-input';
+export * from './stress-test-output';
 export * from './struct-layout-attribute';
 export * from './swagger-submit-url-body';
 export * from './sync-sys-ldap-input';
@@ -404,7 +409,6 @@ export * from './user-role-input';
 export * from './visual-column';
 export * from './visual-db-table';
 export * from './visual-table';
-export * from './web-hook-input';
 export * from './wechat-pay-output';
 export * from './wechat-pay-page-input';
 export * from './wechat-pay-para-input';

+ 32 - 0
Web/src/api-services/models/key-value-pair-string-string.ts

@@ -0,0 +1,32 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * Admin.NET 通用权限开发平台
+ * 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+/**
+ * 
+ * @export
+ * @interface KeyValuePairStringString
+ */
+export interface KeyValuePairStringString {
+    /**
+     * 
+     * @type {string}
+     * @memberof KeyValuePairStringString
+     */
+    key?: string | null;
+    /**
+     * 
+     * @type {string}
+     * @memberof KeyValuePairStringString
+     */
+    value?: string | null;
+}

+ 6 - 0
Web/src/api-services/models/login-user-output.ts

@@ -126,4 +126,10 @@ export interface LoginUserOutput {
      * @memberof LoginUserOutput
      */
     watermarkText?: string | null;
+    /**
+     * 租户Id
+     * @type {number}
+     * @memberof LoginUserOutput
+     */
+    tenantId?: number | null;
 }

+ 76 - 0
Web/src/api-services/models/stress-test-input.ts

@@ -0,0 +1,76 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * Admin.NET 通用权限开发平台
+ * 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+import { HttpMethod } from './http-method';
+import { KeyValuePairStringString } from './key-value-pair-string-string';
+/**
+ * 接口压测输入参数
+ * @export
+ * @interface StressTestInput
+ */
+export interface StressTestInput {
+    /**
+     * 接口请求地址
+     * @type {string}
+     * @memberof StressTestInput
+     */
+    requestUri: string;
+    /**
+     * 
+     * @type {HttpMethod}
+     * @memberof StressTestInput
+     */
+    requestMethod: HttpMethod;
+    /**
+     * 每轮请求量
+     * @type {number}
+     * @memberof StressTestInput
+     */
+    numberOfRequests: number;
+    /**
+     * 压测轮数
+     * @type {number}
+     * @memberof StressTestInput
+     */
+    numberOfRounds: number;
+    /**
+     * 最大并行量(默认为当前主机逻辑处理器的数量)
+     * @type {number}
+     * @memberof StressTestInput
+     */
+    maxDegreeOfParallelism?: number | null;
+    /**
+     * 请求参数
+     * @type {Array<KeyValuePairStringString>}
+     * @memberof StressTestInput
+     */
+    requestParameters?: Array<KeyValuePairStringString> | null;
+    /**
+     * 请求头参数
+     * @type {{ [key: string]: string; }}
+     * @memberof StressTestInput
+     */
+    headers?: { [key: string]: string; } | null;
+    /**
+     * 路径参数
+     * @type {{ [key: string]: string; }}
+     * @memberof StressTestInput
+     */
+    pathParameters?: { [key: string]: string; } | null;
+    /**
+     * Query参数
+     * @type {{ [key: string]: string; }}
+     * @memberof StressTestInput
+     */
+    _queryParameters?: { [key: string]: string; } | null;
+}

+ 110 - 0
Web/src/api-services/models/stress-test-output.ts

@@ -0,0 +1,110 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * Admin.NET 通用权限开发平台
+ * 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+/**
+ * 接口压测输出参数
+ * @export
+ * @interface StressTestOutput
+ */
+export interface StressTestOutput {
+    /**
+     * 总请求次数
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    totalRequests?: number;
+    /**
+     * 总用时(秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    totalTimeInSeconds?: number;
+    /**
+     * 成功请求次数
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    successfulRequests?: number;
+    /**
+     * 失败请求次数
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    failedRequests?: number;
+    /**
+     * 每秒查询率(QPS)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    queriesPerSecond?: number;
+    /**
+     * 最小响应时间(毫秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    minResponseTime?: number;
+    /**
+     * 最大响应时间(毫秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    maxResponseTime?: number;
+    /**
+     * 平均响应时间(毫秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    averageResponseTime?: number;
+    /**
+     * P10 响应时间(毫秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    percentile10ResponseTime?: number;
+    /**
+     * P25 响应时间(毫秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    percentile25ResponseTime?: number;
+    /**
+     * P50 响应时间(毫秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    percentile50ResponseTime?: number;
+    /**
+     * P75 响应时间(毫秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    percentile75ResponseTime?: number;
+    /**
+     * P90 响应时间(毫秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    percentile90ResponseTime?: number;
+    /**
+     * P99 响应时间(毫秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    percentile99ResponseTime?: number;
+    /**
+     * P999 响应时间(毫秒)
+     * @type {number}
+     * @memberof StressTestOutput
+     */
+    percentile999ResponseTime?: number;
+}