😎增加插件接口请求文件
This commit is contained in:
parent
6421c6c6b6
commit
695b3c35af
15
Web/src/api-plugins/approvalFlow/api.ts
Normal file
15
Web/src/api-plugins/approvalFlow/api.ts
Normal file
@ -0,0 +1,15 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 * from './apis/approval-flow-api';
|
||||
|
||||
930
Web/src/api-plugins/approvalFlow/apis/approval-flow-api.ts
Normal file
930
Web/src/api-plugins/approvalFlow/apis/approval-flow-api.ts
Normal file
@ -0,0 +1,930 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 globalAxios, { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
|
||||
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 { AddApprovalFlowInput } from '../models';
|
||||
import { AdminResultApprovalFlow } from '../models';
|
||||
import { AdminResultInt64 } from '../models';
|
||||
import { AdminResultListApprovalFlowOutput } from '../models';
|
||||
import { AdminResultListString } from '../models';
|
||||
import { AdminResultObject } from '../models';
|
||||
import { AdminResultSqlSugarPagedListApprovalFlowOutput } from '../models';
|
||||
import { ApprovalFlowInput } from '../models';
|
||||
import { DeleteApprovalFlowInput } from '../models';
|
||||
import { Filter } from '../models';
|
||||
import { FilterLogicEnum } from '../models';
|
||||
import { FilterOperatorEnum } from '../models';
|
||||
import { UpdateApprovalFlowInput } from '../models';
|
||||
/**
|
||||
* ApprovalFlowApi - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const ApprovalFlowApiAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 增加审批流
|
||||
* @param {AddApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiApprovalFlowAddPost: async (body?: AddApprovalFlowInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/approvalFlow/add`;
|
||||
// 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,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 删除审批流
|
||||
* @param {DeleteApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiApprovalFlowDeletePost: async (body?: DeleteApprovalFlowInput, 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');
|
||||
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,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流
|
||||
* @param {number} id 主键Id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiApprovalFlowDetailGet: async (id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'id' is not null or undefined
|
||||
if (id === null || id === undefined) {
|
||||
throw new RequiredError('id','Required parameter id was null or undefined when calling apiApprovalFlowDetailGet.');
|
||||
}
|
||||
const localVarPath = `/api/approvalFlow/detail`;
|
||||
// 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: 'GET', ...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;
|
||||
}
|
||||
|
||||
if (id !== undefined) {
|
||||
localVarQueryParameter['Id'] = id;
|
||||
}
|
||||
|
||||
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};
|
||||
|
||||
return {
|
||||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流结构
|
||||
* @param {string} [code]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiApprovalFlowFlowListGet: async (code?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/approvalFlow/flowList`;
|
||||
// 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: 'GET', ...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;
|
||||
}
|
||||
|
||||
if (code !== undefined) {
|
||||
localVarQueryParameter['code'] = code;
|
||||
}
|
||||
|
||||
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};
|
||||
|
||||
return {
|
||||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流规则
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiApprovalFlowFormRoutesGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/approvalFlow/formRoutes`;
|
||||
// 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: 'GET', ...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;
|
||||
}
|
||||
|
||||
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};
|
||||
|
||||
return {
|
||||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 根据编码获取审批流信息
|
||||
* @param {string} [code]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiApprovalFlowInfoGet: async (code?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/approvalFlow/info`;
|
||||
// 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: 'GET', ...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;
|
||||
}
|
||||
|
||||
if (code !== undefined) {
|
||||
localVarQueryParameter['code'] = code;
|
||||
}
|
||||
|
||||
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};
|
||||
|
||||
return {
|
||||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流列表
|
||||
* @param {string} [code] 编号
|
||||
* @param {string} [name] 名称
|
||||
* @param {string} [remark] 备注
|
||||
* @param {number} [page] 当前页码
|
||||
* @param {number} [pageSize] 页码容量
|
||||
* @param {string} [field] 排序字段
|
||||
* @param {string} [order] 排序方向
|
||||
* @param {string} [descStr] 降序排序
|
||||
* @param {Array<string>} [searchFields] 字段名称集合
|
||||
* @param {string} [searchKeyword] 关键字
|
||||
* @param {string} [keyword] 模糊查询关键字
|
||||
* @param {FilterLogicEnum} [filterLogic] 过滤条件
|
||||
* @param {Array<Filter>} [filterFilters] 筛选过滤条件子项
|
||||
* @param {string} [filterField] 字段名称
|
||||
* @param {FilterOperatorEnum} [filterOperator] 逻辑运算符
|
||||
* @param {any} [filterValue] 字段值
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiApprovalFlowListGet: async (code?: string, name?: string, remark?: string, page?: number, pageSize?: number, field?: string, order?: string, descStr?: string, searchFields?: Array<string>, searchKeyword?: string, keyword?: string, filterLogic?: FilterLogicEnum, filterFilters?: Array<Filter>, filterField?: string, filterOperator?: FilterOperatorEnum, filterValue?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/approvalFlow/list`;
|
||||
// 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: 'GET', ...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;
|
||||
}
|
||||
|
||||
if (code !== undefined) {
|
||||
localVarQueryParameter['Code'] = code;
|
||||
}
|
||||
|
||||
if (name !== undefined) {
|
||||
localVarQueryParameter['Name'] = name;
|
||||
}
|
||||
|
||||
if (remark !== undefined) {
|
||||
localVarQueryParameter['Remark'] = remark;
|
||||
}
|
||||
|
||||
if (page !== undefined) {
|
||||
localVarQueryParameter['Page'] = page;
|
||||
}
|
||||
|
||||
if (pageSize !== undefined) {
|
||||
localVarQueryParameter['PageSize'] = pageSize;
|
||||
}
|
||||
|
||||
if (field !== undefined) {
|
||||
localVarQueryParameter['Field'] = field;
|
||||
}
|
||||
|
||||
if (order !== undefined) {
|
||||
localVarQueryParameter['Order'] = order;
|
||||
}
|
||||
|
||||
if (descStr !== undefined) {
|
||||
localVarQueryParameter['DescStr'] = descStr;
|
||||
}
|
||||
|
||||
if (searchFields) {
|
||||
localVarQueryParameter['Search.Fields'] = searchFields;
|
||||
}
|
||||
|
||||
if (searchKeyword !== undefined) {
|
||||
localVarQueryParameter['Search.Keyword'] = searchKeyword;
|
||||
}
|
||||
|
||||
if (keyword !== undefined) {
|
||||
localVarQueryParameter['Keyword'] = keyword;
|
||||
}
|
||||
|
||||
if (filterLogic !== undefined) {
|
||||
localVarQueryParameter['Filter.Logic'] = filterLogic;
|
||||
}
|
||||
|
||||
if (filterFilters) {
|
||||
localVarQueryParameter['Filter.Filters'] = filterFilters;
|
||||
}
|
||||
|
||||
if (filterField !== undefined) {
|
||||
localVarQueryParameter['Filter.Field'] = filterField;
|
||||
}
|
||||
|
||||
if (filterOperator !== undefined) {
|
||||
localVarQueryParameter['Filter.Operator'] = filterOperator;
|
||||
}
|
||||
|
||||
if (filterValue !== undefined) {
|
||||
localVarQueryParameter['Filter.Value'] = filterValue;
|
||||
}
|
||||
|
||||
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};
|
||||
|
||||
return {
|
||||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 分页查询审批流
|
||||
* @param {ApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiApprovalFlowPagePost: async (body?: ApprovalFlowInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/approvalFlow/page`;
|
||||
// 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,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 更新审批流
|
||||
* @param {UpdateApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiApprovalFlowUpdatePost: async (body?: UpdateApprovalFlowInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/approvalFlow/update`;
|
||||
// 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,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* ApprovalFlowApi - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const ApprovalFlowApiFp = function(configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 增加审批流
|
||||
* @param {AddApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowAddPost(body?: AddApprovalFlowInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultInt64>>> {
|
||||
const localVarAxiosArgs = await ApprovalFlowApiAxiosParamCreator(configuration).apiApprovalFlowAddPost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 删除审批流
|
||||
* @param {DeleteApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowDeletePost(body?: DeleteApprovalFlowInput, 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};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流
|
||||
* @param {number} id 主键Id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowDetailGet(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultApprovalFlow>>> {
|
||||
const localVarAxiosArgs = await ApprovalFlowApiAxiosParamCreator(configuration).apiApprovalFlowDetailGet(id, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流结构
|
||||
* @param {string} [code]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowFlowListGet(code?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultObject>>> {
|
||||
const localVarAxiosArgs = await ApprovalFlowApiAxiosParamCreator(configuration).apiApprovalFlowFlowListGet(code, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流规则
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowFormRoutesGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultListString>>> {
|
||||
const localVarAxiosArgs = await ApprovalFlowApiAxiosParamCreator(configuration).apiApprovalFlowFormRoutesGet(options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 根据编码获取审批流信息
|
||||
* @param {string} [code]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowInfoGet(code?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultApprovalFlow>>> {
|
||||
const localVarAxiosArgs = await ApprovalFlowApiAxiosParamCreator(configuration).apiApprovalFlowInfoGet(code, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流列表
|
||||
* @param {string} [code] 编号
|
||||
* @param {string} [name] 名称
|
||||
* @param {string} [remark] 备注
|
||||
* @param {number} [page] 当前页码
|
||||
* @param {number} [pageSize] 页码容量
|
||||
* @param {string} [field] 排序字段
|
||||
* @param {string} [order] 排序方向
|
||||
* @param {string} [descStr] 降序排序
|
||||
* @param {Array<string>} [searchFields] 字段名称集合
|
||||
* @param {string} [searchKeyword] 关键字
|
||||
* @param {string} [keyword] 模糊查询关键字
|
||||
* @param {FilterLogicEnum} [filterLogic] 过滤条件
|
||||
* @param {Array<Filter>} [filterFilters] 筛选过滤条件子项
|
||||
* @param {string} [filterField] 字段名称
|
||||
* @param {FilterOperatorEnum} [filterOperator] 逻辑运算符
|
||||
* @param {any} [filterValue] 字段值
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowListGet(code?: string, name?: string, remark?: string, page?: number, pageSize?: number, field?: string, order?: string, descStr?: string, searchFields?: Array<string>, searchKeyword?: string, keyword?: string, filterLogic?: FilterLogicEnum, filterFilters?: Array<Filter>, filterField?: string, filterOperator?: FilterOperatorEnum, filterValue?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultListApprovalFlowOutput>>> {
|
||||
const localVarAxiosArgs = await ApprovalFlowApiAxiosParamCreator(configuration).apiApprovalFlowListGet(code, name, remark, page, pageSize, field, order, descStr, searchFields, searchKeyword, keyword, filterLogic, filterFilters, filterField, filterOperator, filterValue, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 分页查询审批流
|
||||
* @param {ApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowPagePost(body?: ApprovalFlowInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSqlSugarPagedListApprovalFlowOutput>>> {
|
||||
const localVarAxiosArgs = await ApprovalFlowApiAxiosParamCreator(configuration).apiApprovalFlowPagePost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 更新审批流
|
||||
* @param {UpdateApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowUpdatePost(body?: UpdateApprovalFlowInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await ApprovalFlowApiAxiosParamCreator(configuration).apiApprovalFlowUpdatePost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* ApprovalFlowApi - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const ApprovalFlowApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 增加审批流
|
||||
* @param {AddApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowAddPost(body?: AddApprovalFlowInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultInt64>> {
|
||||
return ApprovalFlowApiFp(configuration).apiApprovalFlowAddPost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 删除审批流
|
||||
* @param {DeleteApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowDeletePost(body?: DeleteApprovalFlowInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return ApprovalFlowApiFp(configuration).apiApprovalFlowDeletePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流
|
||||
* @param {number} id 主键Id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowDetailGet(id: number, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultApprovalFlow>> {
|
||||
return ApprovalFlowApiFp(configuration).apiApprovalFlowDetailGet(id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流结构
|
||||
* @param {string} [code]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowFlowListGet(code?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultObject>> {
|
||||
return ApprovalFlowApiFp(configuration).apiApprovalFlowFlowListGet(code, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流规则
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowFormRoutesGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultListString>> {
|
||||
return ApprovalFlowApiFp(configuration).apiApprovalFlowFormRoutesGet(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 根据编码获取审批流信息
|
||||
* @param {string} [code]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowInfoGet(code?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultApprovalFlow>> {
|
||||
return ApprovalFlowApiFp(configuration).apiApprovalFlowInfoGet(code, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流列表
|
||||
* @param {string} [code] 编号
|
||||
* @param {string} [name] 名称
|
||||
* @param {string} [remark] 备注
|
||||
* @param {number} [page] 当前页码
|
||||
* @param {number} [pageSize] 页码容量
|
||||
* @param {string} [field] 排序字段
|
||||
* @param {string} [order] 排序方向
|
||||
* @param {string} [descStr] 降序排序
|
||||
* @param {Array<string>} [searchFields] 字段名称集合
|
||||
* @param {string} [searchKeyword] 关键字
|
||||
* @param {string} [keyword] 模糊查询关键字
|
||||
* @param {FilterLogicEnum} [filterLogic] 过滤条件
|
||||
* @param {Array<Filter>} [filterFilters] 筛选过滤条件子项
|
||||
* @param {string} [filterField] 字段名称
|
||||
* @param {FilterOperatorEnum} [filterOperator] 逻辑运算符
|
||||
* @param {any} [filterValue] 字段值
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowListGet(code?: string, name?: string, remark?: string, page?: number, pageSize?: number, field?: string, order?: string, descStr?: string, searchFields?: Array<string>, searchKeyword?: string, keyword?: string, filterLogic?: FilterLogicEnum, filterFilters?: Array<Filter>, filterField?: string, filterOperator?: FilterOperatorEnum, filterValue?: any, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultListApprovalFlowOutput>> {
|
||||
return ApprovalFlowApiFp(configuration).apiApprovalFlowListGet(code, name, remark, page, pageSize, field, order, descStr, searchFields, searchKeyword, keyword, filterLogic, filterFilters, filterField, filterOperator, filterValue, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 分页查询审批流
|
||||
* @param {ApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowPagePost(body?: ApprovalFlowInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultSqlSugarPagedListApprovalFlowOutput>> {
|
||||
return ApprovalFlowApiFp(configuration).apiApprovalFlowPagePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 更新审批流
|
||||
* @param {UpdateApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiApprovalFlowUpdatePost(body?: UpdateApprovalFlowInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return ApprovalFlowApiFp(configuration).apiApprovalFlowUpdatePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* ApprovalFlowApi - object-oriented interface
|
||||
* @export
|
||||
* @class ApprovalFlowApi
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class ApprovalFlowApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary 增加审批流
|
||||
* @param {AddApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalFlowApi
|
||||
*/
|
||||
public async apiApprovalFlowAddPost(body?: AddApprovalFlowInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultInt64>> {
|
||||
return ApprovalFlowApiFp(this.configuration).apiApprovalFlowAddPost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 删除审批流
|
||||
* @param {DeleteApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalFlowApi
|
||||
*/
|
||||
public async apiApprovalFlowDeletePost(body?: DeleteApprovalFlowInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return ApprovalFlowApiFp(this.configuration).apiApprovalFlowDeletePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流
|
||||
* @param {number} id 主键Id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalFlowApi
|
||||
*/
|
||||
public async apiApprovalFlowDetailGet(id: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultApprovalFlow>> {
|
||||
return ApprovalFlowApiFp(this.configuration).apiApprovalFlowDetailGet(id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流结构
|
||||
* @param {string} [code]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalFlowApi
|
||||
*/
|
||||
public async apiApprovalFlowFlowListGet(code?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultObject>> {
|
||||
return ApprovalFlowApiFp(this.configuration).apiApprovalFlowFlowListGet(code, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流规则
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalFlowApi
|
||||
*/
|
||||
public async apiApprovalFlowFormRoutesGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultListString>> {
|
||||
return ApprovalFlowApiFp(this.configuration).apiApprovalFlowFormRoutesGet(options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 根据编码获取审批流信息
|
||||
* @param {string} [code]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalFlowApi
|
||||
*/
|
||||
public async apiApprovalFlowInfoGet(code?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultApprovalFlow>> {
|
||||
return ApprovalFlowApiFp(this.configuration).apiApprovalFlowInfoGet(code, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 获取审批流列表
|
||||
* @param {string} [code] 编号
|
||||
* @param {string} [name] 名称
|
||||
* @param {string} [remark] 备注
|
||||
* @param {number} [page] 当前页码
|
||||
* @param {number} [pageSize] 页码容量
|
||||
* @param {string} [field] 排序字段
|
||||
* @param {string} [order] 排序方向
|
||||
* @param {string} [descStr] 降序排序
|
||||
* @param {Array<string>} [searchFields] 字段名称集合
|
||||
* @param {string} [searchKeyword] 关键字
|
||||
* @param {string} [keyword] 模糊查询关键字
|
||||
* @param {FilterLogicEnum} [filterLogic] 过滤条件
|
||||
* @param {Array<Filter>} [filterFilters] 筛选过滤条件子项
|
||||
* @param {string} [filterField] 字段名称
|
||||
* @param {FilterOperatorEnum} [filterOperator] 逻辑运算符
|
||||
* @param {any} [filterValue] 字段值
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalFlowApi
|
||||
*/
|
||||
public async apiApprovalFlowListGet(code?: string, name?: string, remark?: string, page?: number, pageSize?: number, field?: string, order?: string, descStr?: string, searchFields?: Array<string>, searchKeyword?: string, keyword?: string, filterLogic?: FilterLogicEnum, filterFilters?: Array<Filter>, filterField?: string, filterOperator?: FilterOperatorEnum, filterValue?: any, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultListApprovalFlowOutput>> {
|
||||
return ApprovalFlowApiFp(this.configuration).apiApprovalFlowListGet(code, name, remark, page, pageSize, field, order, descStr, searchFields, searchKeyword, keyword, filterLogic, filterFilters, filterField, filterOperator, filterValue, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 分页查询审批流
|
||||
* @param {ApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalFlowApi
|
||||
*/
|
||||
public async apiApprovalFlowPagePost(body?: ApprovalFlowInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultSqlSugarPagedListApprovalFlowOutput>> {
|
||||
return ApprovalFlowApiFp(this.configuration).apiApprovalFlowPagePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 更新审批流
|
||||
* @param {UpdateApprovalFlowInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof ApprovalFlowApi
|
||||
*/
|
||||
public async apiApprovalFlowUpdatePost(body?: UpdateApprovalFlowInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return ApprovalFlowApiFp(this.configuration).apiApprovalFlowUpdatePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
70
Web/src/api-plugins/approvalFlow/base.ts
Normal file
70
Web/src/api-plugins/approvalFlow/base.ts
Normal file
@ -0,0 +1,70 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 { Configuration } from "./configuration";
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import globalAxios, { AxiosRequestConfig, AxiosInstance } from 'axios';
|
||||
|
||||
export const BASE_PATH = "/".replace(/\/+$/, "");
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const COLLECTION_FORMATS = {
|
||||
csv: ",",
|
||||
ssv: " ",
|
||||
tsv: "\t",
|
||||
pipes: "|",
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RequestArgs
|
||||
*/
|
||||
export interface RequestArgs {
|
||||
url: string;
|
||||
options: AxiosRequestConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class BaseAPI
|
||||
*/
|
||||
export class BaseAPI {
|
||||
protected configuration: Configuration | undefined;
|
||||
|
||||
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
|
||||
if (configuration) {
|
||||
this.configuration = configuration;
|
||||
this.basePath = configuration.basePath || this.basePath;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class RequiredError
|
||||
* @extends {Error}
|
||||
*/
|
||||
export class RequiredError extends Error {
|
||||
name: "RequiredError" = "RequiredError";
|
||||
constructor(public field: string, msg?: string) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
||||
83
Web/src/api-plugins/approvalFlow/configuration.ts
Normal file
83
Web/src/api-plugins/approvalFlow/configuration.ts
Normal file
@ -0,0 +1,83 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 ConfigurationParameters {
|
||||
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
||||
username?: string;
|
||||
password?: string;
|
||||
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
basePath?: string;
|
||||
baseOptions?: any;
|
||||
}
|
||||
|
||||
export class Configuration {
|
||||
|
||||
/**
|
||||
* parameter for apiKey security
|
||||
*
|
||||
* @param name security name
|
||||
* @memberof Configuration
|
||||
*/
|
||||
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
||||
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
username?: string;
|
||||
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
password?: string;
|
||||
|
||||
/**
|
||||
* parameter for oauth2 security
|
||||
*
|
||||
* @param name security name
|
||||
* @param scopes oauth2 scope
|
||||
* @memberof Configuration
|
||||
*/
|
||||
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
|
||||
/**
|
||||
* override base path
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
basePath?: string;
|
||||
|
||||
/**
|
||||
* base options for axios calls
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
baseOptions?: any;
|
||||
|
||||
constructor(param: ConfigurationParameters = {}) {
|
||||
this.apiKey = param.apiKey;
|
||||
this.username = param.username;
|
||||
this.password = param.password;
|
||||
this.accessToken = param.accessToken;
|
||||
this.basePath = param.basePath;
|
||||
this.baseOptions = param.baseOptions;
|
||||
}
|
||||
}
|
||||
18
Web/src/api-plugins/approvalFlow/index.ts
Normal file
18
Web/src/api-plugins/approvalFlow/index.ts
Normal file
@ -0,0 +1,18 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 * from "./api";
|
||||
export * from "./configuration";
|
||||
export * from "./models";
|
||||
|
||||
@ -0,0 +1,134 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 AddApprovalFlowInput
|
||||
*/
|
||||
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}
|
||||
* @memberof AddApprovalFlowInput
|
||||
*/
|
||||
remark?: string | null;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AddApprovalFlowInput
|
||||
*/
|
||||
createTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AddApprovalFlowInput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddApprovalFlowInput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddApprovalFlowInput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddApprovalFlowInput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddApprovalFlowInput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 创建者部门Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddApprovalFlowInput
|
||||
*/
|
||||
createOrgId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者部门名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddApprovalFlowInput
|
||||
*/
|
||||
createOrgName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof AddApprovalFlowInput
|
||||
*/
|
||||
isDelete: boolean;
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 { ApprovalFlow } from './approval-flow';
|
||||
/**
|
||||
* 全局返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface AdminResultApprovalFlow
|
||||
*/
|
||||
export interface AdminResultApprovalFlow {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultApprovalFlow
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultApprovalFlow
|
||||
*/
|
||||
type?: string | null;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultApprovalFlow
|
||||
*/
|
||||
message?: string | null;
|
||||
|
||||
/**
|
||||
* @type {ApprovalFlow}
|
||||
* @memberof AdminResultApprovalFlow
|
||||
*/
|
||||
result?: ApprovalFlow;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultApprovalFlow
|
||||
*/
|
||||
extras?: any | null;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AdminResultApprovalFlow
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 AdminResultInt64
|
||||
*/
|
||||
export interface AdminResultInt64 {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultInt64
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultInt64
|
||||
*/
|
||||
type?: string | null;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultInt64
|
||||
*/
|
||||
message?: string | null;
|
||||
|
||||
/**
|
||||
* 数据
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultInt64
|
||||
*/
|
||||
result?: number;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultInt64
|
||||
*/
|
||||
extras?: any | null;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AdminResultInt64
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
@ -0,0 +1,71 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 { ApprovalFlowOutput } from './approval-flow-output';
|
||||
/**
|
||||
* 全局返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface AdminResultListApprovalFlowOutput
|
||||
*/
|
||||
export interface AdminResultListApprovalFlowOutput {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultListApprovalFlowOutput
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultListApprovalFlowOutput
|
||||
*/
|
||||
type?: string | null;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultListApprovalFlowOutput
|
||||
*/
|
||||
message?: string | null;
|
||||
|
||||
/**
|
||||
* 数据
|
||||
*
|
||||
* @type {Array<ApprovalFlowOutput>}
|
||||
* @memberof AdminResultListApprovalFlowOutput
|
||||
*/
|
||||
result?: Array<ApprovalFlowOutput> | null;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultListApprovalFlowOutput
|
||||
*/
|
||||
extras?: any | null;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AdminResultListApprovalFlowOutput
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 AdminResultListString
|
||||
*/
|
||||
export interface AdminResultListString {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultListString
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultListString
|
||||
*/
|
||||
type?: string | null;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultListString
|
||||
*/
|
||||
message?: string | null;
|
||||
|
||||
/**
|
||||
* 数据
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof AdminResultListString
|
||||
*/
|
||||
result?: Array<string> | null;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultListString
|
||||
*/
|
||||
extras?: any | null;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AdminResultListString
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 AdminResultObject
|
||||
*/
|
||||
export interface AdminResultObject {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
type?: string | null;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
message?: string | null;
|
||||
|
||||
/**
|
||||
* 数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
result?: any | null;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
extras?: any | null;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 { SqlSugarPagedListApprovalFlowOutput } from './sql-sugar-paged-list-approval-flow-output';
|
||||
/**
|
||||
* 全局返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface AdminResultSqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
export interface AdminResultSqlSugarPagedListApprovalFlowOutput {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultSqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultSqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
type?: string | null;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultSqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
message?: string | null;
|
||||
|
||||
/**
|
||||
* @type {SqlSugarPagedListApprovalFlowOutput}
|
||||
* @memberof AdminResultSqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
result?: SqlSugarPagedListApprovalFlowOutput;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultSqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
extras?: any | null;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AdminResultSqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
108
Web/src/api-plugins/approvalFlow/models/approval-flow-input.ts
Normal file
108
Web/src/api-plugins/approvalFlow/models/approval-flow-input.ts
Normal file
@ -0,0 +1,108 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 { Filter } from './filter';
|
||||
import { Search } from './search';
|
||||
/**
|
||||
* 审批流分页查询输入参数
|
||||
*
|
||||
* @export
|
||||
* @interface ApprovalFlowInput
|
||||
*/
|
||||
export interface ApprovalFlowInput {
|
||||
|
||||
/**
|
||||
* @type {Search}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
search?: Search;
|
||||
|
||||
/**
|
||||
* 模糊查询关键字
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
keyword?: string | null;
|
||||
|
||||
/**
|
||||
* @type {Filter}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
filter?: Filter;
|
||||
|
||||
/**
|
||||
* 当前页码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
page?: number;
|
||||
|
||||
/**
|
||||
* 页码容量
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
pageSize?: number;
|
||||
|
||||
/**
|
||||
* 排序字段
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
field?: string | null;
|
||||
|
||||
/**
|
||||
* 排序方向
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
order?: string | null;
|
||||
|
||||
/**
|
||||
* 降序排序
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
descStr?: string | null;
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
code?: string | null;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
name?: string | null;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowInput
|
||||
*/
|
||||
remark?: string | null;
|
||||
}
|
||||
142
Web/src/api-plugins/approvalFlow/models/approval-flow-output.ts
Normal file
142
Web/src/api-plugins/approvalFlow/models/approval-flow-output.ts
Normal file
@ -0,0 +1,142 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 ApprovalFlowOutput
|
||||
*/
|
||||
export interface ApprovalFlowOutput {
|
||||
|
||||
/**
|
||||
* 主键Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
code?: string | null;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
name?: string | null;
|
||||
|
||||
/**
|
||||
* 表单
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
formJson?: string | null;
|
||||
|
||||
/**
|
||||
* 流程
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
flowJson?: string | null;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
remark?: string | null;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
createTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 创建者部门Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
createOrgId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者部门名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
createOrgName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof ApprovalFlowOutput
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
}
|
||||
150
Web/src/api-plugins/approvalFlow/models/approval-flow.ts
Normal file
150
Web/src/api-plugins/approvalFlow/models/approval-flow.ts
Normal file
@ -0,0 +1,150 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 ApprovalFlow
|
||||
*/
|
||||
export interface ApprovalFlow {
|
||||
|
||||
/**
|
||||
* 雪花Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
createTime?: Date;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
|
||||
/**
|
||||
* 创建者部门Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
createOrgId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者部门名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
createOrgName?: string | null;
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
code?: string | null;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
name?: string | null;
|
||||
|
||||
/**
|
||||
* 表单
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
formJson?: string | null;
|
||||
|
||||
/**
|
||||
* 流程
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
flowJson?: string | null;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
status?: number | null;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApprovalFlow
|
||||
*/
|
||||
remark?: string | null;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 DeleteApprovalFlowInput
|
||||
*/
|
||||
export interface DeleteApprovalFlowInput {
|
||||
|
||||
/**
|
||||
* 主键Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof DeleteApprovalFlowInput
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
25
Web/src/api-plugins/approvalFlow/models/filter-logic-enum.ts
Normal file
25
Web/src/api-plugins/approvalFlow/models/filter-logic-enum.ts
Normal file
@ -0,0 +1,25 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 过滤条件<br /> 并且 And = 0<br /> 或者 Or = 1<br /> 异或 Xor = 2<br />
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
export enum FilterLogicEnum {
|
||||
NUMBER_0 = 0,
|
||||
NUMBER_1 = 1,
|
||||
NUMBER_2 = 2
|
||||
}
|
||||
|
||||
@ -0,0 +1,31 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 过滤逻辑运算符<br /> 等于 EQ = 0<br /> 不等于 NEQ = 1<br /> 小于 LT = 2<br /> 小于等于 LTE = 3<br /> 大于 GT = 4<br /> 大于等于 GTE = 5<br /> 开始包含 StartsWith = 6<br /> 末尾包含 EndsWith = 7<br /> 包含 Contains = 8<br />
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
export enum FilterOperatorEnum {
|
||||
NUMBER_0 = 0,
|
||||
NUMBER_1 = 1,
|
||||
NUMBER_2 = 2,
|
||||
NUMBER_3 = 3,
|
||||
NUMBER_4 = 4,
|
||||
NUMBER_5 = 5,
|
||||
NUMBER_6 = 6,
|
||||
NUMBER_7 = 7,
|
||||
NUMBER_8 = 8
|
||||
}
|
||||
|
||||
61
Web/src/api-plugins/approvalFlow/models/filter.ts
Normal file
61
Web/src/api-plugins/approvalFlow/models/filter.ts
Normal file
@ -0,0 +1,61 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 { Filter } from './filter';
|
||||
import { FilterLogicEnum } from './filter-logic-enum';
|
||||
import { FilterOperatorEnum } from './filter-operator-enum';
|
||||
/**
|
||||
* 筛选过滤条件
|
||||
*
|
||||
* @export
|
||||
* @interface Filter
|
||||
*/
|
||||
export interface Filter {
|
||||
|
||||
/**
|
||||
* @type {FilterLogicEnum}
|
||||
* @memberof Filter
|
||||
*/
|
||||
logic?: FilterLogicEnum;
|
||||
|
||||
/**
|
||||
* 筛选过滤条件子项
|
||||
*
|
||||
* @type {Array<Filter>}
|
||||
* @memberof Filter
|
||||
*/
|
||||
filters?: Array<Filter> | null;
|
||||
|
||||
/**
|
||||
* 字段名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Filter
|
||||
*/
|
||||
field?: string | null;
|
||||
|
||||
/**
|
||||
* @type {FilterOperatorEnum}
|
||||
* @memberof Filter
|
||||
*/
|
||||
operator?: FilterOperatorEnum;
|
||||
|
||||
/**
|
||||
* 字段值
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof Filter
|
||||
*/
|
||||
value?: any | null;
|
||||
}
|
||||
17
Web/src/api-plugins/approvalFlow/models/index.ts
Normal file
17
Web/src/api-plugins/approvalFlow/models/index.ts
Normal file
@ -0,0 +1,17 @@
|
||||
export * from './add-approval-flow-input';
|
||||
export * from './admin-result-approval-flow';
|
||||
export * from './admin-result-int64';
|
||||
export * from './admin-result-list-approval-flow-output';
|
||||
export * from './admin-result-list-string';
|
||||
export * from './admin-result-object';
|
||||
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 './filter';
|
||||
export * from './filter-logic-enum';
|
||||
export * from './filter-operator-enum';
|
||||
export * from './search';
|
||||
export * from './sql-sugar-paged-list-approval-flow-output';
|
||||
export * from './update-approval-flow-input';
|
||||
38
Web/src/api-plugins/approvalFlow/models/search.ts
Normal file
38
Web/src/api-plugins/approvalFlow/models/search.ts
Normal file
@ -0,0 +1,38 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 Search
|
||||
*/
|
||||
export interface Search {
|
||||
|
||||
/**
|
||||
* 字段名称集合
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof Search
|
||||
*/
|
||||
fields?: Array<string> | null;
|
||||
|
||||
/**
|
||||
* 关键字
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Search
|
||||
*/
|
||||
keyword?: string | null;
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 { ApprovalFlowOutput } from './approval-flow-output';
|
||||
/**
|
||||
* 分页泛型集合
|
||||
*
|
||||
* @export
|
||||
* @interface SqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
export interface SqlSugarPagedListApprovalFlowOutput {
|
||||
|
||||
/**
|
||||
* 页码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
page?: number;
|
||||
|
||||
/**
|
||||
* 页容量
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
pageSize?: number;
|
||||
|
||||
/**
|
||||
* 总条数
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
total?: number;
|
||||
|
||||
/**
|
||||
* 总页数
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
totalPages?: number;
|
||||
|
||||
/**
|
||||
* 当前页集合
|
||||
*
|
||||
* @type {Array<ApprovalFlowOutput>}
|
||||
* @memberof SqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
items?: Array<ApprovalFlowOutput> | null;
|
||||
|
||||
/**
|
||||
* 是否有上一页
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof SqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
hasPrevPage?: boolean;
|
||||
|
||||
/**
|
||||
* 是否有下一页
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof SqlSugarPagedListApprovalFlowOutput
|
||||
*/
|
||||
hasNextPage?: boolean;
|
||||
}
|
||||
@ -0,0 +1,142 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* 审批流程
|
||||
* 对业务实体数据的增删改操作进行流程审批。<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 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;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof UpdateApprovalFlowInput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateApprovalFlowInput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateApprovalFlowInput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateApprovalFlowInput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateApprovalFlowInput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 创建者部门Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateApprovalFlowInput
|
||||
*/
|
||||
createOrgId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者部门名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateApprovalFlowInput
|
||||
*/
|
||||
createOrgName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof UpdateApprovalFlowInput
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
|
||||
/**
|
||||
* 主键Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateApprovalFlowInput
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
15
Web/src/api-plugins/dingTalk/api.ts
Normal file
15
Web/src/api-plugins/dingTalk/api.ts
Normal file
@ -0,0 +1,15 @@
|
||||
/* 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 * from './apis/ding-talk-api';
|
||||
|
||||
420
Web/src/api-plugins/dingTalk/apis/ding-talk-api.ts
Normal file
420
Web/src/api-plugins/dingTalk/apis/ding-talk-api.ts
Normal file
@ -0,0 +1,420 @@
|
||||
/* 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 globalAxios, { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
|
||||
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 { DingTalkSendInteractiveCardsInput } from '../models';
|
||||
import { GetDingTalkCurrentEmployeesListInput } from '../models';
|
||||
import { GetDingTalkCurrentEmployeesRosterListInput } from '../models';
|
||||
/**
|
||||
* DingTalkApi - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const DingTalkApiAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 获取在职员工列表 🔖
|
||||
* @param {GetDingTalkCurrentEmployeesListInput} body
|
||||
* @param {string} accessToken
|
||||
* @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.');
|
||||
}
|
||||
// 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.');
|
||||
}
|
||||
const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesList/{access_token}`
|
||||
.replace(`{${"access_token"}}`, 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;
|
||||
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,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取员工花名册字段信息 🔖
|
||||
* @param {GetDingTalkCurrentEmployeesRosterListInput} body
|
||||
* @param {string} accessToken
|
||||
* @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.');
|
||||
}
|
||||
// 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.');
|
||||
}
|
||||
const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesRosterList/{access_token}`
|
||||
.replace(`{${"access_token"}}`, 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;
|
||||
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,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 发送钉钉互动卡片 🔖
|
||||
* @param {string} token
|
||||
* @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.');
|
||||
}
|
||||
const localVarPath = `/api/dingTalk/dingTalkSendInteractiveCards/{token}`
|
||||
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
||||
// 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,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取企业内部应用的access_token
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiDingTalkDingTalkTokenGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/dingTalk/dingTalkToken`;
|
||||
// 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: 'GET', ...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;
|
||||
}
|
||||
|
||||
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};
|
||||
|
||||
return {
|
||||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* DingTalkApi - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const DingTalkApiFp = function(configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 获取在职员工列表 🔖
|
||||
* @param {GetDingTalkCurrentEmployeesListInput} body
|
||||
* @param {string} accessToken
|
||||
* @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);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取员工花名册字段信息 🔖
|
||||
* @param {GetDingTalkCurrentEmployeesRosterListInput} body
|
||||
* @param {string} accessToken
|
||||
* @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);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 发送钉钉互动卡片 🔖
|
||||
* @param {string} token
|
||||
* @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);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取企业内部应用的access_token
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultGetDingTalkTokenOutput>>> {
|
||||
const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkTokenGet(options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* DingTalkApi - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const DingTalkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 获取在职员工列表 🔖
|
||||
* @param {GetDingTalkCurrentEmployeesListInput} body
|
||||
* @param {string} accessToken
|
||||
* @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));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取员工花名册字段信息 🔖
|
||||
* @param {GetDingTalkCurrentEmployeesRosterListInput} body
|
||||
* @param {string} accessToken
|
||||
* @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));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 发送钉钉互动卡片 🔖
|
||||
* @param {string} token
|
||||
* @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));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取企业内部应用的access_token
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultGetDingTalkTokenOutput>> {
|
||||
return DingTalkApiFp(configuration).apiDingTalkDingTalkTokenGet(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* DingTalkApi - object-oriented interface
|
||||
* @export
|
||||
* @class DingTalkApi
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class DingTalkApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary 获取在职员工列表 🔖
|
||||
* @param {GetDingTalkCurrentEmployeesListInput} body
|
||||
* @param {string} accessToken
|
||||
* @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));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 获取员工花名册字段信息 🔖
|
||||
* @param {GetDingTalkCurrentEmployeesRosterListInput} body
|
||||
* @param {string} accessToken
|
||||
* @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));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 发送钉钉互动卡片 🔖
|
||||
* @param {string} token
|
||||
* @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));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 获取企业内部应用的access_token
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DingTalkApi
|
||||
*/
|
||||
public async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultGetDingTalkTokenOutput>> {
|
||||
return DingTalkApiFp(this.configuration).apiDingTalkDingTalkTokenGet(options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
70
Web/src/api-plugins/dingTalk/base.ts
Normal file
70
Web/src/api-plugins/dingTalk/base.ts
Normal file
@ -0,0 +1,70 @@
|
||||
/* 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 { Configuration } from "./configuration";
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import globalAxios, { AxiosRequestConfig, AxiosInstance } from 'axios';
|
||||
|
||||
export const BASE_PATH = "/".replace(/\/+$/, "");
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const COLLECTION_FORMATS = {
|
||||
csv: ",",
|
||||
ssv: " ",
|
||||
tsv: "\t",
|
||||
pipes: "|",
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RequestArgs
|
||||
*/
|
||||
export interface RequestArgs {
|
||||
url: string;
|
||||
options: AxiosRequestConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class BaseAPI
|
||||
*/
|
||||
export class BaseAPI {
|
||||
protected configuration: Configuration | undefined;
|
||||
|
||||
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
|
||||
if (configuration) {
|
||||
this.configuration = configuration;
|
||||
this.basePath = configuration.basePath || this.basePath;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class RequiredError
|
||||
* @extends {Error}
|
||||
*/
|
||||
export class RequiredError extends Error {
|
||||
name: "RequiredError" = "RequiredError";
|
||||
constructor(public field: string, msg?: string) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
||||
83
Web/src/api-plugins/dingTalk/configuration.ts
Normal file
83
Web/src/api-plugins/dingTalk/configuration.ts
Normal file
@ -0,0 +1,83 @@
|
||||
/* 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 ConfigurationParameters {
|
||||
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
||||
username?: string;
|
||||
password?: string;
|
||||
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
basePath?: string;
|
||||
baseOptions?: any;
|
||||
}
|
||||
|
||||
export class Configuration {
|
||||
|
||||
/**
|
||||
* parameter for apiKey security
|
||||
*
|
||||
* @param name security name
|
||||
* @memberof Configuration
|
||||
*/
|
||||
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
||||
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
username?: string;
|
||||
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
password?: string;
|
||||
|
||||
/**
|
||||
* parameter for oauth2 security
|
||||
*
|
||||
* @param name security name
|
||||
* @param scopes oauth2 scope
|
||||
* @memberof Configuration
|
||||
*/
|
||||
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
|
||||
/**
|
||||
* override base path
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
basePath?: string;
|
||||
|
||||
/**
|
||||
* base options for axios calls
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
baseOptions?: any;
|
||||
|
||||
constructor(param: ConfigurationParameters = {}) {
|
||||
this.apiKey = param.apiKey;
|
||||
this.username = param.username;
|
||||
this.password = param.password;
|
||||
this.accessToken = param.accessToken;
|
||||
this.basePath = param.basePath;
|
||||
this.baseOptions = param.baseOptions;
|
||||
}
|
||||
}
|
||||
18
Web/src/api-plugins/dingTalk/index.ts
Normal file
18
Web/src/api-plugins/dingTalk/index.ts
Normal file
@ -0,0 +1,18 @@
|
||||
/* 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 * from "./api";
|
||||
export * from "./configuration";
|
||||
export * from "./models";
|
||||
|
||||
@ -0,0 +1,69 @@
|
||||
/* 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;
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
/* 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 { DingTalkBaseResponseListDingTalkEmpRosterFieldVo } from './ding-talk-base-response-list-ding-talk-emp-roster-field-vo';
|
||||
/**
|
||||
* 全局返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
export interface AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
type?: string | null;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
message?: string | null;
|
||||
|
||||
/**
|
||||
* @type {DingTalkBaseResponseListDingTalkEmpRosterFieldVo}
|
||||
* @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
result?: DingTalkBaseResponseListDingTalkEmpRosterFieldVo;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
extras?: any | null;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AdminResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
/* 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 { DingTalkSendInteractiveCardsOutput } from './ding-talk-send-interactive-cards-output';
|
||||
/**
|
||||
* 全局返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface AdminResultDingTalkSendInteractiveCardsOutput
|
||||
*/
|
||||
export interface AdminResultDingTalkSendInteractiveCardsOutput {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultDingTalkSendInteractiveCardsOutput
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultDingTalkSendInteractiveCardsOutput
|
||||
*/
|
||||
type?: string | null;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultDingTalkSendInteractiveCardsOutput
|
||||
*/
|
||||
message?: string | null;
|
||||
|
||||
/**
|
||||
* @type {DingTalkSendInteractiveCardsOutput}
|
||||
* @memberof AdminResultDingTalkSendInteractiveCardsOutput
|
||||
*/
|
||||
result?: DingTalkSendInteractiveCardsOutput;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultDingTalkSendInteractiveCardsOutput
|
||||
*/
|
||||
extras?: any | null;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AdminResultDingTalkSendInteractiveCardsOutput
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
/* 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 { GetDingTalkTokenOutput } from './get-ding-talk-token-output';
|
||||
/**
|
||||
* 全局返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface AdminResultGetDingTalkTokenOutput
|
||||
*/
|
||||
export interface AdminResultGetDingTalkTokenOutput {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultGetDingTalkTokenOutput
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultGetDingTalkTokenOutput
|
||||
*/
|
||||
type?: string | null;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultGetDingTalkTokenOutput
|
||||
*/
|
||||
message?: string | null;
|
||||
|
||||
/**
|
||||
* @type {GetDingTalkTokenOutput}
|
||||
* @memberof AdminResultGetDingTalkTokenOutput
|
||||
*/
|
||||
result?: GetDingTalkTokenOutput;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultGetDingTalkTokenOutput
|
||||
*/
|
||||
extras?: any | null;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AdminResultGetDingTalkTokenOutput
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
/* 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;
|
||||
}
|
||||
@ -0,0 +1,63 @@
|
||||
/* 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 { DingTalkEmpRosterFieldVo } from './ding-talk-emp-roster-field-vo';
|
||||
/**
|
||||
* 钉钉基础响应结果
|
||||
*
|
||||
* @export
|
||||
* @interface DingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
export interface DingTalkBaseResponseListDingTalkEmpRosterFieldVo {
|
||||
|
||||
/**
|
||||
* 返回结果
|
||||
*
|
||||
* @type {Array<DingTalkEmpRosterFieldVo>}
|
||||
* @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
result?: Array<DingTalkEmpRosterFieldVo> | null;
|
||||
|
||||
/**
|
||||
* 返回码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
errCode?: number;
|
||||
|
||||
/**
|
||||
* 返回码描述。
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
errMsg?: string | null;
|
||||
|
||||
/**
|
||||
* 是否调用成功
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
success?: boolean;
|
||||
|
||||
/**
|
||||
* 请求Id
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
|
||||
*/
|
||||
requestId?: string | null;
|
||||
}
|
||||
37
Web/src/api-plugins/dingTalk/models/ding-talk-card-data.ts
Normal file
37
Web/src/api-plugins/dingTalk/models/ding-talk-card-data.ts
Normal file
@ -0,0 +1,37 @@
|
||||
/* 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 { DingTalkCardParamMap } from './ding-talk-card-param-map';
|
||||
/**
|
||||
* 卡片公有数据
|
||||
*
|
||||
* @export
|
||||
* @interface DingTalkCardData
|
||||
*/
|
||||
export interface DingTalkCardData {
|
||||
|
||||
/**
|
||||
* @type {DingTalkCardParamMap}
|
||||
* @memberof DingTalkCardData
|
||||
*/
|
||||
cardParamMap?: DingTalkCardParamMap;
|
||||
|
||||
/**
|
||||
* 卡片模板内容替换参数,多媒体类型。
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkCardData
|
||||
*/
|
||||
cardMediaIdParamMap?: string | null;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
/* 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 DingTalkCardParamMap
|
||||
*/
|
||||
export interface DingTalkCardParamMap {
|
||||
|
||||
/**
|
||||
* 片模板内容替换参数
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkCardParamMap
|
||||
*/
|
||||
sysFullJsonObj?: string | null;
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 钉钉发送的会话类型枚举<br /> 单聊 SingleChat = 0<br /> 群聊 GroupChat = 1<br />
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
export enum DingTalkConversationTypeEnum {
|
||||
NUMBER_0 = 0,
|
||||
NUMBER_1 = 1
|
||||
}
|
||||
|
||||
@ -0,0 +1,53 @@
|
||||
/* 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 { DingTalkFieldValueVo } from './ding-talk-field-value-vo';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface DingTalkEmpFieldDataVo
|
||||
*/
|
||||
export interface DingTalkEmpFieldDataVo {
|
||||
|
||||
/**
|
||||
* 字段名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkEmpFieldDataVo
|
||||
*/
|
||||
fieldName?: string | null;
|
||||
|
||||
/**
|
||||
* 字段标识
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkEmpFieldDataVo
|
||||
*/
|
||||
fieldCode?: string | null;
|
||||
|
||||
/**
|
||||
* 分组标识
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkEmpFieldDataVo
|
||||
*/
|
||||
groupId?: string | null;
|
||||
|
||||
/**
|
||||
* @type {Array<DingTalkFieldValueVo>}
|
||||
* @memberof DingTalkEmpFieldDataVo
|
||||
*/
|
||||
fieldValueList?: Array<DingTalkFieldValueVo> | null;
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
/* 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 { DingTalkEmpFieldDataVo } from './ding-talk-emp-field-data-vo';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface DingTalkEmpRosterFieldVo
|
||||
*/
|
||||
export interface DingTalkEmpRosterFieldVo {
|
||||
|
||||
/**
|
||||
* 企业的corpid
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkEmpRosterFieldVo
|
||||
*/
|
||||
corpId?: string | null;
|
||||
|
||||
/**
|
||||
* 返回的字段信息列表
|
||||
*
|
||||
* @type {Array<DingTalkEmpFieldDataVo>}
|
||||
* @memberof DingTalkEmpRosterFieldVo
|
||||
*/
|
||||
fieldDataList?: Array<DingTalkEmpFieldDataVo> | null;
|
||||
|
||||
/**
|
||||
* 员工的userid
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkEmpRosterFieldVo
|
||||
*/
|
||||
userid?: string | null;
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
/* 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 DingTalkFieldValueVo
|
||||
*/
|
||||
export interface DingTalkFieldValueVo {
|
||||
|
||||
/**
|
||||
* 第几条的明细标识,下标从0开始
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof DingTalkFieldValueVo
|
||||
*/
|
||||
itemIndex?: number;
|
||||
|
||||
/**
|
||||
* 字段展示值,选项类型字段对应选项的value
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkFieldValueVo
|
||||
*/
|
||||
label?: string | null;
|
||||
|
||||
/**
|
||||
* 字段取值,选项类型字段对应选项的key
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkFieldValueVo
|
||||
*/
|
||||
value?: string | null;
|
||||
}
|
||||
@ -0,0 +1,84 @@
|
||||
/* 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 { DingTalkCardData } from './ding-talk-card-data';
|
||||
import { DingTalkConversationTypeEnum } from './ding-talk-conversation-type-enum';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface DingTalkSendInteractiveCardsInput
|
||||
*/
|
||||
export interface DingTalkSendInteractiveCardsInput {
|
||||
|
||||
/**
|
||||
* 互动卡片的消息模板Id
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkSendInteractiveCardsInput
|
||||
*/
|
||||
cardTemplateId: string;
|
||||
|
||||
/**
|
||||
* 群Id
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkSendInteractiveCardsInput
|
||||
*/
|
||||
openConversationId?: string | null;
|
||||
|
||||
/**
|
||||
* 接收人userId列表
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof DingTalkSendInteractiveCardsInput
|
||||
*/
|
||||
receiverUserIdList: Array<string>;
|
||||
|
||||
/**
|
||||
* 唯一标示卡片的外部编码
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkSendInteractiveCardsInput
|
||||
*/
|
||||
outTrackId: string;
|
||||
|
||||
/**
|
||||
* 机器人的编码
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkSendInteractiveCardsInput
|
||||
*/
|
||||
robotCode?: string | null;
|
||||
|
||||
/**
|
||||
* @type {DingTalkConversationTypeEnum}
|
||||
* @memberof DingTalkSendInteractiveCardsInput
|
||||
*/
|
||||
conversationType: DingTalkConversationTypeEnum;
|
||||
|
||||
/**
|
||||
* 卡片回调时的路由Key,用于查询注册的callbackUrl
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkSendInteractiveCardsInput
|
||||
*/
|
||||
callbackRouteKey?: string | null;
|
||||
|
||||
/**
|
||||
* @type {DingTalkCardData}
|
||||
* @memberof DingTalkSendInteractiveCardsInput
|
||||
*/
|
||||
cardData: DingTalkCardData;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
/* 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 { DingTalkSendInteractiveCardsResult } from './ding-talk-send-interactive-cards-result';
|
||||
/**
|
||||
* 发送钉钉互动卡片返回
|
||||
*
|
||||
* @export
|
||||
* @interface DingTalkSendInteractiveCardsOutput
|
||||
*/
|
||||
export interface DingTalkSendInteractiveCardsOutput {
|
||||
|
||||
/**
|
||||
* 返回结果
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof DingTalkSendInteractiveCardsOutput
|
||||
*/
|
||||
success?: boolean;
|
||||
|
||||
/**
|
||||
* @type {DingTalkSendInteractiveCardsResult}
|
||||
* @memberof DingTalkSendInteractiveCardsOutput
|
||||
*/
|
||||
result?: DingTalkSendInteractiveCardsResult;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
/* 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 DingTalkSendInteractiveCardsResult
|
||||
*/
|
||||
export interface DingTalkSendInteractiveCardsResult {
|
||||
|
||||
/**
|
||||
* 用于业务方后续查看已读列表的查询key
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DingTalkSendInteractiveCardsResult
|
||||
*/
|
||||
processQueryKey?: string | null;
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
/* 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,0 +1,38 @@
|
||||
/* 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 GetDingTalkCurrentEmployeesListOutput
|
||||
*/
|
||||
export interface GetDingTalkCurrentEmployeesListOutput {
|
||||
|
||||
/**
|
||||
* 查询到的员工userId列表
|
||||
*
|
||||
* @type {Array<string>}
|
||||
* @memberof GetDingTalkCurrentEmployeesListOutput
|
||||
*/
|
||||
dataList?: Array<string> | null;
|
||||
|
||||
/**
|
||||
* 下一次分页调用的offset值,当返回结果里没有next_cursor时,表示分页结束。
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GetDingTalkCurrentEmployeesListOutput
|
||||
*/
|
||||
nextCursor?: number | null;
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
/* 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,0 +1,54 @@
|
||||
/* 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;
|
||||
}
|
||||
19
Web/src/api-plugins/dingTalk/models/index.ts
Normal file
19
Web/src/api-plugins/dingTalk/models/index.ts
Normal file
@ -0,0 +1,19 @@
|
||||
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 './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';
|
||||
16
Web/src/api-plugins/goView/api.ts
Normal file
16
Web/src/api-plugins/goView/api.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 * from './apis/project-api';
|
||||
export * from './apis/sys-api';
|
||||
|
||||
1004
Web/src/api-plugins/goView/apis/project-api.ts
Normal file
1004
Web/src/api-plugins/goView/apis/project-api.ts
Normal file
File diff suppressed because it is too large
Load Diff
290
Web/src/api-plugins/goView/apis/sys-api.ts
Normal file
290
Web/src/api-plugins/goView/apis/sys-api.ts
Normal file
@ -0,0 +1,290 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 globalAxios, { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
|
||||
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 { GoViewLoginInput } from '../models';
|
||||
import { GoViewResultGoViewLoginOutput } from '../models';
|
||||
import { GoViewResultGoViewOssUrlOutput } from '../models';
|
||||
/**
|
||||
* SysApi - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const SysApiAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 获取 OSS 上传接口 🔖
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiGoviewSysGetOssInfoGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/goview/sys/getOssInfo`;
|
||||
// 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: 'GET', ...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;
|
||||
}
|
||||
|
||||
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};
|
||||
|
||||
return {
|
||||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary GoView 登录 🔖
|
||||
* @param {GoViewLoginInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiGoviewSysLoginPost: async (body?: GoViewLoginInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/goview/sys/login`;
|
||||
// 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,
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary GoView 退出 🔖
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiGoviewSysLogoutGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/goview/sys/logout`;
|
||||
// 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: 'GET', ...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;
|
||||
}
|
||||
|
||||
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};
|
||||
|
||||
return {
|
||||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* SysApi - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const SysApiFp = function(configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 获取 OSS 上传接口 🔖
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiGoviewSysGetOssInfoGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<GoViewResultGoViewOssUrlOutput>>> {
|
||||
const localVarAxiosArgs = await SysApiAxiosParamCreator(configuration).apiGoviewSysGetOssInfoGet(options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary GoView 登录 🔖
|
||||
* @param {GoViewLoginInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiGoviewSysLoginPost(body?: GoViewLoginInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<GoViewResultGoViewLoginOutput>>> {
|
||||
const localVarAxiosArgs = await SysApiAxiosParamCreator(configuration).apiGoviewSysLoginPost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary GoView 退出 🔖
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiGoviewSysLogoutGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysApiAxiosParamCreator(configuration).apiGoviewSysLogoutGet(options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* SysApi - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const SysApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 获取 OSS 上传接口 🔖
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiGoviewSysGetOssInfoGet(options?: AxiosRequestConfig): Promise<AxiosResponse<GoViewResultGoViewOssUrlOutput>> {
|
||||
return SysApiFp(configuration).apiGoviewSysGetOssInfoGet(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary GoView 登录 🔖
|
||||
* @param {GoViewLoginInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiGoviewSysLoginPost(body?: GoViewLoginInput, options?: AxiosRequestConfig): Promise<AxiosResponse<GoViewResultGoViewLoginOutput>> {
|
||||
return SysApiFp(configuration).apiGoviewSysLoginPost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary GoView 退出 🔖
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiGoviewSysLogoutGet(options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysApiFp(configuration).apiGoviewSysLogoutGet(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* SysApi - object-oriented interface
|
||||
* @export
|
||||
* @class SysApi
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class SysApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary 获取 OSS 上传接口 🔖
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysApi
|
||||
*/
|
||||
public async apiGoviewSysGetOssInfoGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<GoViewResultGoViewOssUrlOutput>> {
|
||||
return SysApiFp(this.configuration).apiGoviewSysGetOssInfoGet(options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary GoView 登录 🔖
|
||||
* @param {GoViewLoginInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysApi
|
||||
*/
|
||||
public async apiGoviewSysLoginPost(body?: GoViewLoginInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<GoViewResultGoViewLoginOutput>> {
|
||||
return SysApiFp(this.configuration).apiGoviewSysLoginPost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary GoView 退出 🔖
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysApi
|
||||
*/
|
||||
public async apiGoviewSysLogoutGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysApiFp(this.configuration).apiGoviewSysLogoutGet(options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
70
Web/src/api-plugins/goView/base.ts
Normal file
70
Web/src/api-plugins/goView/base.ts
Normal file
@ -0,0 +1,70 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { Configuration } from "./configuration";
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import globalAxios, { AxiosRequestConfig, AxiosInstance } from 'axios';
|
||||
|
||||
export const BASE_PATH = "/".replace(/\/+$/, "");
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const COLLECTION_FORMATS = {
|
||||
csv: ",",
|
||||
ssv: " ",
|
||||
tsv: "\t",
|
||||
pipes: "|",
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RequestArgs
|
||||
*/
|
||||
export interface RequestArgs {
|
||||
url: string;
|
||||
options: AxiosRequestConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class BaseAPI
|
||||
*/
|
||||
export class BaseAPI {
|
||||
protected configuration: Configuration | undefined;
|
||||
|
||||
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
|
||||
if (configuration) {
|
||||
this.configuration = configuration;
|
||||
this.basePath = configuration.basePath || this.basePath;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class RequiredError
|
||||
* @extends {Error}
|
||||
*/
|
||||
export class RequiredError extends Error {
|
||||
name: "RequiredError" = "RequiredError";
|
||||
constructor(public field: string, msg?: string) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
||||
83
Web/src/api-plugins/goView/configuration.ts
Normal file
83
Web/src/api-plugins/goView/configuration.ts
Normal file
@ -0,0 +1,83 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 ConfigurationParameters {
|
||||
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
||||
username?: string;
|
||||
password?: string;
|
||||
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
basePath?: string;
|
||||
baseOptions?: any;
|
||||
}
|
||||
|
||||
export class Configuration {
|
||||
|
||||
/**
|
||||
* parameter for apiKey security
|
||||
*
|
||||
* @param name security name
|
||||
* @memberof Configuration
|
||||
*/
|
||||
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
||||
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
username?: string;
|
||||
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
password?: string;
|
||||
|
||||
/**
|
||||
* parameter for oauth2 security
|
||||
*
|
||||
* @param name security name
|
||||
* @param scopes oauth2 scope
|
||||
* @memberof Configuration
|
||||
*/
|
||||
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
|
||||
/**
|
||||
* override base path
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
basePath?: string;
|
||||
|
||||
/**
|
||||
* base options for axios calls
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
baseOptions?: any;
|
||||
|
||||
constructor(param: ConfigurationParameters = {}) {
|
||||
this.apiKey = param.apiKey;
|
||||
this.username = param.username;
|
||||
this.password = param.password;
|
||||
this.accessToken = param.accessToken;
|
||||
this.basePath = param.basePath;
|
||||
this.baseOptions = param.baseOptions;
|
||||
}
|
||||
}
|
||||
18
Web/src/api-plugins/goView/index.ts
Normal file
18
Web/src/api-plugins/goView/index.ts
Normal file
@ -0,0 +1,18 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 * from "./api";
|
||||
export * from "./configuration";
|
||||
export * from "./models";
|
||||
|
||||
38
Web/src/api-plugins/goView/models/go-view-login-input.ts
Normal file
38
Web/src/api-plugins/goView/models/go-view-login-input.ts
Normal file
@ -0,0 +1,38 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 GoViewLoginInput
|
||||
*/
|
||||
export interface GoViewLoginInput {
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewLoginInput
|
||||
*/
|
||||
username: string;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewLoginInput
|
||||
*/
|
||||
password: string;
|
||||
}
|
||||
36
Web/src/api-plugins/goView/models/go-view-login-output.ts
Normal file
36
Web/src/api-plugins/goView/models/go-view-login-output.ts
Normal file
@ -0,0 +1,36 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { GoViewLoginToken } from './go-view-login-token';
|
||||
import { GoViewLoginUserInfo } from './go-view-login-user-info';
|
||||
/**
|
||||
* 登录输出
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewLoginOutput
|
||||
*/
|
||||
export interface GoViewLoginOutput {
|
||||
|
||||
/**
|
||||
* @type {GoViewLoginUserInfo}
|
||||
* @memberof GoViewLoginOutput
|
||||
*/
|
||||
userinfo?: GoViewLoginUserInfo;
|
||||
|
||||
/**
|
||||
* @type {GoViewLoginToken}
|
||||
* @memberof GoViewLoginOutput
|
||||
*/
|
||||
token?: GoViewLoginToken;
|
||||
}
|
||||
38
Web/src/api-plugins/goView/models/go-view-login-token.ts
Normal file
38
Web/src/api-plugins/goView/models/go-view-login-token.ts
Normal file
@ -0,0 +1,38 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 登录 Token
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewLoginToken
|
||||
*/
|
||||
export interface GoViewLoginToken {
|
||||
|
||||
/**
|
||||
* Token 名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewLoginToken
|
||||
*/
|
||||
tokenName?: string | null;
|
||||
|
||||
/**
|
||||
* Token 值
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewLoginToken
|
||||
*/
|
||||
tokenValue?: string | null;
|
||||
}
|
||||
46
Web/src/api-plugins/goView/models/go-view-login-user-info.ts
Normal file
46
Web/src/api-plugins/goView/models/go-view-login-user-info.ts
Normal file
@ -0,0 +1,46 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 GoViewLoginUserInfo
|
||||
*/
|
||||
export interface GoViewLoginUserInfo {
|
||||
|
||||
/**
|
||||
* 用户 Id
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewLoginUserInfo
|
||||
*/
|
||||
id?: string | null;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewLoginUserInfo
|
||||
*/
|
||||
username?: string | null;
|
||||
|
||||
/**
|
||||
* 昵称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewLoginUserInfo
|
||||
*/
|
||||
nickname?: string | null;
|
||||
}
|
||||
38
Web/src/api-plugins/goView/models/go-view-oss-url-output.ts
Normal file
38
Web/src/api-plugins/goView/models/go-view-oss-url-output.ts
Normal file
@ -0,0 +1,38 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 获取 OSS 上传接口输出
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewOssUrlOutput
|
||||
*/
|
||||
export interface GoViewOssUrlOutput {
|
||||
|
||||
/**
|
||||
* 桶名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewOssUrlOutput
|
||||
*/
|
||||
bucketName?: string | null;
|
||||
|
||||
/**
|
||||
* BucketURL 地址
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewOssUrlOutput
|
||||
*/
|
||||
bucketURL?: string | null;
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* GoView 新增项目
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewProCreateInput
|
||||
*/
|
||||
export interface GoViewProCreateInput {
|
||||
|
||||
/**
|
||||
* 项目名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProCreateInput
|
||||
*/
|
||||
projectName?: string | null;
|
||||
|
||||
/**
|
||||
* 项目备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProCreateInput
|
||||
*/
|
||||
remarks?: string | null;
|
||||
|
||||
/**
|
||||
* 预览图片url
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProCreateInput
|
||||
*/
|
||||
indexImage?: string | null;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* GoView 新增项目输出
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewProCreateOutput
|
||||
*/
|
||||
export interface GoViewProCreateOutput {
|
||||
|
||||
/**
|
||||
* 项目Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProCreateOutput
|
||||
*/
|
||||
id?: number;
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { GoViewProStateEnum } from './go-view-pro-state-enum';
|
||||
/**
|
||||
* GoView 项目详情
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewProDetailOutput
|
||||
*/
|
||||
export interface GoViewProDetailOutput {
|
||||
|
||||
/**
|
||||
* 项目Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProDetailOutput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 项目名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProDetailOutput
|
||||
*/
|
||||
projectName?: string | null;
|
||||
|
||||
/**
|
||||
* @type {GoViewProStateEnum}
|
||||
* @memberof GoViewProDetailOutput
|
||||
*/
|
||||
stateEnum?: GoViewProStateEnum;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof GoViewProDetailOutput
|
||||
*/
|
||||
createTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 预览图片url
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProDetailOutput
|
||||
*/
|
||||
indexImage?: string | null;
|
||||
|
||||
/**
|
||||
* 背景图片url
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProDetailOutput
|
||||
*/
|
||||
backGroundImage?: string | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProDetailOutput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 项目备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProDetailOutput
|
||||
*/
|
||||
remarks?: string | null;
|
||||
|
||||
/**
|
||||
* 项目内容
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProDetailOutput
|
||||
*/
|
||||
content?: string | null;
|
||||
}
|
||||
46
Web/src/api-plugins/goView/models/go-view-pro-edit-input.ts
Normal file
46
Web/src/api-plugins/goView/models/go-view-pro-edit-input.ts
Normal file
@ -0,0 +1,46 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* GoView 编辑项目
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewProEditInput
|
||||
*/
|
||||
export interface GoViewProEditInput {
|
||||
|
||||
/**
|
||||
* 项目Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProEditInput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 项目名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProEditInput
|
||||
*/
|
||||
projectName?: string | null;
|
||||
|
||||
/**
|
||||
* 预览图片url
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProEditInput
|
||||
*/
|
||||
indexImage?: string | null;
|
||||
}
|
||||
85
Web/src/api-plugins/goView/models/go-view-pro-item-output.ts
Normal file
85
Web/src/api-plugins/goView/models/go-view-pro-item-output.ts
Normal file
@ -0,0 +1,85 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { GoViewProStateEnum } from './go-view-pro-state-enum';
|
||||
/**
|
||||
* GoView 项目 Item
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewProItemOutput
|
||||
*/
|
||||
export interface GoViewProItemOutput {
|
||||
|
||||
/**
|
||||
* 项目Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProItemOutput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 项目名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProItemOutput
|
||||
*/
|
||||
projectName?: string | null;
|
||||
|
||||
/**
|
||||
* @type {GoViewProStateEnum}
|
||||
* @memberof GoViewProItemOutput
|
||||
*/
|
||||
stateEnum?: GoViewProStateEnum;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof GoViewProItemOutput
|
||||
*/
|
||||
createTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 预览图片url
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProItemOutput
|
||||
*/
|
||||
indexImage?: string | null;
|
||||
|
||||
/**
|
||||
* 背景图片url
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProItemOutput
|
||||
*/
|
||||
backGroundImage?: string | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProItemOutput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 项目备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProItemOutput
|
||||
*/
|
||||
remarks?: string | null;
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { GoViewProStateEnum } from './go-view-pro-state-enum';
|
||||
/**
|
||||
* GoView 修改项目发布状态
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewProPublishInput
|
||||
*/
|
||||
export interface GoViewProPublishInput {
|
||||
|
||||
/**
|
||||
* 项目Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProPublishInput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* @type {GoViewProStateEnum}
|
||||
* @memberof GoViewProPublishInput
|
||||
*/
|
||||
stateEnum?: GoViewProStateEnum;
|
||||
}
|
||||
24
Web/src/api-plugins/goView/models/go-view-pro-state-enum.ts
Normal file
24
Web/src/api-plugins/goView/models/go-view-pro-state-enum.ts
Normal file
@ -0,0 +1,24 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* GoView 项目状态<br /> 已发布 Published = 1<br /> 未发布 UnPublish = -1<br />
|
||||
* @export
|
||||
* @enum {string}
|
||||
*/
|
||||
export enum GoViewProStateEnum {
|
||||
NUMBER_1 = 1,
|
||||
NUMBER_MINUS_1 = -1
|
||||
}
|
||||
|
||||
102
Web/src/api-plugins/goView/models/go-view-pro-upload-output.ts
Normal file
102
Web/src/api-plugins/goView/models/go-view-pro-upload-output.ts
Normal file
@ -0,0 +1,102 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* GoView 上传项目输出
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewProUploadOutput
|
||||
*/
|
||||
export interface GoViewProUploadOutput {
|
||||
|
||||
/**
|
||||
* Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProUploadOutput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 仓储名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProUploadOutput
|
||||
*/
|
||||
bucketName?: string | null;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof GoViewProUploadOutput
|
||||
*/
|
||||
createTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProUploadOutput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 文件名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProUploadOutput
|
||||
*/
|
||||
fileName?: string | null;
|
||||
|
||||
/**
|
||||
* 文件大小KB
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProUploadOutput
|
||||
*/
|
||||
fileSize?: number;
|
||||
|
||||
/**
|
||||
* 文件后缀
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProUploadOutput
|
||||
*/
|
||||
fileSuffix?: string | null;
|
||||
|
||||
/**
|
||||
* 文件 Url
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewProUploadOutput
|
||||
*/
|
||||
fileUrl?: string | null;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof GoViewProUploadOutput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewProUploadOutput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
}
|
||||
@ -0,0 +1,53 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { GoViewLoginOutput } from './go-view-login-output';
|
||||
/**
|
||||
* GoView 返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewResultGoViewLoginOutput
|
||||
*/
|
||||
export interface GoViewResultGoViewLoginOutput {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultGoViewLoginOutput
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewResultGoViewLoginOutput
|
||||
*/
|
||||
msg?: string | null;
|
||||
|
||||
/**
|
||||
* @type {GoViewLoginOutput}
|
||||
* @memberof GoViewResultGoViewLoginOutput
|
||||
*/
|
||||
data?: GoViewLoginOutput;
|
||||
|
||||
/**
|
||||
* 总数
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultGoViewLoginOutput
|
||||
*/
|
||||
count?: number | null;
|
||||
}
|
||||
@ -0,0 +1,53 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { GoViewOssUrlOutput } from './go-view-oss-url-output';
|
||||
/**
|
||||
* GoView 返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewResultGoViewOssUrlOutput
|
||||
*/
|
||||
export interface GoViewResultGoViewOssUrlOutput {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultGoViewOssUrlOutput
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewResultGoViewOssUrlOutput
|
||||
*/
|
||||
msg?: string | null;
|
||||
|
||||
/**
|
||||
* @type {GoViewOssUrlOutput}
|
||||
* @memberof GoViewResultGoViewOssUrlOutput
|
||||
*/
|
||||
data?: GoViewOssUrlOutput;
|
||||
|
||||
/**
|
||||
* 总数
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultGoViewOssUrlOutput
|
||||
*/
|
||||
count?: number | null;
|
||||
}
|
||||
@ -0,0 +1,53 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { GoViewProCreateOutput } from './go-view-pro-create-output';
|
||||
/**
|
||||
* GoView 返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewResultGoViewProCreateOutput
|
||||
*/
|
||||
export interface GoViewResultGoViewProCreateOutput {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultGoViewProCreateOutput
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewResultGoViewProCreateOutput
|
||||
*/
|
||||
msg?: string | null;
|
||||
|
||||
/**
|
||||
* @type {GoViewProCreateOutput}
|
||||
* @memberof GoViewResultGoViewProCreateOutput
|
||||
*/
|
||||
data?: GoViewProCreateOutput;
|
||||
|
||||
/**
|
||||
* 总数
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultGoViewProCreateOutput
|
||||
*/
|
||||
count?: number | null;
|
||||
}
|
||||
@ -0,0 +1,53 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { GoViewProDetailOutput } from './go-view-pro-detail-output';
|
||||
/**
|
||||
* GoView 返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewResultGoViewProDetailOutput
|
||||
*/
|
||||
export interface GoViewResultGoViewProDetailOutput {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultGoViewProDetailOutput
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewResultGoViewProDetailOutput
|
||||
*/
|
||||
msg?: string | null;
|
||||
|
||||
/**
|
||||
* @type {GoViewProDetailOutput}
|
||||
* @memberof GoViewResultGoViewProDetailOutput
|
||||
*/
|
||||
data?: GoViewProDetailOutput;
|
||||
|
||||
/**
|
||||
* 总数
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultGoViewProDetailOutput
|
||||
*/
|
||||
count?: number | null;
|
||||
}
|
||||
@ -0,0 +1,53 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { GoViewProUploadOutput } from './go-view-pro-upload-output';
|
||||
/**
|
||||
* GoView 返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewResultGoViewProUploadOutput
|
||||
*/
|
||||
export interface GoViewResultGoViewProUploadOutput {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultGoViewProUploadOutput
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewResultGoViewProUploadOutput
|
||||
*/
|
||||
msg?: string | null;
|
||||
|
||||
/**
|
||||
* @type {GoViewProUploadOutput}
|
||||
* @memberof GoViewResultGoViewProUploadOutput
|
||||
*/
|
||||
data?: GoViewProUploadOutput;
|
||||
|
||||
/**
|
||||
* 总数
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultGoViewProUploadOutput
|
||||
*/
|
||||
count?: number | null;
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 { GoViewProItemOutput } from './go-view-pro-item-output';
|
||||
/**
|
||||
* GoView 返回结果
|
||||
*
|
||||
* @export
|
||||
* @interface GoViewResultListGoViewProItemOutput
|
||||
*/
|
||||
export interface GoViewResultListGoViewProItemOutput {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultListGoViewProItemOutput
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof GoViewResultListGoViewProItemOutput
|
||||
*/
|
||||
msg?: string | null;
|
||||
|
||||
/**
|
||||
* 数据
|
||||
*
|
||||
* @type {Array<GoViewProItemOutput>}
|
||||
* @memberof GoViewResultListGoViewProItemOutput
|
||||
*/
|
||||
data?: Array<GoViewProItemOutput> | null;
|
||||
|
||||
/**
|
||||
* 总数
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof GoViewResultListGoViewProItemOutput
|
||||
*/
|
||||
count?: number | null;
|
||||
}
|
||||
22
Web/src/api-plugins/goView/models/index.ts
Normal file
22
Web/src/api-plugins/goView/models/index.ts
Normal file
@ -0,0 +1,22 @@
|
||||
export * from './go-view-login-input';
|
||||
export * from './go-view-login-output';
|
||||
export * from './go-view-login-token';
|
||||
export * from './go-view-login-user-info';
|
||||
export * from './go-view-oss-url-output';
|
||||
export * from './go-view-pro-create-input';
|
||||
export * from './go-view-pro-create-output';
|
||||
export * from './go-view-pro-detail-output';
|
||||
export * from './go-view-pro-edit-input';
|
||||
export * from './go-view-pro-item-output';
|
||||
export * from './go-view-pro-publish-input';
|
||||
export * from './go-view-pro-state-enum';
|
||||
export * from './go-view-pro-upload-output';
|
||||
export * from './go-view-result-go-view-login-output';
|
||||
export * from './go-view-result-go-view-oss-url-output';
|
||||
export * from './go-view-result-go-view-pro-create-output';
|
||||
export * from './go-view-result-go-view-pro-detail-output';
|
||||
export * from './go-view-result-go-view-pro-upload-output';
|
||||
export * from './go-view-result-list-go-view-pro-item-output';
|
||||
export * from './project-upload-back-ground-body';
|
||||
export * from './project-upload-body';
|
||||
export * from './save-data-body';
|
||||
@ -0,0 +1,28 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 ProjectUploadBackGroundBody
|
||||
*/
|
||||
export interface ProjectUploadBackGroundBody {
|
||||
|
||||
/**
|
||||
* @type {Blob}
|
||||
* @memberof ProjectUploadBackGroundBody
|
||||
*/
|
||||
object?: Blob;
|
||||
}
|
||||
28
Web/src/api-plugins/goView/models/project-upload-body.ts
Normal file
28
Web/src/api-plugins/goView/models/project-upload-body.ts
Normal file
@ -0,0 +1,28 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 ProjectUploadBody
|
||||
*/
|
||||
export interface ProjectUploadBody {
|
||||
|
||||
/**
|
||||
* @type {Blob}
|
||||
* @memberof ProjectUploadBody
|
||||
*/
|
||||
object?: Blob;
|
||||
}
|
||||
38
Web/src/api-plugins/goView/models/save-data-body.ts
Normal file
38
Web/src/api-plugins/goView/models/save-data-body.ts
Normal file
@ -0,0 +1,38 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* GoView 大屏可视化
|
||||
* GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 2.2.8
|
||||
*
|
||||
*
|
||||
* 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 SaveDataBody
|
||||
*/
|
||||
export interface SaveDataBody {
|
||||
|
||||
/**
|
||||
* 项目Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SaveDataBody
|
||||
*/
|
||||
projectId?: number;
|
||||
|
||||
/**
|
||||
* 项目内容
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SaveDataBody
|
||||
*/
|
||||
content?: string;
|
||||
}
|
||||
15
Web/src/api-plugins/paddleOCR/api.ts
Normal file
15
Web/src/api-plugins/paddleOCR/api.ts
Normal file
@ -0,0 +1,15 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* PaddleOCR 图像识别
|
||||
* <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 * from './apis/paddle-ocrapi';
|
||||
|
||||
142
Web/src/api-plugins/paddleOCR/apis/paddle-ocrapi.ts
Normal file
142
Web/src/api-plugins/paddleOCR/apis/paddle-ocrapi.ts
Normal file
@ -0,0 +1,142 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* PaddleOCR 图像识别
|
||||
* <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 globalAxios, { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
|
||||
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 { AdminResultObject } from '../models';
|
||||
/**
|
||||
* PaddleOCRApi - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const PaddleOCRApiAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 识别身份证 🔖
|
||||
* @param {Blob} [file]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiPaddleOCRIDCardOCRPostForm: async (file?: Blob, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/paddleOCR/iDCardOCR`;
|
||||
// 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;
|
||||
const localVarFormParams = new FormData();
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
||||
if (file !== undefined) {
|
||||
localVarFormParams.append('file', file as any);
|
||||
}
|
||||
|
||||
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
||||
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};
|
||||
localVarRequestOptions.data = localVarFormParams;
|
||||
|
||||
return {
|
||||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
||||
options: localVarRequestOptions,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* PaddleOCRApi - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const PaddleOCRApiFp = function(configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 识别身份证 🔖
|
||||
* @param {Blob} [file]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiPaddleOCRIDCardOCRPostForm(file?: Blob, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultObject>>> {
|
||||
const localVarAxiosArgs = await PaddleOCRApiAxiosParamCreator(configuration).apiPaddleOCRIDCardOCRPostForm(file, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* PaddleOCRApi - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const PaddleOCRApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 识别身份证 🔖
|
||||
* @param {Blob} [file]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiPaddleOCRIDCardOCRPostForm(file?: Blob, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultObject>> {
|
||||
return PaddleOCRApiFp(configuration).apiPaddleOCRIDCardOCRPostForm(file, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* PaddleOCRApi - object-oriented interface
|
||||
* @export
|
||||
* @class PaddleOCRApi
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class PaddleOCRApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary 识别身份证 🔖
|
||||
* @param {Blob} [file]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof PaddleOCRApi
|
||||
*/
|
||||
public async apiPaddleOCRIDCardOCRPostForm(file?: Blob, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultObject>> {
|
||||
return PaddleOCRApiFp(this.configuration).apiPaddleOCRIDCardOCRPostForm(file, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
70
Web/src/api-plugins/paddleOCR/base.ts
Normal file
70
Web/src/api-plugins/paddleOCR/base.ts
Normal file
@ -0,0 +1,70 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* PaddleOCR 图像识别
|
||||
* <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 { Configuration } from "./configuration";
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import globalAxios, { AxiosRequestConfig, AxiosInstance } from 'axios';
|
||||
|
||||
export const BASE_PATH = "/".replace(/\/+$/, "");
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export const COLLECTION_FORMATS = {
|
||||
csv: ",",
|
||||
ssv: " ",
|
||||
tsv: "\t",
|
||||
pipes: "|",
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface RequestArgs
|
||||
*/
|
||||
export interface RequestArgs {
|
||||
url: string;
|
||||
options: AxiosRequestConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class BaseAPI
|
||||
*/
|
||||
export class BaseAPI {
|
||||
protected configuration: Configuration | undefined;
|
||||
|
||||
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
|
||||
if (configuration) {
|
||||
this.configuration = configuration;
|
||||
this.basePath = configuration.basePath || this.basePath;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @class RequiredError
|
||||
* @extends {Error}
|
||||
*/
|
||||
export class RequiredError extends Error {
|
||||
name: "RequiredError" = "RequiredError";
|
||||
constructor(public field: string, msg?: string) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
||||
83
Web/src/api-plugins/paddleOCR/configuration.ts
Normal file
83
Web/src/api-plugins/paddleOCR/configuration.ts
Normal file
@ -0,0 +1,83 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* PaddleOCR 图像识别
|
||||
* <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 ConfigurationParameters {
|
||||
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
||||
username?: string;
|
||||
password?: string;
|
||||
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
basePath?: string;
|
||||
baseOptions?: any;
|
||||
}
|
||||
|
||||
export class Configuration {
|
||||
|
||||
/**
|
||||
* parameter for apiKey security
|
||||
*
|
||||
* @param name security name
|
||||
* @memberof Configuration
|
||||
*/
|
||||
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
||||
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
username?: string;
|
||||
|
||||
/**
|
||||
* parameter for basic security
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
password?: string;
|
||||
|
||||
/**
|
||||
* parameter for oauth2 security
|
||||
*
|
||||
* @param name security name
|
||||
* @param scopes oauth2 scope
|
||||
* @memberof Configuration
|
||||
*/
|
||||
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
||||
|
||||
/**
|
||||
* override base path
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
basePath?: string;
|
||||
|
||||
/**
|
||||
* base options for axios calls
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof Configuration
|
||||
*/
|
||||
baseOptions?: any;
|
||||
|
||||
constructor(param: ConfigurationParameters = {}) {
|
||||
this.apiKey = param.apiKey;
|
||||
this.username = param.username;
|
||||
this.password = param.password;
|
||||
this.accessToken = param.accessToken;
|
||||
this.basePath = param.basePath;
|
||||
this.baseOptions = param.baseOptions;
|
||||
}
|
||||
}
|
||||
18
Web/src/api-plugins/paddleOCR/index.ts
Normal file
18
Web/src/api-plugins/paddleOCR/index.ts
Normal file
@ -0,0 +1,18 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* PaddleOCR 图像识别
|
||||
* <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 * from "./api";
|
||||
export * from "./configuration";
|
||||
export * from "./models";
|
||||
|
||||
70
Web/src/api-plugins/paddleOCR/models/admin-result-object.ts
Normal file
70
Web/src/api-plugins/paddleOCR/models/admin-result-object.ts
Normal file
@ -0,0 +1,70 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* PaddleOCR 图像识别
|
||||
* <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 AdminResultObject
|
||||
*/
|
||||
export interface AdminResultObject {
|
||||
|
||||
/**
|
||||
* 状态码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
code?: number;
|
||||
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
type?: string | null;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
message?: string | null;
|
||||
|
||||
/**
|
||||
* 数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
result?: any | null;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
extras?: any | null;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AdminResultObject
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
2
Web/src/api-plugins/paddleOCR/models/index.ts
Normal file
2
Web/src/api-plugins/paddleOCR/models/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from './admin-result-object';
|
||||
export * from './paddle-ocridcard-ocrbody';
|
||||
@ -0,0 +1,28 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* PaddleOCR 图像识别
|
||||
* <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 PaddleOCRIDCardOCRBody
|
||||
*/
|
||||
export interface PaddleOCRIDCardOCRBody {
|
||||
|
||||
/**
|
||||
* @type {Blob}
|
||||
* @memberof PaddleOCRIDCardOCRBody
|
||||
*/
|
||||
file: Blob;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user