chore: 🙂更新前端API代码
This commit is contained in:
parent
9f1e0d613f
commit
d052b8747c
@ -10,8 +10,7 @@
|
||||
* 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/apijsonapi';
|
||||
*/export * from './apis/apijsonapi';
|
||||
export * from './apis/sys-alipay-api';
|
||||
export * from './apis/sys-auth-api';
|
||||
export * from './apis/sys-cache-api';
|
||||
@ -20,6 +19,7 @@ export * from './apis/sys-code-gen-config-api';
|
||||
export * from './apis/sys-code-gen-template-api';
|
||||
export * from './apis/sys-common-api';
|
||||
export * from './apis/sys-config-api';
|
||||
export * from './apis/sys-config-tenant-api';
|
||||
export * from './apis/sys-const-api';
|
||||
export * from './apis/sys-database-api';
|
||||
export * from './apis/sys-db-backup-api';
|
||||
|
||||
890
Web/src/api-services/apis/sys-config-tenant-api.ts
Normal file
890
Web/src/api-services/apis/sys-config-tenant-api.ts
Normal file
@ -0,0 +1,890 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import 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 { AddConfigTenantInput } from '../models';
|
||||
import { AdminNETResultListString } from '../models';
|
||||
import { AdminNETResultListSysConfigTenant } from '../models';
|
||||
import { AdminNETResultSqlSugarPagedListSysConfigTenant } from '../models';
|
||||
import { AdminNETResultString } from '../models';
|
||||
import { AdminNETResultSysConfigTenant } from '../models';
|
||||
import { BatchConfigTenantInput } from '../models';
|
||||
import { DeleteConfigTenantInput } from '../models';
|
||||
import { PageConfigTenantInput } from '../models';
|
||||
import { UpdateConfigTenantInput } from '../models';
|
||||
/**
|
||||
* SysConfigTenantApi - axios parameter creator
|
||||
* @export
|
||||
*/
|
||||
export const SysConfigTenantApiAxiosParamCreator = function (configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 增加配置参数 🔖
|
||||
* @param {AddConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysConfigTenantAddPost: async (body?: AddConfigTenantInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysConfigTenant/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 {Array<number>} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysConfigTenantBatchDeletePost: async (body?: Array<number>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysConfigTenant/batchDelete`;
|
||||
// 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 {Array<BatchConfigTenantInput>} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysConfigTenantBatchUpdatePost: async (body?: Array<BatchConfigTenantInput>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysConfigTenant/batchUpdate`;
|
||||
// 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 根据Code获取配置参数值 🔖
|
||||
* @param {string} code
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysConfigTenantConfigValueByCodeCodeGet: async (code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'code' is not null or undefined
|
||||
if (code === null || code === undefined) {
|
||||
throw new RequiredError('code','Required parameter code was null or undefined when calling apiSysConfigTenantConfigValueByCodeCodeGet.');
|
||||
}
|
||||
const localVarPath = `/api/sysConfigTenant/configValueByCode/{code}`
|
||||
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
||||
// 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 {DeleteConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysConfigTenantDeletePost: async (body?: DeleteConfigTenantInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysConfigTenant/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}
|
||||
*/
|
||||
apiSysConfigTenantDetailGet: 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 apiSysConfigTenantDetailGet.');
|
||||
}
|
||||
const localVarPath = `/api/sysConfigTenant/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 {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysConfigTenantGroupListGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysConfigTenant/groupList`;
|
||||
// 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 {PageConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysConfigTenantListPost: async (body?: PageConfigTenantInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysConfigTenant/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: '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 {PageConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysConfigTenantPagePost: async (body?: PageConfigTenantInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysConfigTenant/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 {UpdateConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysConfigTenantUpdatePost: async (body?: UpdateConfigTenantInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysConfigTenant/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,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* SysConfigTenantApi - functional programming interface
|
||||
* @export
|
||||
*/
|
||||
export const SysConfigTenantApiFp = function(configuration?: Configuration) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 增加配置参数 🔖
|
||||
* @param {AddConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantAddPost(body?: AddConfigTenantInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysConfigTenantApiAxiosParamCreator(configuration).apiSysConfigTenantAddPost(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 {Array<number>} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantBatchDeletePost(body?: Array<number>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysConfigTenantApiAxiosParamCreator(configuration).apiSysConfigTenantBatchDeletePost(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 {Array<BatchConfigTenantInput>} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantBatchUpdatePost(body?: Array<BatchConfigTenantInput>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysConfigTenantApiAxiosParamCreator(configuration).apiSysConfigTenantBatchUpdatePost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 根据Code获取配置参数值 🔖
|
||||
* @param {string} code
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantConfigValueByCodeCodeGet(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultString>>> {
|
||||
const localVarAxiosArgs = await SysConfigTenantApiAxiosParamCreator(configuration).apiSysConfigTenantConfigValueByCodeCodeGet(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 {DeleteConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantDeletePost(body?: DeleteConfigTenantInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysConfigTenantApiAxiosParamCreator(configuration).apiSysConfigTenantDeletePost(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 apiSysConfigTenantDetailGet(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultSysConfigTenant>>> {
|
||||
const localVarAxiosArgs = await SysConfigTenantApiAxiosParamCreator(configuration).apiSysConfigTenantDetailGet(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 apiSysConfigTenantGroupListGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultListString>>> {
|
||||
const localVarAxiosArgs = await SysConfigTenantApiAxiosParamCreator(configuration).apiSysConfigTenantGroupListGet(options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取配置参数列表 🔖
|
||||
* @param {PageConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantListPost(body?: PageConfigTenantInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultListSysConfigTenant>>> {
|
||||
const localVarAxiosArgs = await SysConfigTenantApiAxiosParamCreator(configuration).apiSysConfigTenantListPost(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 {PageConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantPagePost(body?: PageConfigTenantInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultSqlSugarPagedListSysConfigTenant>>> {
|
||||
const localVarAxiosArgs = await SysConfigTenantApiAxiosParamCreator(configuration).apiSysConfigTenantPagePost(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 {UpdateConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantUpdatePost(body?: UpdateConfigTenantInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysConfigTenantApiAxiosParamCreator(configuration).apiSysConfigTenantUpdatePost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* SysConfigTenantApi - factory interface
|
||||
* @export
|
||||
*/
|
||||
export const SysConfigTenantApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary 增加配置参数 🔖
|
||||
* @param {AddConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantAddPost(body?: AddConfigTenantInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysConfigTenantApiFp(configuration).apiSysConfigTenantAddPost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 批量删除配置参数 🔖
|
||||
* @param {Array<number>} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantBatchDeletePost(body?: Array<number>, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysConfigTenantApiFp(configuration).apiSysConfigTenantBatchDeletePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 批量更新配置参数值 🔖
|
||||
* @param {Array<BatchConfigTenantInput>} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantBatchUpdatePost(body?: Array<BatchConfigTenantInput>, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysConfigTenantApiFp(configuration).apiSysConfigTenantBatchUpdatePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 根据Code获取配置参数值 🔖
|
||||
* @param {string} code
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantConfigValueByCodeCodeGet(code: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultString>> {
|
||||
return SysConfigTenantApiFp(configuration).apiSysConfigTenantConfigValueByCodeCodeGet(code, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 删除配置参数 🔖
|
||||
* @param {DeleteConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantDeletePost(body?: DeleteConfigTenantInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysConfigTenantApiFp(configuration).apiSysConfigTenantDeletePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取配置参数详情 🔖
|
||||
* @param {number} id 主键Id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantDetailGet(id: number, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultSysConfigTenant>> {
|
||||
return SysConfigTenantApiFp(configuration).apiSysConfigTenantDetailGet(id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取分组列表 🔖
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantGroupListGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultListString>> {
|
||||
return SysConfigTenantApiFp(configuration).apiSysConfigTenantGroupListGet(options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取配置参数列表 🔖
|
||||
* @param {PageConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantListPost(body?: PageConfigTenantInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultListSysConfigTenant>> {
|
||||
return SysConfigTenantApiFp(configuration).apiSysConfigTenantListPost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 获取配置参数分页列表 🔖
|
||||
* @param {PageConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantPagePost(body?: PageConfigTenantInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultSqlSugarPagedListSysConfigTenant>> {
|
||||
return SysConfigTenantApiFp(configuration).apiSysConfigTenantPagePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 更新配置参数 🔖
|
||||
* @param {UpdateConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysConfigTenantUpdatePost(body?: UpdateConfigTenantInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysConfigTenantApiFp(configuration).apiSysConfigTenantUpdatePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* SysConfigTenantApi - object-oriented interface
|
||||
* @export
|
||||
* @class SysConfigTenantApi
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class SysConfigTenantApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary 增加配置参数 🔖
|
||||
* @param {AddConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysConfigTenantApi
|
||||
*/
|
||||
public async apiSysConfigTenantAddPost(body?: AddConfigTenantInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysConfigTenantApiFp(this.configuration).apiSysConfigTenantAddPost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 批量删除配置参数 🔖
|
||||
* @param {Array<number>} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysConfigTenantApi
|
||||
*/
|
||||
public async apiSysConfigTenantBatchDeletePost(body?: Array<number>, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysConfigTenantApiFp(this.configuration).apiSysConfigTenantBatchDeletePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 批量更新配置参数值 🔖
|
||||
* @param {Array<BatchConfigTenantInput>} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysConfigTenantApi
|
||||
*/
|
||||
public async apiSysConfigTenantBatchUpdatePost(body?: Array<BatchConfigTenantInput>, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysConfigTenantApiFp(this.configuration).apiSysConfigTenantBatchUpdatePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 根据Code获取配置参数值 🔖
|
||||
* @param {string} code
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysConfigTenantApi
|
||||
*/
|
||||
public async apiSysConfigTenantConfigValueByCodeCodeGet(code: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultString>> {
|
||||
return SysConfigTenantApiFp(this.configuration).apiSysConfigTenantConfigValueByCodeCodeGet(code, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 删除配置参数 🔖
|
||||
* @param {DeleteConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysConfigTenantApi
|
||||
*/
|
||||
public async apiSysConfigTenantDeletePost(body?: DeleteConfigTenantInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysConfigTenantApiFp(this.configuration).apiSysConfigTenantDeletePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 获取配置参数详情 🔖
|
||||
* @param {number} id 主键Id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysConfigTenantApi
|
||||
*/
|
||||
public async apiSysConfigTenantDetailGet(id: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultSysConfigTenant>> {
|
||||
return SysConfigTenantApiFp(this.configuration).apiSysConfigTenantDetailGet(id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 获取分组列表 🔖
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysConfigTenantApi
|
||||
*/
|
||||
public async apiSysConfigTenantGroupListGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultListString>> {
|
||||
return SysConfigTenantApiFp(this.configuration).apiSysConfigTenantGroupListGet(options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 获取配置参数列表 🔖
|
||||
* @param {PageConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysConfigTenantApi
|
||||
*/
|
||||
public async apiSysConfigTenantListPost(body?: PageConfigTenantInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultListSysConfigTenant>> {
|
||||
return SysConfigTenantApiFp(this.configuration).apiSysConfigTenantListPost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 获取配置参数分页列表 🔖
|
||||
* @param {PageConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysConfigTenantApi
|
||||
*/
|
||||
public async apiSysConfigTenantPagePost(body?: PageConfigTenantInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultSqlSugarPagedListSysConfigTenant>> {
|
||||
return SysConfigTenantApiFp(this.configuration).apiSysConfigTenantPagePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 更新配置参数 🔖
|
||||
* @param {UpdateConfigTenantInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysConfigTenantApi
|
||||
*/
|
||||
public async apiSysConfigTenantUpdatePost(body?: UpdateConfigTenantInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysConfigTenantApiFp(this.configuration).apiSysConfigTenantUpdatePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
@ -11,7 +11,6 @@
|
||||
* 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
|
||||
@ -132,15 +131,15 @@ export const SysDictDataApiAxiosParamCreator = function (configuration?: Configu
|
||||
/**
|
||||
*
|
||||
* @summary 根据查询条件获取字典值集合 🔖
|
||||
* @param {string} code 编码
|
||||
* @param {string} value 值
|
||||
* @param {number} [status] 状态
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysDictDataDataListGet: async (code: string, status?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'code' is not null or undefined
|
||||
if (code === null || code === undefined) {
|
||||
throw new RequiredError('code','Required parameter code was null or undefined when calling apiSysDictDataDataListGet.');
|
||||
apiSysDictDataDataListGet: async (value: string, status?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
// verify required parameter 'value' is not null or undefined
|
||||
if (value === null || value === undefined) {
|
||||
throw new RequiredError('value','Required parameter value was null or undefined when calling apiSysDictDataDataListGet.');
|
||||
}
|
||||
const localVarPath = `/api/sysDictData/dataList`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
@ -162,8 +161,8 @@ export const SysDictDataApiAxiosParamCreator = function (configuration?: Configu
|
||||
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
||||
}
|
||||
|
||||
if (code !== undefined) {
|
||||
localVarQueryParameter['Code'] = code;
|
||||
if (value !== undefined) {
|
||||
localVarQueryParameter['Value'] = value;
|
||||
}
|
||||
|
||||
if (status !== undefined) {
|
||||
@ -527,13 +526,13 @@ export const SysDictDataApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary 根据查询条件获取字典值集合 🔖
|
||||
* @param {string} code 编码
|
||||
* @param {string} value 值
|
||||
* @param {number} [status] 状态
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysDictDataDataListGet(code: string, status?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultListSysDictData>>> {
|
||||
const localVarAxiosArgs = await SysDictDataApiAxiosParamCreator(configuration).apiSysDictDataDataListGet(code, status, options);
|
||||
async apiSysDictDataDataListGet(value: string, status?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultListSysDictData>>> {
|
||||
const localVarAxiosArgs = await SysDictDataApiAxiosParamCreator(configuration).apiSysDictDataDataListGet(value, status, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
return axios.request(axiosRequestArgs);
|
||||
@ -656,13 +655,13 @@ export const SysDictDataApiFactory = function (configuration?: Configuration, ba
|
||||
/**
|
||||
*
|
||||
* @summary 根据查询条件获取字典值集合 🔖
|
||||
* @param {string} code 编码
|
||||
* @param {string} value 值
|
||||
* @param {number} [status] 状态
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysDictDataDataListGet(code: string, status?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultListSysDictData>> {
|
||||
return SysDictDataApiFp(configuration).apiSysDictDataDataListGet(code, status, options).then((request) => request(axios, basePath));
|
||||
async apiSysDictDataDataListGet(value: string, status?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultListSysDictData>> {
|
||||
return SysDictDataApiFp(configuration).apiSysDictDataDataListGet(value, status, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
@ -760,14 +759,14 @@ export class SysDictDataApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary 根据查询条件获取字典值集合 🔖
|
||||
* @param {string} code 编码
|
||||
* @param {string} value 值
|
||||
* @param {number} [status] 状态
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysDictDataApi
|
||||
*/
|
||||
public async apiSysDictDataDataListGet(code: string, status?: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultListSysDictData>> {
|
||||
return SysDictDataApiFp(this.configuration).apiSysDictDataDataListGet(code, status, options).then((request) => request(this.axios, this.basePath));
|
||||
public async apiSysDictDataDataListGet(value: string, status?: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultListSysDictData>> {
|
||||
return SysDictDataApiFp(this.configuration).apiSysDictDataDataListGet(value, status, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
|
||||
117
Web/src/api-services/models/add-config-tenant-input.ts
Normal file
117
Web/src/api-services/models/add-config-tenant-input.ts
Normal file
@ -0,0 +1,117 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { YesNoEnum } from './yes-no-enum';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface AddConfigTenantInput
|
||||
*/
|
||||
export interface AddConfigTenantInput {
|
||||
/**
|
||||
* 雪花Id
|
||||
* @type {number}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* 创建时间
|
||||
* @type {Date}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
createTime?: Date;
|
||||
/**
|
||||
* 更新时间
|
||||
* @type {Date}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
/**
|
||||
* 创建者Id
|
||||
* @type {number}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
/**
|
||||
* 创建者姓名
|
||||
* @type {string}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
/**
|
||||
* 修改者Id
|
||||
* @type {number}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
/**
|
||||
* 修改者姓名
|
||||
* @type {string}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
/**
|
||||
* 软删除
|
||||
* @type {boolean}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
/**
|
||||
* 租户Id
|
||||
* @type {number}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
tenantId?: number | null;
|
||||
/**
|
||||
* 名称
|
||||
* @type {string}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* 编码
|
||||
* @type {string}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
code?: string | null;
|
||||
/**
|
||||
* 参数值
|
||||
* @type {string}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
value?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {YesNoEnum}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
sysFlag?: YesNoEnum;
|
||||
/**
|
||||
* 分组编码
|
||||
* @type {string}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
groupCode?: string | null;
|
||||
/**
|
||||
* 排序
|
||||
* @type {number}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
orderNo?: number;
|
||||
/**
|
||||
* 备注
|
||||
* @type {string}
|
||||
* @memberof AddConfigTenantInput
|
||||
*/
|
||||
remark?: string | null;
|
||||
}
|
||||
@ -11,169 +11,123 @@
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { StatusEnum } from './status-enum';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface AddDictDataInput
|
||||
*/
|
||||
export interface AddDictDataInput {
|
||||
|
||||
/**
|
||||
* 雪花Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
createTime?: Date;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
|
||||
/**
|
||||
* 租户Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
tenantId?: number | null;
|
||||
|
||||
/**
|
||||
* 字典类型Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
dictTypeId?: number;
|
||||
|
||||
/**
|
||||
* 显示文本
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
label: string;
|
||||
/**
|
||||
* 值
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
value: string;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
code: string;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
name?: string | null;
|
||||
|
||||
code?: string | null;
|
||||
/**
|
||||
* 显示样式-标签颜色
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
tagType?: string | null;
|
||||
|
||||
/**
|
||||
* 显示样式-Style(控制显示样式)
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
styleSetting?: string | null;
|
||||
|
||||
/**
|
||||
* 显示样式-Class(控制显示样式)
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
classSetting?: string | null;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
orderNo?: number;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
remark?: string | null;
|
||||
|
||||
/**
|
||||
* 拓展数据(保存业务功能的配置项)
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
extData?: string | null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {StatusEnum}
|
||||
* @memberof AddDictDataInput
|
||||
*/
|
||||
|
||||
@ -11,129 +11,107 @@
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { StatusEnum } from './status-enum';
|
||||
import { SysDictData } from './sys-dict-data';
|
||||
import { YesNoEnum } from './yes-no-enum';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface AddDictTypeInput
|
||||
*/
|
||||
export interface AddDictTypeInput {
|
||||
|
||||
/**
|
||||
* 雪花Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
createTime?: Date;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
code: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
orderNo?: number;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
remark?: string | null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {StatusEnum}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
status?: StatusEnum;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {YesNoEnum}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
isTenant?: YesNoEnum;
|
||||
/**
|
||||
* 字典值集合
|
||||
*
|
||||
* @type {Array<SysDictData>}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
children?: Array<SysDictData> | null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {YesNoEnum}
|
||||
* @memberof AddDictTypeInput
|
||||
*/
|
||||
|
||||
@ -0,0 +1,57 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { SysConfigTenant } from './sys-config-tenant';
|
||||
/**
|
||||
* 全局返回结果
|
||||
* @export
|
||||
* @interface AdminNETResultListSysConfigTenant
|
||||
*/
|
||||
export interface AdminNETResultListSysConfigTenant {
|
||||
/**
|
||||
* 状态码
|
||||
* @type {number}
|
||||
* @memberof AdminNETResultListSysConfigTenant
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
* @type {string}
|
||||
* @memberof AdminNETResultListSysConfigTenant
|
||||
*/
|
||||
type?: string | null;
|
||||
/**
|
||||
* 错误信息
|
||||
* @type {string}
|
||||
* @memberof AdminNETResultListSysConfigTenant
|
||||
*/
|
||||
message?: string | null;
|
||||
/**
|
||||
* 数据
|
||||
* @type {Array<SysConfigTenant>}
|
||||
* @memberof AdminNETResultListSysConfigTenant
|
||||
*/
|
||||
result?: Array<SysConfigTenant> | null;
|
||||
/**
|
||||
* 附加数据
|
||||
* @type {any}
|
||||
* @memberof AdminNETResultListSysConfigTenant
|
||||
*/
|
||||
extras?: any | null;
|
||||
/**
|
||||
* 时间
|
||||
* @type {Date}
|
||||
* @memberof AdminNETResultListSysConfigTenant
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { SqlSugarPagedListSysConfigTenant } from './sql-sugar-paged-list-sys-config-tenant';
|
||||
/**
|
||||
* 全局返回结果
|
||||
* @export
|
||||
* @interface AdminNETResultSqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
export interface AdminNETResultSqlSugarPagedListSysConfigTenant {
|
||||
/**
|
||||
* 状态码
|
||||
* @type {number}
|
||||
* @memberof AdminNETResultSqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
* @type {string}
|
||||
* @memberof AdminNETResultSqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
type?: string | null;
|
||||
/**
|
||||
* 错误信息
|
||||
* @type {string}
|
||||
* @memberof AdminNETResultSqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
message?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {SqlSugarPagedListSysConfigTenant}
|
||||
* @memberof AdminNETResultSqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
result?: SqlSugarPagedListSysConfigTenant;
|
||||
/**
|
||||
* 附加数据
|
||||
* @type {any}
|
||||
* @memberof AdminNETResultSqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
extras?: any | null;
|
||||
/**
|
||||
* 时间
|
||||
* @type {Date}
|
||||
* @memberof AdminNETResultSqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { SysConfigTenant } from './sys-config-tenant';
|
||||
/**
|
||||
* 全局返回结果
|
||||
* @export
|
||||
* @interface AdminNETResultSysConfigTenant
|
||||
*/
|
||||
export interface AdminNETResultSysConfigTenant {
|
||||
/**
|
||||
* 状态码
|
||||
* @type {number}
|
||||
* @memberof AdminNETResultSysConfigTenant
|
||||
*/
|
||||
code?: number;
|
||||
/**
|
||||
* 类型success、warning、error
|
||||
* @type {string}
|
||||
* @memberof AdminNETResultSysConfigTenant
|
||||
*/
|
||||
type?: string | null;
|
||||
/**
|
||||
* 错误信息
|
||||
* @type {string}
|
||||
* @memberof AdminNETResultSysConfigTenant
|
||||
*/
|
||||
message?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {SysConfigTenant}
|
||||
* @memberof AdminNETResultSysConfigTenant
|
||||
*/
|
||||
result?: SysConfigTenant;
|
||||
/**
|
||||
* 附加数据
|
||||
* @type {any}
|
||||
* @memberof AdminNETResultSysConfigTenant
|
||||
*/
|
||||
extras?: any | null;
|
||||
/**
|
||||
* 时间
|
||||
* @type {Date}
|
||||
* @memberof AdminNETResultSysConfigTenant
|
||||
*/
|
||||
time?: Date;
|
||||
}
|
||||
32
Web/src/api-services/models/batch-config-tenant-input.ts
Normal file
32
Web/src/api-services/models/batch-config-tenant-input.ts
Normal file
@ -0,0 +1,32 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
/**
|
||||
* 批量配置参数输入
|
||||
* @export
|
||||
* @interface BatchConfigTenantInput
|
||||
*/
|
||||
export interface BatchConfigTenantInput {
|
||||
/**
|
||||
* 编码
|
||||
* @type {string}
|
||||
* @memberof BatchConfigTenantInput
|
||||
*/
|
||||
code?: string | null;
|
||||
/**
|
||||
* 属性值
|
||||
* @type {string}
|
||||
* @memberof BatchConfigTenantInput
|
||||
*/
|
||||
value?: string | null;
|
||||
}
|
||||
26
Web/src/api-services/models/delete-config-tenant-input.ts
Normal file
26
Web/src/api-services/models/delete-config-tenant-input.ts
Normal file
@ -0,0 +1,26 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface DeleteConfigTenantInput
|
||||
*/
|
||||
export interface DeleteConfigTenantInput {
|
||||
/**
|
||||
* 主键Id
|
||||
* @type {number}
|
||||
* @memberof DeleteConfigTenantInput
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
88
Web/src/api-services/models/page-config-tenant-input.ts
Normal file
88
Web/src/api-services/models/page-config-tenant-input.ts
Normal file
@ -0,0 +1,88 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { Filter } from './filter';
|
||||
import { Search } from './search';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface PageConfigTenantInput
|
||||
*/
|
||||
export interface PageConfigTenantInput {
|
||||
/**
|
||||
*
|
||||
* @type {Search}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
search?: Search;
|
||||
/**
|
||||
* 模糊查询关键字
|
||||
* @type {string}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
keyword?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {Filter}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
filter?: Filter;
|
||||
/**
|
||||
* 当前页码
|
||||
* @type {number}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* 页码容量
|
||||
* @type {number}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
pageSize?: number;
|
||||
/**
|
||||
* 排序字段
|
||||
* @type {string}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
field?: string | null;
|
||||
/**
|
||||
* 排序方向
|
||||
* @type {string}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
order?: string | null;
|
||||
/**
|
||||
* 降序排序
|
||||
* @type {string}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
descStr?: string | null;
|
||||
/**
|
||||
* 名称
|
||||
* @type {string}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
name?: string | null;
|
||||
/**
|
||||
* 编码
|
||||
* @type {string}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
code?: string | null;
|
||||
/**
|
||||
* 分组编码
|
||||
* @type {string}
|
||||
* @memberof PageConfigTenantInput
|
||||
*/
|
||||
groupCode?: string | null;
|
||||
}
|
||||
@ -11,96 +11,76 @@
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { Filter } from './filter';
|
||||
import { Search } from './search';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface PageDictDataInput
|
||||
*/
|
||||
export interface PageDictDataInput {
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Search}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
search?: Search;
|
||||
|
||||
/**
|
||||
* 模糊查询关键字
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
keyword?: string | null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Filter}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
filter?: Filter;
|
||||
|
||||
/**
|
||||
* 当前页码
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
page?: number;
|
||||
|
||||
/**
|
||||
* 页码容量
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
pageSize?: number;
|
||||
|
||||
/**
|
||||
* 排序字段
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
field?: string | null;
|
||||
|
||||
/**
|
||||
* 排序方向
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
order?: string | null;
|
||||
|
||||
/**
|
||||
* 降序排序
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
descStr?: string | null;
|
||||
|
||||
/**
|
||||
* 字典类型Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
dictTypeId?: number;
|
||||
|
||||
/**
|
||||
* 值
|
||||
*
|
||||
* 文本
|
||||
* @type {string}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
value?: string | null;
|
||||
|
||||
label?: string | null;
|
||||
/**
|
||||
* 编码
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof PageDictDataInput
|
||||
*/
|
||||
|
||||
@ -0,0 +1,63 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { SysConfigTenant } from './sys-config-tenant';
|
||||
/**
|
||||
* 分页泛型集合
|
||||
* @export
|
||||
* @interface SqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
export interface SqlSugarPagedListSysConfigTenant {
|
||||
/**
|
||||
* 页码
|
||||
* @type {number}
|
||||
* @memberof SqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* 页容量
|
||||
* @type {number}
|
||||
* @memberof SqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
pageSize?: number;
|
||||
/**
|
||||
* 总条数
|
||||
* @type {number}
|
||||
* @memberof SqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
total?: number;
|
||||
/**
|
||||
* 总页数
|
||||
* @type {number}
|
||||
* @memberof SqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
totalPages?: number;
|
||||
/**
|
||||
* 当前页集合
|
||||
* @type {Array<SysConfigTenant>}
|
||||
* @memberof SqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
items?: Array<SysConfigTenant> | null;
|
||||
/**
|
||||
* 是否有上一页
|
||||
* @type {boolean}
|
||||
* @memberof SqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
hasPrevPage?: boolean;
|
||||
/**
|
||||
* 是否有下一页
|
||||
* @type {boolean}
|
||||
* @memberof SqlSugarPagedListSysConfigTenant
|
||||
*/
|
||||
hasNextPage?: boolean;
|
||||
}
|
||||
117
Web/src/api-services/models/sys-config-tenant.ts
Normal file
117
Web/src/api-services/models/sys-config-tenant.ts
Normal file
@ -0,0 +1,117 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { YesNoEnum } from './yes-no-enum';
|
||||
/**
|
||||
* 系统租户配置参数表
|
||||
* @export
|
||||
* @interface SysConfigTenant
|
||||
*/
|
||||
export interface SysConfigTenant {
|
||||
/**
|
||||
* 雪花Id
|
||||
* @type {number}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* 创建时间
|
||||
* @type {Date}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
createTime?: Date;
|
||||
/**
|
||||
* 更新时间
|
||||
* @type {Date}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
/**
|
||||
* 创建者Id
|
||||
* @type {number}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
/**
|
||||
* 创建者姓名
|
||||
* @type {string}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
/**
|
||||
* 修改者Id
|
||||
* @type {number}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
/**
|
||||
* 修改者姓名
|
||||
* @type {string}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
/**
|
||||
* 软删除
|
||||
* @type {boolean}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
/**
|
||||
* 租户Id
|
||||
* @type {number}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
tenantId?: number | null;
|
||||
/**
|
||||
* 名称
|
||||
* @type {string}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* 编码
|
||||
* @type {string}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
code?: string | null;
|
||||
/**
|
||||
* 参数值
|
||||
* @type {string}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
value?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {YesNoEnum}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
sysFlag?: YesNoEnum;
|
||||
/**
|
||||
* 分组编码
|
||||
* @type {string}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
groupCode?: string | null;
|
||||
/**
|
||||
* 排序
|
||||
* @type {number}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
orderNo?: number;
|
||||
/**
|
||||
* 备注
|
||||
* @type {string}
|
||||
* @memberof SysConfigTenant
|
||||
*/
|
||||
remark?: string | null;
|
||||
}
|
||||
@ -11,169 +11,123 @@
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { StatusEnum } from './status-enum';
|
||||
/**
|
||||
* 系统字典值表
|
||||
*
|
||||
* @export
|
||||
* @interface SysDictData
|
||||
*/
|
||||
export interface SysDictData {
|
||||
|
||||
/**
|
||||
* 雪花Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
createTime?: Date;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
|
||||
/**
|
||||
* 租户Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
tenantId?: number | null;
|
||||
|
||||
/**
|
||||
* 字典类型Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
dictTypeId?: number;
|
||||
|
||||
/**
|
||||
* 显示文本
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
label: string;
|
||||
/**
|
||||
* 值
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
value: string;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
code: string;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
name?: string | null;
|
||||
|
||||
code?: string | null;
|
||||
/**
|
||||
* 显示样式-标签颜色
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
tagType?: string | null;
|
||||
|
||||
/**
|
||||
* 显示样式-Style(控制显示样式)
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
styleSetting?: string | null;
|
||||
|
||||
/**
|
||||
* 显示样式-Class(控制显示样式)
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
classSetting?: string | null;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
orderNo?: number;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
remark?: string | null;
|
||||
|
||||
/**
|
||||
* 拓展数据(保存业务功能的配置项)
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
extData?: string | null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {StatusEnum}
|
||||
* @memberof SysDictData
|
||||
*/
|
||||
|
||||
@ -11,129 +11,107 @@
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { StatusEnum } from './status-enum';
|
||||
import { SysDictData } from './sys-dict-data';
|
||||
import { YesNoEnum } from './yes-no-enum';
|
||||
/**
|
||||
* 系统字典类型表
|
||||
*
|
||||
* @export
|
||||
* @interface SysDictType
|
||||
*/
|
||||
export interface SysDictType {
|
||||
|
||||
/**
|
||||
* 雪花Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
createTime?: Date;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
code: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
orderNo?: number;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
remark?: string | null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {StatusEnum}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
status?: StatusEnum;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {YesNoEnum}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
sysFlag?: YesNoEnum;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {YesNoEnum}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
isTenant?: YesNoEnum;
|
||||
/**
|
||||
* 字典值集合
|
||||
*
|
||||
* @type {Array<SysDictData>}
|
||||
* @memberof SysDictType
|
||||
*/
|
||||
|
||||
117
Web/src/api-services/models/update-config-tenant-input.ts
Normal file
117
Web/src/api-services/models/update-config-tenant-input.ts
Normal file
@ -0,0 +1,117 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Admin.NET 通用权限开发平台
|
||||
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
||||
*
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { YesNoEnum } from './yes-no-enum';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface UpdateConfigTenantInput
|
||||
*/
|
||||
export interface UpdateConfigTenantInput {
|
||||
/**
|
||||
* 雪花Id
|
||||
* @type {number}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* 创建时间
|
||||
* @type {Date}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
createTime?: Date;
|
||||
/**
|
||||
* 更新时间
|
||||
* @type {Date}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
/**
|
||||
* 创建者Id
|
||||
* @type {number}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
/**
|
||||
* 创建者姓名
|
||||
* @type {string}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
/**
|
||||
* 修改者Id
|
||||
* @type {number}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
/**
|
||||
* 修改者姓名
|
||||
* @type {string}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
/**
|
||||
* 软删除
|
||||
* @type {boolean}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
/**
|
||||
* 租户Id
|
||||
* @type {number}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
tenantId?: number | null;
|
||||
/**
|
||||
* 名称
|
||||
* @type {string}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* 编码
|
||||
* @type {string}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
code?: string | null;
|
||||
/**
|
||||
* 参数值
|
||||
* @type {string}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
value?: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {YesNoEnum}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
sysFlag?: YesNoEnum;
|
||||
/**
|
||||
* 分组编码
|
||||
* @type {string}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
groupCode?: string | null;
|
||||
/**
|
||||
* 排序
|
||||
* @type {number}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
orderNo?: number;
|
||||
/**
|
||||
* 备注
|
||||
* @type {string}
|
||||
* @memberof UpdateConfigTenantInput
|
||||
*/
|
||||
remark?: string | null;
|
||||
}
|
||||
@ -11,169 +11,123 @@
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { StatusEnum } from './status-enum';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface UpdateDictDataInput
|
||||
*/
|
||||
export interface UpdateDictDataInput {
|
||||
|
||||
/**
|
||||
* 雪花Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
createTime?: Date;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
|
||||
/**
|
||||
* 租户Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
tenantId?: number | null;
|
||||
|
||||
/**
|
||||
* 字典类型Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
dictTypeId?: number;
|
||||
|
||||
/**
|
||||
* 显示文本
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
label: string;
|
||||
/**
|
||||
* 值
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
value: string;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
code: string;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
name?: string | null;
|
||||
|
||||
code?: string | null;
|
||||
/**
|
||||
* 显示样式-标签颜色
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
tagType?: string | null;
|
||||
|
||||
/**
|
||||
* 显示样式-Style(控制显示样式)
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
styleSetting?: string | null;
|
||||
|
||||
/**
|
||||
* 显示样式-Class(控制显示样式)
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
classSetting?: string | null;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
orderNo?: number;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
remark?: string | null;
|
||||
|
||||
/**
|
||||
* 拓展数据(保存业务功能的配置项)
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
extData?: string | null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {StatusEnum}
|
||||
* @memberof UpdateDictDataInput
|
||||
*/
|
||||
|
||||
@ -11,129 +11,107 @@
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { StatusEnum } from './status-enum';
|
||||
import { SysDictData } from './sys-dict-data';
|
||||
import { YesNoEnum } from './yes-no-enum';
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface UpdateDictTypeInput
|
||||
*/
|
||||
export interface UpdateDictTypeInput {
|
||||
|
||||
/**
|
||||
* 雪花Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
createTime?: Date;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
code: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
orderNo?: number;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
remark?: string | null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {StatusEnum}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
status?: StatusEnum;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {YesNoEnum}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
isTenant?: YesNoEnum;
|
||||
/**
|
||||
* 字典值集合
|
||||
*
|
||||
* @type {Array<SysDictData>}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
children?: Array<SysDictData> | null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {YesNoEnum}
|
||||
* @memberof UpdateDictTypeInput
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user