😊精简DTO
This commit is contained in:
parent
6ae74bd3e1
commit
44dbd9456a
@ -65,7 +65,7 @@ public class SysCodeGenService : IDynamicApiController, ITransient
|
||||
|
||||
var codeGen = input.Adapt<SysCodeGen>();
|
||||
long id = YitIdHelper.NextId();
|
||||
var templateRelations = GetCodeGenTemplateRelation(id, input.CodeGenTemplateIds);
|
||||
var templateRelations = SysCodeGenService.GetCodeGenTemplateRelation(id, input.CodeGenTemplateIds);
|
||||
codeGen.Id = id;
|
||||
codeGen.CodeGenTemplateRelations = templateRelations;
|
||||
//var newCodeGen = await _db.Insertable(codeGen).ExecuteReturnEntityAsync();
|
||||
@ -83,14 +83,16 @@ public class SysCodeGenService : IDynamicApiController, ITransient
|
||||
/// <param name="codeGenId"></param>
|
||||
/// <param name="templateIds"></param>
|
||||
/// <returns></returns>
|
||||
private List<SysCodeGenTemplateRelation> GetCodeGenTemplateRelation(long codeGenId, List<long> templateIds)
|
||||
private static List<SysCodeGenTemplateRelation> GetCodeGenTemplateRelation(long codeGenId, List<long> templateIds)
|
||||
{
|
||||
List<SysCodeGenTemplateRelation> list = new();
|
||||
List<SysCodeGenTemplateRelation> list = [];
|
||||
foreach (var item in templateIds)
|
||||
{
|
||||
SysCodeGenTemplateRelation relation = new();
|
||||
relation.CodeGenId = codeGenId;
|
||||
relation.TemplateId = item;
|
||||
SysCodeGenTemplateRelation relation = new()
|
||||
{
|
||||
CodeGenId = codeGenId,
|
||||
TemplateId = item
|
||||
};
|
||||
list.Add(relation);
|
||||
}
|
||||
return list;
|
||||
@ -111,7 +113,7 @@ public class SysCodeGenService : IDynamicApiController, ITransient
|
||||
// throw Oops.Oh(ErrorCodeEnum.D1400);
|
||||
|
||||
var codeGen = input.Adapt<SysCodeGen>();
|
||||
var templateRelations = GetCodeGenTemplateRelation(codeGen.Id, input.CodeGenTemplateIds);
|
||||
var templateRelations = SysCodeGenService.GetCodeGenTemplateRelation(codeGen.Id, input.CodeGenTemplateIds);
|
||||
codeGen.CodeGenTemplateRelations = templateRelations;
|
||||
//await _db.Updateable(codeGen).ExecuteCommandAsync();
|
||||
await _db.UpdateNav(codeGen).Include(t => t.CodeGenTemplateRelations).ExecuteCommandAsync();
|
||||
@ -292,7 +294,7 @@ public class SysCodeGenService : IDynamicApiController, ITransient
|
||||
if (Directory.Exists(outputPath)) Directory.Delete(outputPath, true);
|
||||
|
||||
var tableFieldList = await _codeGenConfigService.GetList(new CodeGenConfig { CodeGenId = input.Id }); // 字段集合
|
||||
ProcessTableFieldList(tableFieldList); // 处理字段集合
|
||||
SysCodeGenService.ProcessTableFieldList(tableFieldList); // 处理字段集合
|
||||
|
||||
var queryWhetherList = tableFieldList.Where(u => u.QueryWhether == YesNoEnum.Y.ToString()).ToList(); // 前端查询集合
|
||||
var joinTableList = tableFieldList.Where(u => u.EffectType is "Upload" or "ForeignKey" or "ApiTreeSelector").ToList(); // 需要连表查询的字段
|
||||
@ -352,7 +354,7 @@ public class SysCodeGenService : IDynamicApiController, ITransient
|
||||
public async Task<Dictionary<string, string>> Preview(SysCodeGen input)
|
||||
{
|
||||
var tableFieldList = await _codeGenConfigService.GetList(new CodeGenConfig { CodeGenId = input.Id }); // 字段集合
|
||||
ProcessTableFieldList(tableFieldList); // 处理字段集合
|
||||
SysCodeGenService.ProcessTableFieldList(tableFieldList); // 处理字段集合
|
||||
|
||||
var queryWhetherList = tableFieldList.Where(u => u.QueryWhether == YesNoEnum.Y.ToString()).ToList(); // 前端查询集合
|
||||
var joinTableList = tableFieldList.Where(u => u.EffectType is "Upload" or "ForeignKey" or "ApiTreeSelector").ToList(); // 需要连表查询的字段
|
||||
@ -384,11 +386,11 @@ public class SysCodeGenService : IDynamicApiController, ITransient
|
||||
/// 处理字段集合
|
||||
/// </summary>
|
||||
/// <param name="tableFieldList"></param>
|
||||
private void ProcessTableFieldList(List<CodeGenConfig> tableFieldList)
|
||||
private static void ProcessTableFieldList(List<CodeGenConfig> tableFieldList)
|
||||
{
|
||||
foreach (var item in tableFieldList)
|
||||
{
|
||||
List<VerifyRuleItem> list = new();
|
||||
List<VerifyRuleItem> list = [];
|
||||
if (!string.IsNullOrWhiteSpace(item.Rules))
|
||||
{
|
||||
if (item.Rules != "[]")
|
||||
|
||||
@ -33,14 +33,6 @@ public class PageFileInput : BasePageInput
|
||||
public DateTime? EndTime { get; set; }
|
||||
}
|
||||
|
||||
public class FileInput : BaseIdInput
|
||||
{
|
||||
}
|
||||
|
||||
public class DeleteFileInput : BaseIdInput
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 上传文件
|
||||
/// </summary>
|
||||
|
||||
@ -169,7 +169,7 @@ public class SysFileService : IDynamicApiController, ITransient
|
||||
/// <returns></returns>
|
||||
[ApiDescriptionSettings(Name = "Delete"), HttpPost]
|
||||
[DisplayName("删除文件")]
|
||||
public async Task DeleteFile(DeleteFileInput input)
|
||||
public async Task DeleteFile(BaseIdInput input)
|
||||
{
|
||||
var file = await _sysFileRep.GetByIdAsync(input.Id) ?? throw Oops.Oh($"文件不存在");
|
||||
await _sysFileRep.DeleteAsync(file);
|
||||
@ -322,7 +322,7 @@ public class SysFileService : IDynamicApiController, ITransient
|
||||
if (!string.IsNullOrWhiteSpace(user.Avatar))
|
||||
{
|
||||
var fileId = Path.GetFileNameWithoutExtension(user.Avatar);
|
||||
await DeleteFile(new DeleteFileInput { Id = long.Parse(fileId) });
|
||||
await DeleteFile(new BaseIdInput { Id = long.Parse(fileId) });
|
||||
}
|
||||
return sysFile;
|
||||
}
|
||||
@ -344,7 +344,7 @@ public class SysFileService : IDynamicApiController, ITransient
|
||||
if (!string.IsNullOrWhiteSpace(user.Signature) && user.Signature.EndsWith(".png"))
|
||||
{
|
||||
var fileId = Path.GetFileNameWithoutExtension(user.Signature);
|
||||
await DeleteFile(new DeleteFileInput { Id = long.Parse(fileId) });
|
||||
await DeleteFile(new BaseIdInput { Id = long.Parse(fileId) });
|
||||
}
|
||||
return sysFile;
|
||||
}
|
||||
@ -367,7 +367,7 @@ public class SysFileService : IDynamicApiController, ITransient
|
||||
var tmpFileIds = tmpFiles.Select(u => u.Id).ToList();
|
||||
var deleteFileIds = tmpFileIds.Except(newFileIds);
|
||||
foreach (var fileId in deleteFileIds)
|
||||
await DeleteFile(new DeleteFileInput() { Id = fileId });
|
||||
await DeleteFile(new BaseIdInput() { Id = fileId });
|
||||
|
||||
await _sysFileRep.UpdateAsync(u => new SysFile() { DataId = dataId }, u => newFileIds.Contains(u.Id));
|
||||
}
|
||||
|
||||
@ -8,20 +8,4 @@ namespace Admin.NET.Core.Service;
|
||||
|
||||
public class PageUpgradeInput : BasePageInput
|
||||
{
|
||||
}
|
||||
|
||||
public class AddUpgradeInput : SysUpgrade
|
||||
{
|
||||
}
|
||||
|
||||
public class UpdateUpgradeInput : AddUpgradeInput
|
||||
{
|
||||
}
|
||||
|
||||
public class DeleteUpgradeInput : BaseIdInput
|
||||
{
|
||||
}
|
||||
|
||||
public class UpgradeInput : BaseIdInput
|
||||
{
|
||||
}
|
||||
@ -48,7 +48,7 @@ public class SysUpgradeService : IDynamicApiController, ITransient
|
||||
/// <returns></returns>
|
||||
[ApiDescriptionSettings(Name = "Add"), HttpPost]
|
||||
[DisplayName("增加系统更新日志")]
|
||||
public async Task AddUpgrade(AddUpgradeInput input)
|
||||
public async Task AddUpgrade(SysUpgrade input)
|
||||
{
|
||||
var upgrade = input.Adapt<SysUpgrade>();
|
||||
await _sysUpgradeRep.InsertAsync(upgrade);
|
||||
@ -62,7 +62,7 @@ public class SysUpgradeService : IDynamicApiController, ITransient
|
||||
[UnitOfWork]
|
||||
[ApiDescriptionSettings(Name = "Update"), HttpPost]
|
||||
[DisplayName("更新系统更新日志")]
|
||||
public async Task UpdateUpgrade(UpdateUpgradeInput input)
|
||||
public async Task UpdateUpgrade(SysUpgrade input)
|
||||
{
|
||||
var upgrade = input.Adapt<SysUpgrade>();
|
||||
await _sysUpgradeRep.UpdateAsync(upgrade);
|
||||
@ -76,7 +76,7 @@ public class SysUpgradeService : IDynamicApiController, ITransient
|
||||
[UnitOfWork]
|
||||
[ApiDescriptionSettings(Name = "Delete"), HttpPost]
|
||||
[DisplayName("删除系统更新日志")]
|
||||
public async Task DeleteUpgrade(DeleteUpgradeInput input)
|
||||
public async Task DeleteUpgrade(BaseIdInput input)
|
||||
{
|
||||
await _sysUpgradeRep.DeleteAsync(u => u.Id == input.Id);
|
||||
|
||||
@ -89,7 +89,7 @@ public class SysUpgradeService : IDynamicApiController, ITransient
|
||||
/// <param name="input"></param>
|
||||
/// <returns></returns>
|
||||
[DisplayName("设置系统更新日志已读状态")]
|
||||
public async Task SetRead(UpgradeInput input)
|
||||
public async Task SetRead(BaseIdInput input)
|
||||
{
|
||||
await _sysUpgradeUserRep.InsertAsync(new SysUpgradeUser
|
||||
{
|
||||
|
||||
@ -6,13 +6,6 @@
|
||||
|
||||
namespace Admin.NET.Core.Service;
|
||||
|
||||
/// <summary>
|
||||
/// 设置用户状态输入参数
|
||||
/// </summary>
|
||||
public class UserInput : BaseStatusInput
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取用户分页列表输入参数
|
||||
/// </summary>
|
||||
@ -122,11 +115,4 @@ public class ChangePwdInput
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "新密码不能为空"), MinLength(5, ErrorMessage = "密码需要大于5个字符")]
|
||||
public string PasswordNew { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 解除登录锁定输入参数
|
||||
/// </summary>
|
||||
public class UnlockLoginInput : BaseIdInput
|
||||
{
|
||||
}
|
||||
@ -252,7 +252,7 @@ public class SysUserService : IDynamicApiController, ITransient
|
||||
/// <returns></returns>
|
||||
[UnitOfWork]
|
||||
[DisplayName("设置用户状态")]
|
||||
public virtual async Task<int> SetStatus(UserInput input)
|
||||
public virtual async Task<int> SetStatus(BaseStatusInput input)
|
||||
{
|
||||
if (_userManager.UserId == input.Id)
|
||||
throw Oops.Oh(ErrorCodeEnum.D1026);
|
||||
@ -421,7 +421,7 @@ public class SysUserService : IDynamicApiController, ITransient
|
||||
/// <param name="input"></param>
|
||||
/// <returns></returns>
|
||||
[DisplayName("解除登录锁定")]
|
||||
public virtual async Task UnlockLogin(UnlockLoginInput input)
|
||||
public virtual async Task UnlockLogin(BaseIdInput input)
|
||||
{
|
||||
var user = await _sysUserRep.GetByIdAsync(input.Id) ?? throw Oops.Oh(ErrorCodeEnum.D0009);
|
||||
|
||||
|
||||
@ -339,7 +339,7 @@ public static class CommonUtil
|
||||
var res = await ((IImporter)new ExcelImporter()).Import<T>(filePath);
|
||||
|
||||
// 删除文件
|
||||
_ = sysFileService.DeleteFile(new DeleteFileInput { Id = newFile.Id });
|
||||
_ = sysFileService.DeleteFile(new BaseIdInput { Id = newFile.Id });
|
||||
|
||||
if (res == null)
|
||||
throw Oops.Oh("导入数据为空");
|
||||
|
||||
@ -23,7 +23,7 @@ import { AdminNETResultListTreeNode } from '../models';
|
||||
import { AdminNETResultSqlSugarPagedListSysFile } from '../models';
|
||||
import { AdminNETResultString } from '../models';
|
||||
import { AdminNETResultSysFile } from '../models';
|
||||
import { DeleteFileInput } from '../models';
|
||||
import { BaseIdInput } from '../models';
|
||||
import { PageFileInput } from '../models';
|
||||
import { SysFile } from '../models';
|
||||
import { UploadFileFromBase64Input } from '../models';
|
||||
@ -36,11 +36,11 @@ export const SysFileApiAxiosParamCreator = function (configuration?: Configurati
|
||||
/**
|
||||
*
|
||||
* @summary 删除文件 🔖
|
||||
* @param {DeleteFileInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysFileDeletePost: async (body?: DeleteFileInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
apiSysFileDeletePost: async (body?: BaseIdInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysFile/delete`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
||||
@ -755,11 +755,11 @@ export const SysFileApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary 删除文件 🔖
|
||||
* @param {DeleteFileInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysFileDeletePost(body?: DeleteFileInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
async apiSysFileDeletePost(body?: BaseIdInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysFileApiAxiosParamCreator(configuration).apiSysFileDeletePost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
@ -964,11 +964,11 @@ export const SysFileApiFactory = function (configuration?: Configuration, basePa
|
||||
/**
|
||||
*
|
||||
* @summary 删除文件 🔖
|
||||
* @param {DeleteFileInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysFileDeletePost(body?: DeleteFileInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
async apiSysFileDeletePost(body?: BaseIdInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysFileApiFp(configuration).apiSysFileDeletePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@ -1118,12 +1118,12 @@ export class SysFileApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary 删除文件 🔖
|
||||
* @param {DeleteFileInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysFileApi
|
||||
*/
|
||||
public async apiSysFileDeletePost(body?: DeleteFileInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
public async apiSysFileDeletePost(body?: BaseIdInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysFileApiFp(this.configuration).apiSysFileDeletePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
|
||||
@ -17,13 +17,11 @@ import { Configuration } from '../configuration';
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
||||
import { AddUpgradeInput } from '../models';
|
||||
import { AdminNETResultSqlSugarPagedListSysUpgrade } from '../models';
|
||||
import { AdminNETResultSysUpgrade } from '../models';
|
||||
import { DeleteUpgradeInput } from '../models';
|
||||
import { BaseIdInput } from '../models';
|
||||
import { PageUpgradeInput } from '../models';
|
||||
import { UpdateUpgradeInput } from '../models';
|
||||
import { UpgradeInput } from '../models';
|
||||
import { SysUpgrade } from '../models';
|
||||
/**
|
||||
* SysUpgradeApi - axios parameter creator
|
||||
* @export
|
||||
@ -33,11 +31,11 @@ export const SysUpgradeApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary 增加系统更新日志 🔖
|
||||
* @param {AddUpgradeInput} [body]
|
||||
* @param {SysUpgrade} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysUpgradeAddPost: async (body?: AddUpgradeInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
apiSysUpgradeAddPost: async (body?: SysUpgrade, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysUpgrade/add`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
||||
@ -81,11 +79,11 @@ export const SysUpgradeApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary 删除系统更新日志 🔖
|
||||
* @param {DeleteUpgradeInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysUpgradeDeletePost: async (body?: DeleteUpgradeInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
apiSysUpgradeDeletePost: async (body?: BaseIdInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysUpgrade/delete`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
||||
@ -220,11 +218,11 @@ export const SysUpgradeApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary 设置系统更新日志已读状态 🔖
|
||||
* @param {UpgradeInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysUpgradeSetReadPost: async (body?: UpgradeInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
apiSysUpgradeSetReadPost: async (body?: BaseIdInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysUpgrade/setRead`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
||||
@ -268,11 +266,11 @@ export const SysUpgradeApiAxiosParamCreator = function (configuration?: Configur
|
||||
/**
|
||||
*
|
||||
* @summary 更新系统更新日志 🔖
|
||||
* @param {UpdateUpgradeInput} [body]
|
||||
* @param {SysUpgrade} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysUpgradeUpdatePost: async (body?: UpdateUpgradeInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
apiSysUpgradeUpdatePost: async (body?: SysUpgrade, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysUpgrade/update`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
||||
@ -325,11 +323,11 @@ export const SysUpgradeApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary 增加系统更新日志 🔖
|
||||
* @param {AddUpgradeInput} [body]
|
||||
* @param {SysUpgrade} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUpgradeAddPost(body?: AddUpgradeInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
async apiSysUpgradeAddPost(body?: SysUpgrade, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysUpgradeApiAxiosParamCreator(configuration).apiSysUpgradeAddPost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
@ -339,11 +337,11 @@ export const SysUpgradeApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary 删除系统更新日志 🔖
|
||||
* @param {DeleteUpgradeInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUpgradeDeletePost(body?: DeleteUpgradeInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
async apiSysUpgradeDeletePost(body?: BaseIdInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysUpgradeApiAxiosParamCreator(configuration).apiSysUpgradeDeletePost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
@ -380,11 +378,11 @@ export const SysUpgradeApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary 设置系统更新日志已读状态 🔖
|
||||
* @param {UpgradeInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUpgradeSetReadPost(body?: UpgradeInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
async apiSysUpgradeSetReadPost(body?: BaseIdInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysUpgradeApiAxiosParamCreator(configuration).apiSysUpgradeSetReadPost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
@ -394,11 +392,11 @@ export const SysUpgradeApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary 更新系统更新日志 🔖
|
||||
* @param {UpdateUpgradeInput} [body]
|
||||
* @param {SysUpgrade} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUpgradeUpdatePost(body?: UpdateUpgradeInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
async apiSysUpgradeUpdatePost(body?: SysUpgrade, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysUpgradeApiAxiosParamCreator(configuration).apiSysUpgradeUpdatePost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
@ -417,21 +415,21 @@ export const SysUpgradeApiFactory = function (configuration?: Configuration, bas
|
||||
/**
|
||||
*
|
||||
* @summary 增加系统更新日志 🔖
|
||||
* @param {AddUpgradeInput} [body]
|
||||
* @param {SysUpgrade} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUpgradeAddPost(body?: AddUpgradeInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
async apiSysUpgradeAddPost(body?: SysUpgrade, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysUpgradeApiFp(configuration).apiSysUpgradeAddPost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 删除系统更新日志 🔖
|
||||
* @param {DeleteUpgradeInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUpgradeDeletePost(body?: DeleteUpgradeInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
async apiSysUpgradeDeletePost(body?: BaseIdInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysUpgradeApiFp(configuration).apiSysUpgradeDeletePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@ -456,21 +454,21 @@ export const SysUpgradeApiFactory = function (configuration?: Configuration, bas
|
||||
/**
|
||||
*
|
||||
* @summary 设置系统更新日志已读状态 🔖
|
||||
* @param {UpgradeInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUpgradeSetReadPost(body?: UpgradeInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
async apiSysUpgradeSetReadPost(body?: BaseIdInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysUpgradeApiFp(configuration).apiSysUpgradeSetReadPost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 更新系统更新日志 🔖
|
||||
* @param {UpdateUpgradeInput} [body]
|
||||
* @param {SysUpgrade} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUpgradeUpdatePost(body?: UpdateUpgradeInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
async apiSysUpgradeUpdatePost(body?: SysUpgrade, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysUpgradeApiFp(configuration).apiSysUpgradeUpdatePost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
@ -486,23 +484,23 @@ export class SysUpgradeApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary 增加系统更新日志 🔖
|
||||
* @param {AddUpgradeInput} [body]
|
||||
* @param {SysUpgrade} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysUpgradeApi
|
||||
*/
|
||||
public async apiSysUpgradeAddPost(body?: AddUpgradeInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
public async apiSysUpgradeAddPost(body?: SysUpgrade, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysUpgradeApiFp(this.configuration).apiSysUpgradeAddPost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 删除系统更新日志 🔖
|
||||
* @param {DeleteUpgradeInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysUpgradeApi
|
||||
*/
|
||||
public async apiSysUpgradeDeletePost(body?: DeleteUpgradeInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
public async apiSysUpgradeDeletePost(body?: BaseIdInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysUpgradeApiFp(this.configuration).apiSysUpgradeDeletePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
@ -529,23 +527,23 @@ export class SysUpgradeApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary 设置系统更新日志已读状态 🔖
|
||||
* @param {UpgradeInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysUpgradeApi
|
||||
*/
|
||||
public async apiSysUpgradeSetReadPost(body?: UpgradeInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
public async apiSysUpgradeSetReadPost(body?: BaseIdInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysUpgradeApiFp(this.configuration).apiSysUpgradeSetReadPost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 更新系统更新日志 🔖
|
||||
* @param {UpdateUpgradeInput} [body]
|
||||
* @param {SysUpgrade} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysUpgradeApi
|
||||
*/
|
||||
public async apiSysUpgradeUpdatePost(body?: UpdateUpgradeInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
public async apiSysUpgradeUpdatePost(body?: SysUpgrade, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysUpgradeApiFp(this.configuration).apiSysUpgradeUpdatePost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
@ -26,14 +26,14 @@ import { AdminNETResultListSysUserExtOrg } from '../models';
|
||||
import { AdminNETResultSqlSugarPagedListUserOutput } from '../models';
|
||||
import { AdminNETResultString } from '../models';
|
||||
import { AdminNETResultSysUser } from '../models';
|
||||
import { BaseIdInput } from '../models';
|
||||
import { BaseStatusInput } from '../models';
|
||||
import { ChangePwdInput } from '../models';
|
||||
import { DeleteUserInput } from '../models';
|
||||
import { PageUserInput } from '../models';
|
||||
import { ResetPwdUserInput } from '../models';
|
||||
import { SysUser } from '../models';
|
||||
import { UnlockLoginInput } from '../models';
|
||||
import { UpdateUserInput } from '../models';
|
||||
import { UserInput } from '../models';
|
||||
import { UserRoleInput } from '../models';
|
||||
/**
|
||||
* SysUserApi - axios parameter creator
|
||||
@ -473,11 +473,11 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
||||
/**
|
||||
*
|
||||
* @summary 设置用户状态 🔖
|
||||
* @param {UserInput} [body]
|
||||
* @param {BaseStatusInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysUserSetStatusPost: async (body?: UserInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
apiSysUserSetStatusPost: async (body?: BaseStatusInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysUser/setStatus`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
||||
@ -521,11 +521,11 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
||||
/**
|
||||
*
|
||||
* @summary 解除登录锁定 🔖
|
||||
* @param {UnlockLoginInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSysUserUnlockLoginPost: async (body?: UnlockLoginInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
apiSysUserUnlockLoginPost: async (body?: BaseIdInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/sysUser/unlockLogin`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
||||
@ -842,11 +842,11 @@ export const SysUserApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary 设置用户状态 🔖
|
||||
* @param {UserInput} [body]
|
||||
* @param {BaseStatusInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUserSetStatusPost(body?: UserInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultInt32>>> {
|
||||
async apiSysUserSetStatusPost(body?: BaseStatusInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultInt32>>> {
|
||||
const localVarAxiosArgs = await SysUserApiAxiosParamCreator(configuration).apiSysUserSetStatusPost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
@ -856,11 +856,11 @@ export const SysUserApiFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary 解除登录锁定 🔖
|
||||
* @param {UnlockLoginInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUserUnlockLoginPost(body?: UnlockLoginInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
async apiSysUserUnlockLoginPost(body?: BaseIdInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
||||
const localVarAxiosArgs = await SysUserApiAxiosParamCreator(configuration).apiSysUserUnlockLoginPost(body, options);
|
||||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
||||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
||||
@ -1009,21 +1009,21 @@ export const SysUserApiFactory = function (configuration?: Configuration, basePa
|
||||
/**
|
||||
*
|
||||
* @summary 设置用户状态 🔖
|
||||
* @param {UserInput} [body]
|
||||
* @param {BaseStatusInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUserSetStatusPost(body?: UserInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultInt32>> {
|
||||
async apiSysUserSetStatusPost(body?: BaseStatusInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultInt32>> {
|
||||
return SysUserApiFp(configuration).apiSysUserSetStatusPost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 解除登录锁定 🔖
|
||||
* @param {UnlockLoginInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiSysUserUnlockLoginPost(body?: UnlockLoginInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
async apiSysUserUnlockLoginPost(body?: BaseIdInput, options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
||||
return SysUserApiFp(configuration).apiSysUserUnlockLoginPost(body, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
@ -1166,23 +1166,23 @@ export class SysUserApi extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary 设置用户状态 🔖
|
||||
* @param {UserInput} [body]
|
||||
* @param {BaseStatusInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysUserApi
|
||||
*/
|
||||
public async apiSysUserSetStatusPost(body?: UserInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultInt32>> {
|
||||
public async apiSysUserSetStatusPost(body?: BaseStatusInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultInt32>> {
|
||||
return SysUserApiFp(this.configuration).apiSysUserSetStatusPost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @summary 解除登录锁定 🔖
|
||||
* @param {UnlockLoginInput} [body]
|
||||
* @param {BaseIdInput} [body]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SysUserApi
|
||||
*/
|
||||
public async apiSysUserUnlockLoginPost(body?: UnlockLoginInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
public async apiSysUserUnlockLoginPost(body?: BaseIdInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
||||
return SysUserApiFp(this.configuration).apiSysUserUnlockLoginPost(body, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
/**
|
||||
|
||||
@ -1,94 +0,0 @@
|
||||
/* 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 AddUpgradeInput
|
||||
*/
|
||||
export interface AddUpgradeInput {
|
||||
|
||||
/**
|
||||
* 雪花Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddUpgradeInput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AddUpgradeInput
|
||||
*/
|
||||
createTime?: Date;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof AddUpgradeInput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddUpgradeInput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddUpgradeInput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof AddUpgradeInput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddUpgradeInput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof AddUpgradeInput
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
|
||||
/**
|
||||
* 内容
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof AddUpgradeInput
|
||||
*/
|
||||
content: string;
|
||||
}
|
||||
@ -13,18 +13,18 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* 主键Id输入参数
|
||||
*
|
||||
* @export
|
||||
* @interface UpgradeInput
|
||||
* @interface BaseIdInput
|
||||
*/
|
||||
export interface UpgradeInput {
|
||||
export interface BaseIdInput {
|
||||
|
||||
/**
|
||||
* 主键Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpgradeInput
|
||||
* @memberof BaseIdInput
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
@ -14,24 +14,24 @@
|
||||
|
||||
import { StatusEnum } from './status-enum';
|
||||
/**
|
||||
* 设置用户状态输入参数
|
||||
* 设置状态输入参数
|
||||
*
|
||||
* @export
|
||||
* @interface UserInput
|
||||
* @interface BaseStatusInput
|
||||
*/
|
||||
export interface UserInput {
|
||||
export interface BaseStatusInput {
|
||||
|
||||
/**
|
||||
* 主键Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UserInput
|
||||
* @memberof BaseStatusInput
|
||||
*/
|
||||
id: number;
|
||||
|
||||
/**
|
||||
* @type {StatusEnum}
|
||||
* @memberof UserInput
|
||||
* @memberof BaseStatusInput
|
||||
*/
|
||||
status?: StatusEnum;
|
||||
}
|
||||
@ -1,30 +0,0 @@
|
||||
/* 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 DeleteFileInput
|
||||
*/
|
||||
export interface DeleteFileInput {
|
||||
|
||||
/**
|
||||
* 主键Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof DeleteFileInput
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
@ -1,30 +0,0 @@
|
||||
/* 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 DeleteUpgradeInput
|
||||
*/
|
||||
export interface DeleteUpgradeInput {
|
||||
|
||||
/**
|
||||
* 主键Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof DeleteUpgradeInput
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
@ -19,7 +19,6 @@ export * from './add-schedule-input';
|
||||
export * from './add-subscribe-message-template-input';
|
||||
export * from './add-sys-ldap-input';
|
||||
export * from './add-tenant-input';
|
||||
export * from './add-upgrade-input';
|
||||
export * from './add-user-input';
|
||||
export * from './address-family';
|
||||
export * from './admin-netresult-boolean';
|
||||
@ -145,7 +144,9 @@ export * from './aliyun-send-sms-template-input';
|
||||
export * from './amount';
|
||||
export * from './api-output';
|
||||
export * from './assembly';
|
||||
export * from './base-id-input';
|
||||
export * from './base-proc-input';
|
||||
export * from './base-status-input';
|
||||
export * from './batch-config-input';
|
||||
export * from './batch-config-tenant-input';
|
||||
export * from './calendar';
|
||||
@ -199,7 +200,6 @@ export * from './delete-db-column-input';
|
||||
export * from './delete-db-table-input';
|
||||
export * from './delete-dict-data-input';
|
||||
export * from './delete-dict-type-input';
|
||||
export * from './delete-file-input';
|
||||
export * from './delete-job-detail-input';
|
||||
export * from './delete-job-trigger-input';
|
||||
export * from './delete-menu-input';
|
||||
@ -216,7 +216,6 @@ export * from './delete-role-input';
|
||||
export * from './delete-schedule-input';
|
||||
export * from './delete-sys-ldap-input';
|
||||
export * from './delete-tenant-input';
|
||||
export * from './delete-upgrade-input';
|
||||
export * from './delete-user-input';
|
||||
export * from './dict-data-input';
|
||||
export * from './dict-type-input';
|
||||
@ -466,7 +465,6 @@ export * from './trigger-status';
|
||||
export * from './type';
|
||||
export * from './type-attributes';
|
||||
export * from './type-info';
|
||||
export * from './unlock-login-input';
|
||||
export * from './update-code-gen-input';
|
||||
export * from './update-config-input';
|
||||
export * from './update-config-tenant-input';
|
||||
@ -488,11 +486,8 @@ export * from './update-role-input';
|
||||
export * from './update-schedule-input';
|
||||
export * from './update-sys-ldap-input';
|
||||
export * from './update-tenant-input';
|
||||
export * from './update-upgrade-input';
|
||||
export * from './update-user-input';
|
||||
export * from './upgrade-input';
|
||||
export * from './upload-file-from-base64-input';
|
||||
export * from './user-input';
|
||||
export * from './user-menu-input';
|
||||
export * from './user-output';
|
||||
export * from './user-role-input';
|
||||
|
||||
@ -1,30 +0,0 @@
|
||||
/* 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 UnlockLoginInput
|
||||
*/
|
||||
export interface UnlockLoginInput {
|
||||
|
||||
/**
|
||||
* 主键Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UnlockLoginInput
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
@ -1,94 +0,0 @@
|
||||
/* 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 UpdateUpgradeInput
|
||||
*/
|
||||
export interface UpdateUpgradeInput {
|
||||
|
||||
/**
|
||||
* 雪花Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateUpgradeInput
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof UpdateUpgradeInput
|
||||
*/
|
||||
createTime?: Date;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*
|
||||
* @type {Date}
|
||||
* @memberof UpdateUpgradeInput
|
||||
*/
|
||||
updateTime?: Date | null;
|
||||
|
||||
/**
|
||||
* 创建者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateUpgradeInput
|
||||
*/
|
||||
createUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 创建者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateUpgradeInput
|
||||
*/
|
||||
createUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 修改者Id
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof UpdateUpgradeInput
|
||||
*/
|
||||
updateUserId?: number | null;
|
||||
|
||||
/**
|
||||
* 修改者姓名
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateUpgradeInput
|
||||
*/
|
||||
updateUserName?: string | null;
|
||||
|
||||
/**
|
||||
* 软删除
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof UpdateUpgradeInput
|
||||
*/
|
||||
isDelete?: boolean;
|
||||
|
||||
/**
|
||||
* 内容
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof UpdateUpgradeInput
|
||||
*/
|
||||
content: string;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user