😎统一生成接口请求文件路径api-services
This commit is contained in:
parent
87cbbba9ac
commit
6e9780c507
@ -4,20 +4,20 @@ CHCP 65001
|
|||||||
set dir=%~dp0
|
set dir=%~dp0
|
||||||
|
|
||||||
set moduleName=apiServices
|
set moduleName=apiServices
|
||||||
set apiServicesPath=%dir%..\src\api-services\
|
set apiServicesPath=%dir%..\src\api-services\system\
|
||||||
set apiUrl=http://localhost:5005/swagger/Default/swagger.json
|
set apiUrl=http://localhost:5005/swagger/Default/swagger.json
|
||||||
|
|
||||||
if "%1"=="approvalFlow" (
|
if "%1"=="approvalFlow" (
|
||||||
set moduleName=approvalFlow
|
set moduleName=approvalFlow
|
||||||
set apiServicesPath=%dir%..\src\api-plugins\approvalFlow\
|
set apiServicesPath=%dir%..\src\api-services\approvalFlow\
|
||||||
set apiUrl=http://localhost:5005/swagger/ApprovalFlow/swagger.json
|
set apiUrl=http://localhost:5005/swagger/ApprovalFlow/swagger.json
|
||||||
) else if "%1"=="dingTalk" (
|
) else if "%1"=="dingTalk" (
|
||||||
set moduleName=dingTalk
|
set moduleName=dingTalk
|
||||||
set apiServicesPath=%dir%..\src\api-plugins\dingTalk\
|
set apiServicesPath=%dir%..\src\api-services\dingTalk\
|
||||||
set apiUrl=http://localhost:5005/swagger/DingTalk/swagger.json
|
set apiUrl=http://localhost:5005/swagger/DingTalk/swagger.json
|
||||||
) else if "%1"=="goView" (
|
) else if "%1"=="goView" (
|
||||||
set moduleName=goView
|
set moduleName=goView
|
||||||
set apiServicesPath=%dir%..\src\api-plugins\goView\
|
set apiServicesPath=%dir%..\src\api-services\goView\
|
||||||
set apiUrl=http://localhost:5005/swagger/GoView%%20%%E5%%A4%%A7%%E5%%B1%%8F%%E5%%8F%%AF%%E8%%A7%%86%%E5%%8C%%96/swagger.json
|
set apiUrl=http://localhost:5005/swagger/GoView%%20%%E5%%A4%%A7%%E5%%B1%%8F%%E5%%8F%%AF%%E8%%A7%%86%%E5%%8C%%96/swagger.json
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -2,17 +2,17 @@
|
|||||||
|
|
||||||
currPath=$(pwd)
|
currPath=$(pwd)
|
||||||
parentPath=$(dirname "$currPath")
|
parentPath=$(dirname "$currPath")
|
||||||
apiServicesPath=${parentPath}/src/api-services/
|
apiServicesPath=${parentPath}/src/api-services/system/
|
||||||
|
|
||||||
echo "================================ 生成目录 ${apiServicesPath} ================================"
|
echo "================================ 生成目录 ${apiServicesPath} ================================"
|
||||||
|
|
||||||
# 判断目录是否存在
|
# 判断目录是否存在
|
||||||
if test -d "$apiServicesPath"; then
|
if test -d "$apiServicesPath"; then
|
||||||
echo "================================ 删除目录 api-services ================================"
|
echo "================================ 删除目录 ================================"
|
||||||
rm -rf "${apiServicesPath}"
|
rm -rf "${apiServicesPath}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "================================ 开始生成 api-services ================================"
|
echo "================================ 开始生成 ================================"
|
||||||
|
|
||||||
java -jar "${currPath}"/swagger-codegen-cli.jar generate -i http://localhost:5005/swagger/All%20Groups/swagger.json -l typescript-axios -o "${apiServicesPath}"
|
java -jar "${currPath}"/swagger-codegen-cli.jar generate -i http://localhost:5005/swagger/All%20Groups/swagger.json -l typescript-axios -o "${apiServicesPath}"
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ read -p "请输入选项 [1-3]: " choice
|
|||||||
|
|
||||||
currPath=$(pwd)
|
currPath=$(pwd)
|
||||||
parentPath=$(dirname "$currPath")
|
parentPath=$(dirname "$currPath")
|
||||||
apiServicesPath=${parentPath}/src/api-services/
|
apiServicesPath=${parentPath}/src/api-services/system/
|
||||||
|
|
||||||
echo "生成目录 ${apiServicesPath}"
|
echo "生成目录 ${apiServicesPath}"
|
||||||
|
|
||||||
|
|||||||
@ -1,18 +1,18 @@
|
|||||||
# 前端 API 请求代理生成
|
# 前端 API 请求代理生成
|
||||||
|
|
||||||
前端 API 请求代理,可以通过 swagger.json 生成 typescript-axios 客户端的方式生成,然后拷贝到 src/api-services 文件夹
|
前端 API 请求代理,可以通过 swagger.json 生成 typescript-axios 客户端的方式生成,然后拷贝到 src/api-services/system 文件夹
|
||||||
|
|
||||||
## 手动生成
|
## 手动生成
|
||||||
|
|
||||||
- 打开 https://editor.swagger.io/
|
- 打开 https://editor.swagger.io/
|
||||||
- 拷贝 swagger.json 内容到网站左侧
|
- 拷贝 swagger.json 内容到网站左侧
|
||||||
- 选择顶部【Generate Client】-【typescript-axios】生成客户端并下载
|
- 选择顶部【Generate Client】-【typescript-axios】生成客户端并下载
|
||||||
- 将下载的 zip 内容拷贝到 src/api-services 文件夹中替换
|
- 将下载的 zip 内容拷贝到 src/api-services/system 文件夹中替换
|
||||||
> 详情参照 https://furion.baiqian.ltd/docs/clientapi#563-%E7%94%9F%E6%88%90%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%AF%B7%E6%B1%82%E4%BB%A3%E7%A0%81
|
> 详情参照 https://furion.baiqian.ltd/docs/clientapi#563-%E7%94%9F%E6%88%90%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%AF%B7%E6%B1%82%E4%BB%A3%E7%A0%81
|
||||||
|
|
||||||
## 脚本一键生成
|
## 脚本一键生成
|
||||||
|
|
||||||
Swagger Codegen 读取 swagger.json 生成 typescript-axios 客户端后,直接拷贝到 src/api-services 文件夹中
|
Swagger Codegen 读取 swagger.json 生成 typescript-axios 客户端后,直接拷贝到 src/api-services/system 子文件夹中
|
||||||
|
|
||||||
> Swagger Codegen 可以通过为任何 API 生成服务端代码和客户端代码的方式来简化 OpenAPI 的构建过程,因此,项目开发团队可以更好地关注 API 的实现和应用
|
> Swagger Codegen 可以通过为任何 API 生成服务端代码和客户端代码的方式来简化 OpenAPI 的构建过程,因此,项目开发团队可以更好地关注 API 的实现和应用
|
||||||
> Github:https://github.com/swagger-api/swagger-codegen
|
> Github:https://github.com/swagger-api/swagger-codegen
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "admin.net.pro",
|
"name": "admin.net.pro",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "2.4.33",
|
"version": "2.4.33",
|
||||||
"lastBuildTime": "2025.08.11",
|
"lastBuildTime": "2025.08.12",
|
||||||
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
|
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
|
||||||
"author": "zuohuaijun",
|
"author": "zuohuaijun",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -70,7 +70,7 @@
|
|||||||
"vue-clipboard3": "^2.0.0",
|
"vue-clipboard3": "^2.0.0",
|
||||||
"vue-demi": "0.14.10",
|
"vue-demi": "0.14.10",
|
||||||
"vue-draggable-plus": "^0.6.0",
|
"vue-draggable-plus": "^0.6.0",
|
||||||
"vue-element-plus-x": "^1.3.4",
|
"vue-element-plus-x": "^1.3.5",
|
||||||
"vue-grid-layout": "3.0.0-beta1",
|
"vue-grid-layout": "3.0.0-beta1",
|
||||||
"vue-i18n": "^11.1.11",
|
"vue-i18n": "^11.1.11",
|
||||||
"vue-json-pretty": "^2.5.0",
|
"vue-json-pretty": "^2.5.0",
|
||||||
@ -85,13 +85,13 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify/vue": "^5.0.0",
|
"@iconify/vue": "^5.0.0",
|
||||||
"@plugin-web-update-notification/vite": "^2.0.0",
|
"@plugin-web-update-notification/vite": "^2.0.1",
|
||||||
"@types/lodash-es": "^4.17.12",
|
"@types/lodash-es": "^4.17.12",
|
||||||
"@types/node": "^22.17.1",
|
"@types/node": "^22.17.1",
|
||||||
"@types/nprogress": "^0.2.3",
|
"@types/nprogress": "^0.2.3",
|
||||||
"@types/sortablejs": "^1.15.8",
|
"@types/sortablejs": "^1.15.8",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.39.0",
|
"@typescript-eslint/eslint-plugin": "^8.39.1",
|
||||||
"@typescript-eslint/parser": "^8.39.0",
|
"@typescript-eslint/parser": "^8.39.1",
|
||||||
"@vitejs/plugin-vue": "^6.0.1",
|
"@vitejs/plugin-vue": "^6.0.1",
|
||||||
"@vitejs/plugin-vue-jsx": "^5.0.1",
|
"@vitejs/plugin-vue-jsx": "^5.0.1",
|
||||||
"@vue/compiler-sfc": "^3.5.18",
|
"@vue/compiler-sfc": "^3.5.18",
|
||||||
@ -105,7 +105,7 @@
|
|||||||
"sass": "^1.90.0",
|
"sass": "^1.90.0",
|
||||||
"terser": "^5.43.1",
|
"terser": "^5.43.1",
|
||||||
"typescript": "^5.9.2",
|
"typescript": "^5.9.2",
|
||||||
"vite": "^7.1.1",
|
"vite": "^7.1.2",
|
||||||
"vite-auto-i18n-plugin": "^1.1.6",
|
"vite-auto-i18n-plugin": "^1.1.6",
|
||||||
"vite-plugin-cdn-import": "^1.0.1",
|
"vite-plugin-cdn-import": "^1.0.1",
|
||||||
"vite-plugin-compression2": "^2.2.0",
|
"vite-plugin-compression2": "^2.2.0",
|
||||||
|
|||||||
@ -1,15 +0,0 @@
|
|||||||
/* 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/sys-plugin-core-api';
|
|
||||||
|
|
||||||
@ -1,823 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 { AdminResultSysFile } from '../../../api-services/models';
|
|
||||||
import { AdminResultSqlSugarPagedListSysPluginCore } from '../models';
|
|
||||||
import { AdminResultString } from '../../../api-services/models';
|
|
||||||
import { AdminResultSysPluginCoreReadme } from '../models';
|
|
||||||
import { AdminResultSysPluginCore } from '../models';
|
|
||||||
import { DeletePluginCoreInput } from '../models';
|
|
||||||
import { PagePluginCoreInput } from '../models';
|
|
||||||
import { UpdatePluginCoreSettingInput } from '../models';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* SysPluginApi - axios parameter creator
|
|
||||||
* @export
|
|
||||||
*/
|
|
||||||
export const SysPluginCoreApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
||||||
return {
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 查看插件信息
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
apiSysPluginCoreBaseInfoGet: async (id:number,options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
||||||
// verify required parameter 'userId' is not null or undefined
|
|
||||||
if (id === null || id === undefined) {
|
|
||||||
throw new RequiredError('id','Required parameter id was null or undefined when calling apiSysPluginCoreBaseInfoGet.');
|
|
||||||
}
|
|
||||||
const localVarPath = `/api/sysPluginCore/details/{pid}`
|
|
||||||
.replace(`{${"pid"}}`, encodeURIComponent(String(id)));
|
|
||||||
// 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 {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
apiSysPluginCoreReadmeGet: async (id:number,options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
||||||
if (id === null || id === undefined) {
|
|
||||||
throw new RequiredError('id','Required parameter id was null or undefined when calling apiSysPluginCoreBaseInfoGet.');
|
|
||||||
}
|
|
||||||
const localVarPath = `/api/sysPluginCore/Readme/{pid}`
|
|
||||||
.replace(`{${"pid"}}`, encodeURIComponent(String(id)));
|
|
||||||
|
|
||||||
// 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 {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
apiSysPluginCoreSettingGet: async (id:number,options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
||||||
if (id === null || id === undefined) {
|
|
||||||
throw new RequiredError('id','Required parameter id was null or undefined when calling apiSysPluginCoreSettingGet.');
|
|
||||||
}
|
|
||||||
const localVarPath = `/api/sysPluginCore/Settings/{pid}`
|
|
||||||
.replace(`{${"pid"}}`, encodeURIComponent(String(id)));
|
|
||||||
|
|
||||||
// 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 {UpdatePluginInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
apiSysPluginCoreSettingUpdatePost: async (body?: UpdatePluginCoreSettingInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
||||||
const localVarPath = `/api/sysPluginCore/settings`;
|
|
||||||
// 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 {DeletePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
apiSysPluginCoreDeletePost: async (body?: DeletePluginCoreInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
||||||
const localVarPath = `/api/sysPluginCore/uninstall`;
|
|
||||||
// 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 {DeletePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
apiSysPluginCoreEnablePost: async (body?: DeletePluginCoreInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
||||||
const localVarPath = `/api/sysPluginCore/enable`;
|
|
||||||
// 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 {DeletePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
apiSysPluginCoreDisablePost: async (body?: DeletePluginCoreInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
||||||
const localVarPath = `/api/sysPluginCore/disable`;
|
|
||||||
// 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 {PagePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
apiSysPluginCorePagePost: async (body?: PagePluginCoreInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
||||||
const localVarPath = `/api/sysPluginCore/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 {Blob} [file]
|
|
||||||
* @param {string} [path]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
apiSysFileUploadFilePostForm: async (file?: Blob, path?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
||||||
const localVarPath = `/api/sysPluginCore/uploadFile`;
|
|
||||||
// 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 (path !== undefined) {
|
|
||||||
localVarQueryParameter['path'] = path;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
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,
|
|
||||||
};
|
|
||||||
},
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* SysPluginApi - functional programming interface
|
|
||||||
* @export
|
|
||||||
*/
|
|
||||||
export const SysPluginCoreApiFp = function(configuration?: Configuration) {
|
|
||||||
return {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 查看插件文档
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreReadmeGet(id:number,options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysPluginCoreReadme>>> {
|
|
||||||
const localVarAxiosArgs = await SysPluginCoreApiAxiosParamCreator(configuration).apiSysPluginCoreReadmeGet(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 {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreBaseInfoGet(id:number,options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysPluginCore>>> {
|
|
||||||
const localVarAxiosArgs = await SysPluginCoreApiAxiosParamCreator(configuration).apiSysPluginCoreBaseInfoGet(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 {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreSettingGet(id:number,options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultString>>> {
|
|
||||||
const localVarAxiosArgs = await SysPluginCoreApiAxiosParamCreator(configuration).apiSysPluginCoreSettingGet(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 {UpdatePluginInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreSettingUpdatePost(body?: UpdatePluginCoreSettingInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
|
||||||
const localVarAxiosArgs = await SysPluginCoreApiAxiosParamCreator(configuration).apiSysPluginCoreSettingUpdatePost(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 {DeletePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreDeletePost(body?: DeletePluginCoreInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
|
||||||
const localVarAxiosArgs = await SysPluginCoreApiAxiosParamCreator(configuration).apiSysPluginCoreDeletePost(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 {EnablePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreEnablePost(body?: DeletePluginCoreInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
|
||||||
const localVarAxiosArgs = await SysPluginCoreApiAxiosParamCreator(configuration).apiSysPluginCoreEnablePost(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 {DisablePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreDisablePost(body?: DeletePluginCoreInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
|
||||||
const localVarAxiosArgs = await SysPluginCoreApiAxiosParamCreator(configuration).apiSysPluginCoreDisablePost(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 {PagePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCorePagePost(body?: PagePluginCoreInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSqlSugarPagedListSysPluginCore>>> {
|
|
||||||
const localVarAxiosArgs = await SysPluginCoreApiAxiosParamCreator(configuration).apiSysPluginCorePagePost(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 {Blob} [file]
|
|
||||||
* @param {string} [path]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysFileUploadFilePostForm(file?: Blob, path?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultSysFile>>> {
|
|
||||||
const localVarAxiosArgs = await SysPluginCoreApiAxiosParamCreator(configuration).apiSysFileUploadFilePostForm(file, path, options);
|
|
||||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
||||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
||||||
return axios.request(axiosRequestArgs);
|
|
||||||
};
|
|
||||||
},
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* SysPluginApi - factory interface
|
|
||||||
* @export
|
|
||||||
*/
|
|
||||||
export const SysPluginCoreApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
||||||
return {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 查看插件文档
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreReadmeGet(id:number,options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultSysPluginCoreReadme>> {
|
|
||||||
return SysPluginCoreApiFp(configuration).apiSysPluginCoreReadmeGet(id,options).then((request) => request(axios, basePath));
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 查看插件基本信息
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreBaseInfoGet(id:number,options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultSysPluginCore>> {
|
|
||||||
return SysPluginCoreApiFp(configuration).apiSysPluginCoreBaseInfoGet(id,options).then((request) => request(axios, basePath));
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 查看插件基本信息
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreSettingGet(id:number,options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultString>> {
|
|
||||||
return SysPluginCoreApiFp(configuration).apiSysPluginCoreSettingGet(id,options).then((request) => request(axios, basePath));
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 更新动态插件
|
|
||||||
* @param {UpdatePluginInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreSettingUpdatePost(body?: UpdatePluginCoreSettingInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
|
||||||
return SysPluginCoreApiFp(configuration).apiSysPluginCoreSettingUpdatePost(body, options).then((request) => request(axios, basePath));
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 卸载动态插件
|
|
||||||
* @param {DeletePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreDeletePost(body?: DeletePluginCoreInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
|
||||||
return SysPluginCoreApiFp(configuration).apiSysPluginCoreDeletePost(body, options).then((request) => request(axios, basePath));
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 启用插件
|
|
||||||
* @param {DeletePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreEnablePost(body?: DeletePluginCoreInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
|
||||||
return SysPluginCoreApiFp(configuration).apiSysPluginCoreEnablePost(body, options).then((request) => request(axios, basePath));
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 禁用插件
|
|
||||||
* @param {DeletePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCoreDisablePost(body?: DeletePluginCoreInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
|
||||||
return SysPluginCoreApiFp(configuration).apiSysPluginCoreDisablePost(body, options).then((request) => request(axios, basePath));
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 获取动态插件列表
|
|
||||||
* @param {PagePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysPluginCorePagePost(body?: PagePluginCoreInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultSqlSugarPagedListSysPluginCore>> {
|
|
||||||
return SysPluginCoreApiFp(configuration).apiSysPluginCorePagePost(body, options).then((request) => request(axios, basePath));
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 上传文件
|
|
||||||
* @param {Blob} [file]
|
|
||||||
* @param {string} [path]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
*/
|
|
||||||
async apiSysFileUploadFilePostForm(file?: Blob, path?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultSysFile>> {
|
|
||||||
return SysPluginCoreApiFp(configuration).apiSysFileUploadFilePostForm(file, path, options).then((request) => request(axios, basePath));
|
|
||||||
},
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* SysPluginApi - object-oriented interface
|
|
||||||
* @export
|
|
||||||
* @class SysPluginApi
|
|
||||||
* @extends {BaseAPI}
|
|
||||||
*/
|
|
||||||
export class SysPluginCoreApi extends BaseAPI {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 查看插件文档
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
* @memberof SysPluginApi
|
|
||||||
*/
|
|
||||||
public async apiSysPluginCoreReadmeGet(id:number,options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultSysPluginCoreReadme>> {
|
|
||||||
return SysPluginCoreApiFp(this.configuration).apiSysPluginCoreReadmeGet(id,options).then((request) => request(this.axios, this.basePath));
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 查看插件基本信息
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
* @memberof SysPluginApi
|
|
||||||
*/
|
|
||||||
public async apiSysPluginCoreBaseInfoGet(id:number,options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultSysPluginCore>> {
|
|
||||||
return SysPluginCoreApiFp(this.configuration).apiSysPluginCoreBaseInfoGet(id,options).then((request) => request(this.axios, this.basePath));
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 查看插件设置信息
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
* @memberof SysPluginApi
|
|
||||||
*/
|
|
||||||
public async apiSysPluginCoreSettingGet(id:number,options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultString>> {
|
|
||||||
return SysPluginCoreApiFp(this.configuration).apiSysPluginCoreSettingGet(id,options).then((request) => request(this.axios, this.basePath));
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 更新动态插件
|
|
||||||
* @param {UpdatePluginInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
* @memberof SysPluginApi
|
|
||||||
*/
|
|
||||||
public async apiSysPluginCoreSettingUpdatePost(body?: UpdatePluginCoreSettingInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
|
||||||
return SysPluginCoreApiFp(this.configuration).apiSysPluginCoreSettingUpdatePost(body, options).then((request) => request(this.axios, this.basePath));
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 卸载动态插件
|
|
||||||
* @param {DeletePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
* @memberof SysPluginApi
|
|
||||||
*/
|
|
||||||
public async apiSysPluginCoreDeletePost(body?: DeletePluginCoreInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
|
||||||
return SysPluginCoreApiFp(this.configuration).apiSysPluginCoreDeletePost(body, options).then((request) => request(this.axios, this.basePath));
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 启用插件
|
|
||||||
* @param {EnablePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
* @memberof SysPluginApi
|
|
||||||
*/
|
|
||||||
public async apiSysPluginCoreEnablePost(body?: DeletePluginCoreInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
|
||||||
return SysPluginCoreApiFp(this.configuration).apiSysPluginCoreEnablePost(body, options).then((request) => request(this.axios, this.basePath));
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 禁用插件
|
|
||||||
* @param {DisablePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
* @memberof SysPluginApi
|
|
||||||
*/
|
|
||||||
public async apiSysPluginCoreDisablePost(body?: DeletePluginCoreInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
|
||||||
return SysPluginCoreApiFp(this.configuration).apiSysPluginCoreDisablePost(body, options).then((request) => request(this.axios, this.basePath));
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 获取动态插件列表
|
|
||||||
* @param {PagePluginCoreInput} [body]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
* @memberof SysPluginApi
|
|
||||||
*/
|
|
||||||
public async apiSysPluginCorePagePost(body?: PagePluginCoreInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultSqlSugarPagedListSysPluginCore>> {
|
|
||||||
return SysPluginCoreApiFp(this.configuration).apiSysPluginCorePagePost(body, options).then((request) => request(this.axios, this.basePath));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @summary 上传文件
|
|
||||||
* @param {Blob} [file]
|
|
||||||
* @param {string} [path]
|
|
||||||
* @param {*} [options] Override http request option.
|
|
||||||
* @throws {RequiredError}
|
|
||||||
* @memberof SysFileApi
|
|
||||||
*/
|
|
||||||
public async apiSysFileUploadFilePostForm(file?: Blob, path?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultSysFile>> {
|
|
||||||
return SysPluginCoreApiFp(this.configuration).apiSysFileUploadFilePostForm(file, path, options).then((request) => request(this.axios, this.basePath));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,70 +0,0 @@
|
|||||||
/* 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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,83 +0,0 @@
|
|||||||
/* 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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
/* 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";
|
|
||||||
|
|
||||||
@ -1,99 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 { StatusEnum } from '../../../api-services/models/status-enum';
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
export interface AddPluginCoreInput {
|
|
||||||
/**
|
|
||||||
* 雪花Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
id?: number;
|
|
||||||
/**
|
|
||||||
* 创建时间
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
createTime?: Date | null;
|
|
||||||
/**
|
|
||||||
* 更新时间
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
updateTime?: Date | null;
|
|
||||||
/**
|
|
||||||
* 创建者Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
createUserId?: number | null;
|
|
||||||
/**
|
|
||||||
* 修改者Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
updateUserId?: number | null;
|
|
||||||
/**
|
|
||||||
* 软删除
|
|
||||||
* @type {boolean}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
isDelete?: boolean;
|
|
||||||
/**
|
|
||||||
* 租户Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
tenantId?: number | null;
|
|
||||||
/**
|
|
||||||
* C#代码
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
csharpCode: string;
|
|
||||||
/**
|
|
||||||
* 程序集名称
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
assemblyName?: string | null;
|
|
||||||
/**
|
|
||||||
* 排序
|
|
||||||
* @type {number}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
orderNo?: number;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {StatusEnum}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
status?: StatusEnum;
|
|
||||||
/**
|
|
||||||
* 备注
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
remark?: string | null;
|
|
||||||
/**
|
|
||||||
* 名称
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AddPluginCoreInput
|
|
||||||
*/
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
@ -1,57 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 { SqlSugarPagedListSysPluginCore } from './sql-sugar-paged-list-sys-plugin-core';
|
|
||||||
/**
|
|
||||||
* 全局返回结果
|
|
||||||
* @export
|
|
||||||
* @interface AdminResultSqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
export interface AdminResultSqlSugarPagedListSysPluginCore {
|
|
||||||
/**
|
|
||||||
* 状态码
|
|
||||||
* @type {number}
|
|
||||||
* @memberof AdminResultSqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
code?: number;
|
|
||||||
/**
|
|
||||||
* 类型success、warning、error
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminResultSqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
type?: string | null;
|
|
||||||
/**
|
|
||||||
* 错误信息
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminResultSqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
message?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {SqlSugarPagedListSysPlugin}
|
|
||||||
* @memberof AdminResultSqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
result?: SqlSugarPagedListSysPluginCore;
|
|
||||||
/**
|
|
||||||
* 附加数据
|
|
||||||
* @type {any}
|
|
||||||
* @memberof AdminResultSqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
extras?: any | null;
|
|
||||||
/**
|
|
||||||
* 时间
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof AdminResultSqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
time?: Date;
|
|
||||||
}
|
|
||||||
@ -1,57 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 { SysPluginCoreReadme } from './sys-plugin-core-readme';
|
|
||||||
/**
|
|
||||||
* 全局返回结果
|
|
||||||
* @export
|
|
||||||
* @interface AdminResultSysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
export interface AdminResultSysPluginCoreReadme {
|
|
||||||
/**
|
|
||||||
* 状态码
|
|
||||||
* @type {number}
|
|
||||||
* @memberof AdminResultSysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
code?: number;
|
|
||||||
/**
|
|
||||||
* 类型success、warning、error
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminResultSysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
type?: string | null;
|
|
||||||
/**
|
|
||||||
* 错误信息
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminResultSysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
message?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {SysPluginCoreReadme}
|
|
||||||
* @memberof AdminResultSysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
result?: SysPluginCoreReadme;
|
|
||||||
/**
|
|
||||||
* 附加数据
|
|
||||||
* @type {any}
|
|
||||||
* @memberof AdminResultSysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
extras?: any | null;
|
|
||||||
/**
|
|
||||||
* 时间
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof AdminResultSysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
time?: Date;
|
|
||||||
}
|
|
||||||
@ -1,57 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 { SysPluginCore } from './sys-plugin-core';
|
|
||||||
/**
|
|
||||||
* 全局返回结果
|
|
||||||
* @export
|
|
||||||
* @interface AdminResultSysPluginCore
|
|
||||||
*/
|
|
||||||
export interface AdminResultSysPluginCore {
|
|
||||||
/**
|
|
||||||
* 状态码
|
|
||||||
* @type {number}
|
|
||||||
* @memberof AdminResultSysPluginCore
|
|
||||||
*/
|
|
||||||
code?: number;
|
|
||||||
/**
|
|
||||||
* 类型success、warning、error
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminResultSysPluginCore
|
|
||||||
*/
|
|
||||||
type?: string | null;
|
|
||||||
/**
|
|
||||||
* 错误信息
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminResultSysPluginCore
|
|
||||||
*/
|
|
||||||
message?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {SysPluginCore}
|
|
||||||
* @memberof AdminResultSysPluginCore
|
|
||||||
*/
|
|
||||||
result?: SysPluginCore;
|
|
||||||
/**
|
|
||||||
* 附加数据
|
|
||||||
* @type {any}
|
|
||||||
* @memberof AdminResultSysPluginCore
|
|
||||||
*/
|
|
||||||
extras?: any | null;
|
|
||||||
/**
|
|
||||||
* 时间
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof AdminResultSysPluginCore
|
|
||||||
*/
|
|
||||||
time?: Date;
|
|
||||||
}
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 DeletePluginCoreInput
|
|
||||||
*/
|
|
||||||
export interface DeletePluginCoreInput {
|
|
||||||
/**
|
|
||||||
* 主键Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof DeletePluginCoreInput
|
|
||||||
*/
|
|
||||||
id: number;
|
|
||||||
}
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
export * from './add-plugin-core-input';
|
|
||||||
export * from './admin-result-sql-sugar-paged-list-sys-plugin-core';
|
|
||||||
export * from './admin-result-sys-plugin-core-readme';
|
|
||||||
export * from './admin-result-sys-plugin-core';
|
|
||||||
export * from './delete-plugin-core-input';
|
|
||||||
export * from './page-plugin-core-input';
|
|
||||||
export * from './sys-plugin-core-readme';
|
|
||||||
export * from './sys-plugin-core';
|
|
||||||
export * from './update-plugin-core-input';
|
|
||||||
export * from './update-plugin-core-setting';
|
|
||||||
export * from './sql-sugar-paged-list-sys-plugin-core';
|
|
||||||
@ -1,62 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 PagePluginCoreInput
|
|
||||||
*/
|
|
||||||
export interface PagePluginCoreInput {
|
|
||||||
/**
|
|
||||||
* 当前页码
|
|
||||||
* @type {number}
|
|
||||||
* @memberof PagePluginCoreInput
|
|
||||||
*/
|
|
||||||
page?: number;
|
|
||||||
/**
|
|
||||||
* 页码容量
|
|
||||||
* @type {number}
|
|
||||||
* @memberof PagePluginCoreInput
|
|
||||||
*/
|
|
||||||
pageSize?: number;
|
|
||||||
/**
|
|
||||||
* 排序字段
|
|
||||||
* @type {string}
|
|
||||||
* @memberof PagePluginCoreInput
|
|
||||||
*/
|
|
||||||
field?: string | null;
|
|
||||||
/**
|
|
||||||
* 排序方向
|
|
||||||
* @type {string}
|
|
||||||
* @memberof PagePluginCoreInput
|
|
||||||
*/
|
|
||||||
order?: string | null;
|
|
||||||
/**
|
|
||||||
* 降序排序
|
|
||||||
* @type {string}
|
|
||||||
* @memberof PagePluginCoreInput
|
|
||||||
*/
|
|
||||||
descStr?: string | null;
|
|
||||||
/**
|
|
||||||
* 名称
|
|
||||||
* @type {string}
|
|
||||||
* @memberof PagePluginCoreInput
|
|
||||||
*/
|
|
||||||
name?: string | null;
|
|
||||||
/**
|
|
||||||
* 编码
|
|
||||||
* @type {string}
|
|
||||||
* @memberof PagePluginCoreInput
|
|
||||||
*/
|
|
||||||
code?: string | null;
|
|
||||||
}
|
|
||||||
@ -1,63 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 { SysPluginCore } from './sys-plugin-core';
|
|
||||||
/**
|
|
||||||
* 分页泛型集合
|
|
||||||
* @export
|
|
||||||
* @interface SqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
export interface SqlSugarPagedListSysPluginCore {
|
|
||||||
/**
|
|
||||||
* 页码
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
page?: number;
|
|
||||||
/**
|
|
||||||
* 页容量
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
pageSize?: number;
|
|
||||||
/**
|
|
||||||
* 总条数
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
total?: number;
|
|
||||||
/**
|
|
||||||
* 总页数
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
totalPages?: number;
|
|
||||||
/**
|
|
||||||
* 当前页集合
|
|
||||||
* @type {Array<SysPlugin>}
|
|
||||||
* @memberof SqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
items?: Array<SysPluginCore> | null;
|
|
||||||
/**
|
|
||||||
* 是否有上一页
|
|
||||||
* @type {boolean}
|
|
||||||
* @memberof SqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
hasPrevPage?: boolean;
|
|
||||||
/**
|
|
||||||
* 是否有下一页
|
|
||||||
* @type {boolean}
|
|
||||||
* @memberof SqlSugarPagedListSysPluginCore
|
|
||||||
*/
|
|
||||||
hasNextPage?: boolean;
|
|
||||||
}
|
|
||||||
@ -1,47 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 SysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
export interface SysPluginCoreReadme {
|
|
||||||
/**
|
|
||||||
* 雪花Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
id?: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 插件ID
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
pluginId: string;
|
|
||||||
/**
|
|
||||||
* 名称
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
displayName: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 备注
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SysPluginCoreReadme
|
|
||||||
*/
|
|
||||||
content?: string | null;
|
|
||||||
}
|
|
||||||
@ -1,117 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 { StatusEnum } from '../../../api-services/models/status-enum';
|
|
||||||
/**
|
|
||||||
* 系统动态插件表
|
|
||||||
* @export
|
|
||||||
* @interface SysPluginCore
|
|
||||||
*/
|
|
||||||
export interface SysPluginCore {
|
|
||||||
/**
|
|
||||||
* 雪花Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
id?: number;
|
|
||||||
/**
|
|
||||||
* 创建时间
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
createTime?: Date | null;
|
|
||||||
/**
|
|
||||||
* 更新时间
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
updateTime?: Date | null;
|
|
||||||
/**
|
|
||||||
* 创建者Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
createUserId?: number | null;
|
|
||||||
/**
|
|
||||||
* 修改者Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
updateUserId?: number | null;
|
|
||||||
/**
|
|
||||||
* 软删除
|
|
||||||
* @type {boolean}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
isDelete?: boolean;
|
|
||||||
/**
|
|
||||||
* 租户Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
tenantId?: number | null;
|
|
||||||
/**
|
|
||||||
* 插件ID
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
PluginId: string;
|
|
||||||
/**
|
|
||||||
* 名称
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
DisplayName: string;
|
|
||||||
/**
|
|
||||||
* 作者
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
Author: string;
|
|
||||||
/**
|
|
||||||
* 版本
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
Version: string;
|
|
||||||
/**
|
|
||||||
* C#代码
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
csharpCode: string;
|
|
||||||
/**
|
|
||||||
* 描述
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
Description?: string | null;
|
|
||||||
/**
|
|
||||||
* 排序
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
orderNo?: number;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {StatusEnum}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
status?: StatusEnum;
|
|
||||||
/**
|
|
||||||
* 备注
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SysPluginCore
|
|
||||||
*/
|
|
||||||
remark?: string | null;
|
|
||||||
}
|
|
||||||
@ -1,99 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 { StatusEnum } from '../../../api-services/models/status-enum';
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
export interface UpdatePluginCoreInput {
|
|
||||||
/**
|
|
||||||
* 雪花Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
id?: number;
|
|
||||||
/**
|
|
||||||
* 创建时间
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
createTime?: Date | null;
|
|
||||||
/**
|
|
||||||
* 更新时间
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
updateTime?: Date | null;
|
|
||||||
/**
|
|
||||||
* 创建者Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
createUserId?: number | null;
|
|
||||||
/**
|
|
||||||
* 修改者Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
updateUserId?: number | null;
|
|
||||||
/**
|
|
||||||
* 软删除
|
|
||||||
* @type {boolean}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
isDelete?: boolean;
|
|
||||||
/**
|
|
||||||
* 租户Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
tenantId?: number | null;
|
|
||||||
/**
|
|
||||||
* C#代码
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
csharpCode: string;
|
|
||||||
/**
|
|
||||||
* 程序集名称
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
assemblyName?: string | null;
|
|
||||||
/**
|
|
||||||
* 排序
|
|
||||||
* @type {number}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
orderNo?: number;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {StatusEnum}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
status?: StatusEnum;
|
|
||||||
/**
|
|
||||||
* 备注
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
remark?: string | null;
|
|
||||||
/**
|
|
||||||
* 名称
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UpdatePluginCoreInput
|
|
||||||
*/
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
@ -1,35 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Admin.NET
|
|
||||||
* 让 .NET 开发更简单、更通用、更流行。前后端分离架构(.NET6/Vue3),开箱即用紧随前沿技术。<br/><a href='https://gitee.com/zuohuaijun/Admin.NET/'>https://gitee.com/zuohuaijun/Admin.NET</a>
|
|
||||||
*
|
|
||||||
* OpenAPI spec version: 1.0.0
|
|
||||||
* Contact: 515096995@qq.com
|
|
||||||
*
|
|
||||||
* 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 { StatusEnum } from '../../../api-services/models/status-enum';
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface UpdatePluginCoreSettingInput
|
|
||||||
*/
|
|
||||||
export interface UpdatePluginCoreSettingInput {
|
|
||||||
/**
|
|
||||||
* 雪花Id
|
|
||||||
* @type {number}
|
|
||||||
* @memberof UpdatePluginCoreSettingInput
|
|
||||||
*/
|
|
||||||
id?: number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* C#代码
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UpdatePluginCoreSettingInput
|
|
||||||
*/
|
|
||||||
data: string;
|
|
||||||
|
|
||||||
}
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user