winform
This commit is contained in:
1 parent
1e125254eb
commit
a785f1429b
21 files changed
+191
-487
No files matched your search
@@ -30,13 +30,13 @@
|
|||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
|
||||||
<PackageReference Include="ClosedXML" Version="0.102.1" />
|
<PackageReference Include="ClosedXML" Version="0.102.1" />
|
||||||
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
|
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -1,87 +0,0 @@
|
|||||||
|
|
||||||
using CloudBuilder.Core.DependencyInjection.Request;
|
|
||||||
using CloudBuilder.Core.Request;
|
|
||||||
using CloudBuilder.Core.Service;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using CloudBuilder.AI.Service;
|
|
||||||
using CloudBuilder.Core.DatabaseAccessor.Entity;
|
|
||||||
using CloudBuilder.AI.Data;
|
|
||||||
using System;
|
|
||||||
using CloudBuilder.AI.Entity;
|
|
||||||
using CloudBuilder.AI.SearchCriteria;
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
|
|
||||||
namespace CloudBuilder.Request.AI
|
|
||||||
{
|
|
||||||
|
|
||||||
public class AiBookRequest : IRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
private readonly IServiceRequest serviceRequest;
|
|
||||||
public AiBookRequest(IServiceRequest serviceRequest)
|
|
||||||
{
|
|
||||||
this.serviceRequest = serviceRequest;
|
|
||||||
}
|
|
||||||
|
|
||||||
public AiBookData FindByKey(string key)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiBookData>("/AiBook/FindByKey?key=" + key.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public AiBookEntity FindByTitle(string title)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiBookEntity>("/AiBook/FindByTitle?title=" + title.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public AiBookResultData FindBySearchCriteria(AiBookSearchCriteria criteria)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiBookSearchCriteria,AiBookResultData>("/AiBook/FindBySearchCriteria" , criteria)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public AiBookData Insert(AiBookData data)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiBookData,AiBookData>("/AiBook/Insert" , data)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public AiBookData Update(AiBookData data)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiBookData,AiBookData>("/AiBook/Update" , data)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void Delete(string key)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsync("/AiBook/Delete?key=" + key.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void Deletes(string[] keys)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsJsonAsync<string[],dynamic>("/AiBook/Deletes" , keys)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
|
|
||||||
public class ProcessBookCompositionData3 {
|
|
||||||
public string key { get; set; }
|
|
||||||
public string encoding { get; set; }
|
|
||||||
public string pattern { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
public AiBookData ProcessBook(string key, string encoding, string pattern)
|
|
||||||
{
|
|
||||||
var compositionData = new ProcessBookCompositionData3{ ␍key = key, ␍encoding = encoding, ␍pattern = pattern }; ␍return Task.Run(() => serviceRequest.PostAsJsonAsync<ProcessBookCompositionData3, AiBookData>("/AiBook/ProcessBook", compositionData)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public IActionResult GetMp3Stream(AiSentenceViewEntity aiSentence)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiSentenceViewEntity,IActionResult>("/AiBook/GetMp3Stream" , aiSentence)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void GenerateMp3(AiChapterEntity[] chapters)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsJsonAsync<AiChapterEntity[],dynamic>("/AiBook/GenerateMp3" , chapters)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void GenerateMp3ByBookId(string bookId)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsync("/AiBook/GenerateMp3ByBookId?bookId=" + bookId.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void PackPersonNameByBookId(string bookId)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsync("/AiBook/PackPersonNameByBookId?bookId=" + bookId.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void PackPersonName(AiChapterEntity[] chapters)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsJsonAsync<AiChapterEntity[],dynamic>("/AiBook/PackPersonName" , chapters)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
|
|
||||||
using CloudBuilder.Core.DependencyInjection.Request;
|
|
||||||
using CloudBuilder.Core.Request;
|
|
||||||
using CloudBuilder.Core.Service;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using CloudBuilder.AI.Service;
|
|
||||||
using CloudBuilder.Core.DatabaseAccessor.Entity;
|
|
||||||
using CloudBuilder.AI.Data;
|
|
||||||
using System;
|
|
||||||
using CloudBuilder.AI.Entity;
|
|
||||||
using CloudBuilder.AI.SearchCriteria;
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
using CloudBuilder.AI;
|
|
||||||
|
|
||||||
namespace CloudBuilder.Request.AI
|
|
||||||
{
|
|
||||||
|
|
||||||
public class AiChapterRequest : IRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
private readonly IServiceRequest serviceRequest;
|
|
||||||
public AiChapterRequest(IServiceRequest serviceRequest)
|
|
||||||
{
|
|
||||||
this.serviceRequest = serviceRequest;
|
|
||||||
}
|
|
||||||
|
|
||||||
public AiChapterEntity FindByKey(AiChapterEntityKey key)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiChapterEntityKey,AiChapterEntity>("/AiChapter/FindByKey" , key)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public AiChapterResultData FindBySearchCriteria(AiChapterSearchCriteria criteria)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiChapterSearchCriteria,AiChapterResultData>("/AiChapter/FindBySearchCriteria" , criteria)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public AiChapterEntity Insert(AiChapterEntity data)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiChapterEntity,AiChapterEntity>("/AiChapter/Insert" , data)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public AiChapterEntity Update(AiChapterEntity data)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiChapterEntity,AiChapterEntity>("/AiChapter/Update" , data)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void Delete(AiChapterEntityKey key)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsJsonAsync<AiChapterEntityKey,dynamic>("/AiChapter/Delete" , key)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
|
|
||||||
using CloudBuilder.Core.DependencyInjection.Request;
|
|
||||||
using CloudBuilder.Core.Request;
|
|
||||||
using CloudBuilder.Core.Service;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using CloudBuilder.AI.Service;
|
|
||||||
using CloudBuilder.Core.DatabaseAccessor.Entity;
|
|
||||||
using CloudBuilder.AI.Data;
|
|
||||||
using System;
|
|
||||||
using CloudBuilder.AI.Entity;
|
|
||||||
using CloudBuilder.AI.SearchCriteria;
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
using CloudBuilder.AI;
|
|
||||||
|
|
||||||
namespace CloudBuilder.Request.AI
|
|
||||||
{
|
|
||||||
|
|
||||||
public class AiSentenceRequest : IRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
private readonly IServiceRequest serviceRequest;
|
|
||||||
public AiSentenceRequest(IServiceRequest serviceRequest)
|
|
||||||
{
|
|
||||||
this.serviceRequest = serviceRequest;
|
|
||||||
}
|
|
||||||
|
|
||||||
public AiSentenceEntity FindByKey(Int64 key)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiSentenceEntity>("/AiSentence/FindByKey?key=" + key.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
|
|
||||||
public class FindByChapterIdCompositionData2 {
|
|
||||||
public string bookId { get; set; }
|
|
||||||
public Int64 chapterId { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
public AiSentenceViewEntity[] FindByChapterId(string bookId, Int64 chapterId)
|
|
||||||
{
|
|
||||||
var compositionData = new FindByChapterIdCompositionData2{ ␍bookId = bookId, ␍chapterId = chapterId }; ␍return Task.Run(() => serviceRequest.PostAsJsonAsync<FindByChapterIdCompositionData2, AiSentenceViewEntity[]>("/AiSentence/FindByChapterId", compositionData)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public AiSentenceViewResultData FindBySearchCriteria(AiSentenceSearchCriteria criteria)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiSentenceSearchCriteria,AiSentenceViewResultData>("/AiSentence/FindBySearchCriteria" , criteria)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public AiSentenceEntity Insert(AiSentenceEntity data)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiSentenceEntity,AiSentenceEntity>("/AiSentence/Insert" , data)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void Inserts(AiSentenceEntity[] datas)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsJsonAsync<AiSentenceEntity[],dynamic>("/AiSentence/Inserts" , datas)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public AiSentenceEntity Update(AiSentenceEntity data)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<AiSentenceEntity,AiSentenceEntity>("/AiSentence/Update" , data)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void Delete(Int64 key)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsync("/AiSentence/Delete?key=" + key.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,106 +0,0 @@
|
|||||||
|
|
||||||
using CloudBuilder.Core.DependencyInjection.Request;
|
|
||||||
using CloudBuilder.Core.Request;
|
|
||||||
using CloudBuilder.Core.Service;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using CloudBuilder.AI.Service;
|
|
||||||
using CloudBuilder.Core.DatabaseAccessor.Entity;
|
|
||||||
using CloudBuilder.AI.Data;
|
|
||||||
using System;
|
|
||||||
using CloudBuilder.AI.Entity;
|
|
||||||
using CloudBuilder.AI.SearchCriteria;
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
using CloudBuilder.AI;
|
|
||||||
using Microsoft.AspNetCore.Http;
|
|
||||||
|
|
||||||
namespace CloudBuilder.Request.AI
|
|
||||||
{
|
|
||||||
|
|
||||||
public class DmsFileRequest : IRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
private readonly IServiceRequest serviceRequest;
|
|
||||||
public DmsFileRequest(IServiceRequest serviceRequest)
|
|
||||||
{
|
|
||||||
this.serviceRequest = serviceRequest;
|
|
||||||
}
|
|
||||||
|
|
||||||
public DmsFileEntity FindByKey(Int32 key)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFileEntity>("/DmsFile/FindByKey?key=" + key.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public DmsFileResultData FindBySearchCriteria(DmsFileSearchCriteria criteria)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFileSearchCriteria,DmsFileResultData>("/DmsFile/FindBySearchCriteria" , criteria)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public DmsFileResultData FindDatasBySearchCriteria(DmsFileSearchCriteria criteria)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFileSearchCriteria,DmsFileResultData>("/DmsFile/FindDatasBySearchCriteria" , criteria)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public dynamic PrintBySearchCriteria(DmsFileSearchCriteria criteria)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFileSearchCriteria,dynamic>("/DmsFile/PrintBySearchCriteria" , criteria)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public DmsFileEntity Insert(DmsFileEntity data)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFileEntity,DmsFileEntity>("/DmsFile/Insert" , data)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public DmsFileEntity Update(DmsFileEntity data)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFileEntity,DmsFileEntity>("/DmsFile/Update" , data)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void Delete(Int32 key)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsync("/DmsFile/Delete?key=" + key.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public string GetFolderName(string folderLocalName)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<string>("/DmsFile/GetFolderName?folderLocalName=" + folderLocalName.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public string CreateDmsFolder(DmsFileEntity dmsFile)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFileEntity,string>("/DmsFile/CreateDmsFolder" , dmsFile)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public DmsFileEntity UpdateDmsFolder(DmsFileEntity dmsFile)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFileEntity,DmsFileEntity>("/DmsFile/UpdateDmsFolder" , dmsFile)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public SelectOption[] FindDmsFolders()
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<SelectOption[]> ("/DmsFile/FindDmsFolders")).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public DmsFolderTreeData FindDmsFolderTreeData()
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFolderTreeData> ("/DmsFile/FindDmsFolderTreeData")).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public void MoveDmsFolder(DmsFileEntity dmsFile)
|
|
||||||
{
|
|
||||||
Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFileEntity,dynamic>("/DmsFile/MoveDmsFolder" , dmsFile)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public BookDmsFileViewEntity UploadFile()
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<BookDmsFileViewEntity> ("/DmsFile/UploadFile")).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public dynamic DownloadFile(Int32 fileId)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<dynamic>("/DmsFile/DownloadFile?fileId=" + fileId.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public dynamic DownloadFilePreview(DmsFileEntity dmsFile)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<DmsFileEntity,dynamic>("/DmsFile/DownloadFilePreview" , dmsFile)).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public dynamic DownloadFileCombine(string fileName)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<dynamic>("/DmsFile/DownloadFileCombine?fileName=" + fileName.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public Int32 FindDmsFolderMapByFolderName(string folderName)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<Int32>("/DmsFile/FindDmsFolderMapByFolderName?folderName=" + folderName.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
public string FindFolderNameParentByFolderName(string folderName)
|
|
||||||
{
|
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<string>("/DmsFile/FindFolderNameParentByFolderName?folderName=" + folderName.ToString())).GetAwaiter().GetResult(); }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -7,9 +7,6 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="CloudBuilder.AI">
|
|
||||||
<HintPath>..\CloudBuilder.AI\bin\Debug\net8.0\CloudBuilder.AI.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="CloudBuilder.Core">
|
<Reference Include="CloudBuilder.Core">
|
||||||
<HintPath>..\CloudBuilder.Core\bin\Debug\net8.0\CloudBuilder.Core.dll</HintPath>
|
<HintPath>..\CloudBuilder.Core\bin\Debug\net8.0\CloudBuilder.Core.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
@@ -19,21 +16,27 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Fido2" Version="4.0.1" />
|
||||||
|
<PackageReference Include="Fido2.AspNet" Version="4.0.1" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="8.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="8.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
|
|
||||||
<PackageReference Include="ClosedXML" Version="0.102.1" />
|
<PackageReference Include="ClosedXML" Version="0.102.1" />
|
||||||
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
|
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
|
||||||
|
<PackageReference Include="ClosedXML" Version="0.102.1" />
|
||||||
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
||||||
|
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.0" />
|
||||||
|
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ using CloudBuilder.Security.Service;
|
|||||||
using CloudBuilder.Security.SearchCriteria;
|
using CloudBuilder.Security.SearchCriteria;
|
||||||
using CloudBuilder.Security;
|
using CloudBuilder.Security;
|
||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
|
using Fido2NetLib;
|
||||||
|
|
||||||
namespace CloudBuilder.Request.Security
|
namespace CloudBuilder.Request.Security
|
||||||
{
|
{
|
||||||
@@ -32,9 +33,9 @@ this.serviceRequest = serviceRequest;
|
|||||||
{
|
{
|
||||||
return Task.Run(() => serviceRequest.PostAsJsonAsync<SelectOption[]>("/YesNoPolicy/FindSelectOption?blank=" + blank.ToString())).GetAwaiter().GetResult(); }
|
return Task.Run(() => serviceRequest.PostAsJsonAsync<SelectOption[]>("/YesNoPolicy/FindSelectOption?blank=" + blank.ToString())).GetAwaiter().GetResult(); }
|
||||||
|
|
||||||
public void Copy()
|
public dynamic Copy()
|
||||||
{
|
{
|
||||||
return Task.Run(() => serviceRequest.GetAsync<Void>("/YesNoPolicy/Copy")).GetAwaiter().GetResult(); }
|
return Task.Run(() => serviceRequest.GetAsync<dynamic>("/YesNoPolicy/Copy")).GetAwaiter().GetResult(); }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ namespace CloudBuilder.Security.Service
|
|||||||
|
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public void Copy()
|
public dynamic Copy()
|
||||||
{
|
{
|
||||||
repository.ChangeSecondaryDatabase();
|
repository.ChangeSecondaryDatabase();
|
||||||
repositorySecurityUser.ChangeSecondaryDatabase();
|
repositorySecurityUser.ChangeSecondaryDatabase();
|
||||||
@@ -190,6 +190,8 @@ namespace CloudBuilder.Security.Service
|
|||||||
{
|
{
|
||||||
secDbCtx.SkipAudit = false;
|
secDbCtx.SkipAudit = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return string.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -11,6 +11,6 @@ namespace CloudBuilder.Security.Service
|
|||||||
{
|
{
|
||||||
SelectOption[] FindSelectOption(bool blank);
|
SelectOption[] FindSelectOption(bool blank);
|
||||||
|
|
||||||
void Copy();
|
dynamic Copy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+3
-3
@@ -17,6 +17,7 @@ using CloudBuilder.Security.Service;
|
|||||||
using CloudBuilder.Security.SearchCriteria;
|
using CloudBuilder.Security.SearchCriteria;
|
||||||
using CloudBuilder.Security;
|
using CloudBuilder.Security;
|
||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
|
using Fido2NetLib;
|
||||||
|
|
||||||
namespace CloudBuilder.Web.Entry.Controllers.Security
|
namespace CloudBuilder.Web.Entry.Controllers.Security
|
||||||
{
|
{
|
||||||
@@ -61,9 +62,8 @@ this.yesNoPolicyService= yesNoPolicyService;
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
yesNoPolicyService.Copy();
|
var result = yesNoPolicyService.Copy();
|
||||||
|
return result;
|
||||||
return string.Empty;
|
|
||||||
}
|
}
|
||||||
catch (ValidatedException vex)
|
catch (ValidatedException vex)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ if (!string.IsNullOrEmpty(physicalDir))
|
|||||||
{
|
{
|
||||||
app.UseStaticFiles(new StaticFileOptions()
|
app.UseStaticFiles(new StaticFileOptions()
|
||||||
{
|
{
|
||||||
FileProvider = new PhysicalFileProvider(app.Configuration["FileServiceSettings:PhysicalFileDirectory"]),
|
FileProvider = new PhysicalFileProvider(physicalDir),
|
||||||
RequestPath = app.Configuration["FileServiceSettings:RequestPath"],
|
RequestPath = app.Configuration["FileServiceSettings:RequestPath"],
|
||||||
ContentTypeProvider = provider
|
ContentTypeProvider = provider
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -10,16 +10,16 @@
|
|||||||
"DbContexts": {
|
"DbContexts": {
|
||||||
"MasterDbContext": {
|
"MasterDbContext": {
|
||||||
"DbContextTypeName": "MasterDbContext",
|
"DbContextTypeName": "MasterDbContext",
|
||||||
"ConnectionString": "server=nas.youjiala.com;port=3307;database=Furion;uid=root;pwd=Root@1237890;CharSet=utf8mb4;",
|
"ConnectionString": "Server=localhost\\SQLEXPRESS;Database=Furion;User=sa;Password=owen123456;MultipleActiveResultSets=True;TrustServerCertificate=true",
|
||||||
"DatabaseType": "MySql",
|
"DatabaseType": "SqlServer",
|
||||||
"LazyLoadingProxiesEnabled": true,
|
"LazyLoadingProxiesEnabled": true,
|
||||||
"AuditEntityEnabled": true,
|
"AuditEntityEnabled": true,
|
||||||
"AutoMigrationEnabled": true
|
"AutoMigrationEnabled": true
|
||||||
},
|
},
|
||||||
"SecondaryDbContext": {
|
"SecondaryDbContext": {
|
||||||
"DbContextTypeName": "SecondaryDbContext",
|
"DbContextTypeName": "SecondaryDbContext",
|
||||||
"ConnectionString": "Server=localhost\\SQLEXPRESS;Database=Furion;User=sa;Password=owen123456;MultipleActiveResultSets=True;TrustServerCertificate=true",
|
"ConnectionString": "server=nas.youjiala.com;port=3307;database=Furion;uid=root;pwd=Root@1237890;CharSet=utf8mb4;",
|
||||||
"DatabaseType": "SqlServer",
|
"DatabaseType": "MySql",
|
||||||
"LazyLoadingProxiesEnabled": true,
|
"LazyLoadingProxiesEnabled": true,
|
||||||
"AuditEntityEnabled": true,
|
"AuditEntityEnabled": true,
|
||||||
"AutoMigrationEnabled": true
|
"AutoMigrationEnabled": true
|
||||||
|
|||||||
@@ -9,14 +9,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.Security.Gui",
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.Request", "CloudBuilder.Request\CloudBuilder.Request.csproj", "{6CB84CF4-7E06-780D-C061-2A8284878458}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.Request", "CloudBuilder.Request\CloudBuilder.Request.csproj", "{6CB84CF4-7E06-780D-C061-2A8284878458}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.AI.Gui", "CloudBuilder.AI.Gui\CloudBuilder.AI.Gui.csproj", "{DCB1153B-908A-F08B-0191-DE1DF5A7309D}"
|
|
||||||
EndProject
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.Gui", "CloudBuilder.Gui\CloudBuilder.Gui.csproj", "{8EFE6D03-160F-4F1F-8E23-1CDDF98AD064}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.Gui", "CloudBuilder.Gui\CloudBuilder.Gui.csproj", "{8EFE6D03-160F-4F1F-8E23-1CDDF98AD064}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.AI", "CloudBuilder.AI\CloudBuilder.AI.csproj", "{8C849E66-BEC0-F09D-791F-FB353DA7DBE7}"
|
|
||||||
EndProject
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.AI.Service", "CloudBuilder.AI.Service\CloudBuilder.AI.Service.csproj", "{5767BF2F-70B3-4FF6-CB85-9C0F8F0C8612}"
|
|
||||||
EndProject
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.Security", "CloudBuilder.Security\CloudBuilder.Security.csproj", "{269A5036-BAE9-FD61-1DD5-0EA93B79F0D7}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.Security", "CloudBuilder.Security\CloudBuilder.Security.csproj", "{269A5036-BAE9-FD61-1DD5-0EA93B79F0D7}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.Core", "CloudBuilder.Core\CloudBuilder.Core.csproj", "{AFA9D41C-E8A5-32D3-E81B-2ABA7C37D46C}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudBuilder.Core", "CloudBuilder.Core\CloudBuilder.Core.csproj", "{AFA9D41C-E8A5-32D3-E81B-2ABA7C37D46C}"
|
||||||
@@ -39,22 +33,10 @@ Global
|
|||||||
{6CB84CF4-7E06-780D-C061-2A8284878458}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{6CB84CF4-7E06-780D-C061-2A8284878458}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{6CB84CF4-7E06-780D-C061-2A8284878458}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{6CB84CF4-7E06-780D-C061-2A8284878458}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{6CB84CF4-7E06-780D-C061-2A8284878458}.Release|Any CPU.Build.0 = Release|Any CPU
|
{6CB84CF4-7E06-780D-C061-2A8284878458}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{DCB1153B-908A-F08B-0191-DE1DF5A7309D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{DCB1153B-908A-F08B-0191-DE1DF5A7309D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{DCB1153B-908A-F08B-0191-DE1DF5A7309D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{DCB1153B-908A-F08B-0191-DE1DF5A7309D}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{8EFE6D03-160F-4F1F-8E23-1CDDF98AD064}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{8EFE6D03-160F-4F1F-8E23-1CDDF98AD064}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{8EFE6D03-160F-4F1F-8E23-1CDDF98AD064}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{8EFE6D03-160F-4F1F-8E23-1CDDF98AD064}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{8EFE6D03-160F-4F1F-8E23-1CDDF98AD064}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{8EFE6D03-160F-4F1F-8E23-1CDDF98AD064}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{8EFE6D03-160F-4F1F-8E23-1CDDF98AD064}.Release|Any CPU.Build.0 = Release|Any CPU
|
{8EFE6D03-160F-4F1F-8E23-1CDDF98AD064}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{8C849E66-BEC0-F09D-791F-FB353DA7DBE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{8C849E66-BEC0-F09D-791F-FB353DA7DBE7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{8C849E66-BEC0-F09D-791F-FB353DA7DBE7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{8C849E66-BEC0-F09D-791F-FB353DA7DBE7}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{5767BF2F-70B3-4FF6-CB85-9C0F8F0C8612}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{5767BF2F-70B3-4FF6-CB85-9C0F8F0C8612}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{5767BF2F-70B3-4FF6-CB85-9C0F8F0C8612}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{5767BF2F-70B3-4FF6-CB85-9C0F8F0C8612}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{269A5036-BAE9-FD61-1DD5-0EA93B79F0D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{269A5036-BAE9-FD61-1DD5-0EA93B79F0D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{269A5036-BAE9-FD61-1DD5-0EA93B79F0D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{269A5036-BAE9-FD61-1DD5-0EA93B79F0D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{269A5036-BAE9-FD61-1DD5-0EA93B79F0D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{269A5036-BAE9-FD61-1DD5-0EA93B79F0D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
|||||||
@@ -18,12 +18,6 @@
|
|||||||
</Content>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="CloudBuilder.AI">
|
|
||||||
<HintPath>..\CloudBuilder.AI\bin\Debug\net8.0\CloudBuilder.AI.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="CloudBuilder.AI.Gui">
|
|
||||||
<HintPath>..\CloudBuilder.AI.Gui\bin\Debug\net8.0-windows\CloudBuilder.AI.Gui.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="CloudBuilder.Core">
|
<Reference Include="CloudBuilder.Core">
|
||||||
<HintPath>..\CloudBuilder.Core\bin\Debug\net8.0\CloudBuilder.Core.dll</HintPath>
|
<HintPath>..\CloudBuilder.Core\bin\Debug\net8.0\CloudBuilder.Core.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
@@ -41,6 +35,8 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Fido2" Version="4.0.1" />
|
||||||
|
<PackageReference Include="Fido2.AspNet" Version="4.0.1" />
|
||||||
<PackageReference Include="Krypton.Docking" Version="85.24.10.288" />
|
<PackageReference Include="Krypton.Docking" Version="85.24.10.288" />
|
||||||
<PackageReference Include="Krypton.Navigator" Version="85.24.10.288" />
|
<PackageReference Include="Krypton.Navigator" Version="85.24.10.288" />
|
||||||
<PackageReference Include="Krypton.Ribbon" Version="85.24.10.288" />
|
<PackageReference Include="Krypton.Ribbon" Version="85.24.10.288" />
|
||||||
@@ -52,17 +48,19 @@
|
|||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
|
||||||
<PackageReference Include="ClosedXML" Version="0.102.1" />
|
<PackageReference Include="ClosedXML" Version="0.102.1" />
|
||||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.3351.48" />
|
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.3351.48" />
|
||||||
<PackageReference Include="NAudio" Version="2.3.0" />
|
<PackageReference Include="NAudio" Version="2.3.0" />
|
||||||
<PackageReference Include="NAudio.Core" Version="2.3.0" />
|
<PackageReference Include="NAudio.Core" Version="2.3.0" />
|
||||||
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
|
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
|
||||||
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
||||||
|
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -7,11 +7,19 @@
|
|||||||
"DbContexts": {
|
"DbContexts": {
|
||||||
"MasterDbContext": {
|
"MasterDbContext": {
|
||||||
"DbContextTypeName": "MasterDbContext",
|
"DbContextTypeName": "MasterDbContext",
|
||||||
"ConnectionString": "Server=localhost\\SQLEXPRESS;Database=Furion_dev;User=sa;Password=owen123456;MultipleActiveResultSets=True;TrustServerCertificate=true",
|
"ConnectionString": "Server=localhost\\SQLEXPRESS;Database=Furion;User=sa;Password=owen123456;MultipleActiveResultSets=True;TrustServerCertificate=true",
|
||||||
"DatabaseType": "SqlServer",
|
"DatabaseType": "SqlServer",
|
||||||
"LazyLoadingProxiesEnabled": true,
|
"LazyLoadingProxiesEnabled": true,
|
||||||
"AuditEntityEnabled": true,
|
"AuditEntityEnabled": true,
|
||||||
"AutoMigrationEnabled": true
|
"AutoMigrationEnabled": true
|
||||||
|
},
|
||||||
|
"SecondaryDbContext": {
|
||||||
|
"DbContextTypeName": "SecondaryDbContext",
|
||||||
|
"ConnectionString": "server=nas.youjiala.com;port=3307;database=Furion;uid=root;pwd=Root@1237890;CharSet=utf8mb4;",
|
||||||
|
"DatabaseType": "MySql",
|
||||||
|
"LazyLoadingProxiesEnabled": true,
|
||||||
|
"AuditEntityEnabled": true,
|
||||||
|
"AutoMigrationEnabled": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ServiceRequest": {
|
"ServiceRequest": {
|
||||||
|
|||||||
@@ -38,6 +38,11 @@
|
|||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="9.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="8.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="8.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
|
||||||
|
<PackageReference Include="ClosedXML" Version="0.102.1" />
|
||||||
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
||||||
|
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.0" />
|
||||||
|
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<ToolInitConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
<ToolInitConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
<TemplatePath>D:\NET8\Templates</TemplatePath>
|
<TemplatePath>D:\Docker\Templates</TemplatePath>
|
||||||
<CurrentAssembly>CloudBuilder.AI</CurrentAssembly>
|
<CurrentAssembly>CloudBuilder.AI</CurrentAssembly>
|
||||||
<Using>
|
<Using>
|
||||||
@using CloudBuilder.CodeGenerator.Config;
|
@using CloudBuilder.CodeGenerator.Config;
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>Request</TemplateType>
|
<TemplateType>Request</TemplateType>
|
||||||
<TemplateFileName>Request.cshtml</TemplateFileName>
|
<TemplateFileName>Request.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Request\AI</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Request\AI</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Request</Assembly>
|
<Assembly>CloudBuilder.Request</Assembly>
|
||||||
<Namespace>CloudBuilder.Request.AI</Namespace>
|
<Namespace>CloudBuilder.Request.AI</Namespace>
|
||||||
<FileNameSuffix>Request.auto.cs</FileNameSuffix>
|
<FileNameSuffix>Request.auto.cs</FileNameSuffix>
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>Entity</TemplateType>
|
<TemplateType>Entity</TemplateType>
|
||||||
<TemplateFileName>IEntity.cshtml</TemplateFileName>
|
<TemplateFileName>IEntity.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.AI\Entity</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.AI\Entity</OutFilePath>
|
||||||
<Assembly>CloudBuilder.AI</Assembly>
|
<Assembly>CloudBuilder.AI</Assembly>
|
||||||
<Namespace>CloudBuilder.AI</Namespace>
|
<Namespace>CloudBuilder.AI</Namespace>
|
||||||
<FileNameSuffix>Entity.auto.cs</FileNameSuffix>
|
<FileNameSuffix>Entity.auto.cs</FileNameSuffix>
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>IEntityKey</TemplateType>
|
<TemplateType>IEntityKey</TemplateType>
|
||||||
<TemplateFileName>IEntityKey.cshtml</TemplateFileName>
|
<TemplateFileName>IEntityKey.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.AI\Entity</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.AI\Entity</OutFilePath>
|
||||||
<Assembly>CloudBuilder.AI</Assembly>
|
<Assembly>CloudBuilder.AI</Assembly>
|
||||||
<Namespace>CloudBuilder.AI</Namespace>
|
<Namespace>CloudBuilder.AI</Namespace>
|
||||||
<FileNameSuffix>EntityKey.auto.cs</FileNameSuffix>
|
<FileNameSuffix>EntityKey.auto.cs</FileNameSuffix>
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>IService</TemplateType>
|
<TemplateType>IService</TemplateType>
|
||||||
<TemplateFileName>IService.cshtml</TemplateFileName>
|
<TemplateFileName>IService.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.AI\Service</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.AI\Service</OutFilePath>
|
||||||
<Assembly>CloudBuilder.AI</Assembly>
|
<Assembly>CloudBuilder.AI</Assembly>
|
||||||
<Namespace>CloudBuilder.AI</Namespace>
|
<Namespace>CloudBuilder.AI</Namespace>
|
||||||
<FileNameSuffix>Service.auto.cs</FileNameSuffix>
|
<FileNameSuffix>Service.auto.cs</FileNameSuffix>
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>Permission</TemplateType>
|
<TemplateType>Permission</TemplateType>
|
||||||
<TemplateFileName>Permission.cshtml</TemplateFileName>
|
<TemplateFileName>Permission.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.AI\Policy</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.AI\Policy</OutFilePath>
|
||||||
<Assembly>CloudBuilder.AI</Assembly>
|
<Assembly>CloudBuilder.AI</Assembly>
|
||||||
<Namespace>CloudBuilder.AI</Namespace>
|
<Namespace>CloudBuilder.AI</Namespace>
|
||||||
<FileNameSuffix>PermissionPolicy.auto.cs</FileNameSuffix>
|
<FileNameSuffix>PermissionPolicy.auto.cs</FileNameSuffix>
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>RegistEntity</TemplateType>
|
<TemplateType>RegistEntity</TemplateType>
|
||||||
<TemplateFileName>RegistEntity.cshtml</TemplateFileName>
|
<TemplateFileName>RegistEntity.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.AI\Entity</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.AI\Entity</OutFilePath>
|
||||||
<Assembly>CloudBuilder.AI</Assembly>
|
<Assembly>CloudBuilder.AI</Assembly>
|
||||||
<Namespace>CloudBuilder.AI</Namespace>
|
<Namespace>CloudBuilder.AI</Namespace>
|
||||||
<FileNameSuffix>RegistEntity.auto.cs</FileNameSuffix>
|
<FileNameSuffix>RegistEntity.auto.cs</FileNameSuffix>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>SearchCriteria</TemplateType>
|
<TemplateType>SearchCriteria</TemplateType>
|
||||||
<TemplateFileName>SearchCriteria.cshtml</TemplateFileName>
|
<TemplateFileName>SearchCriteria.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.AI\SearchCriteria</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.AI\SearchCriteria</OutFilePath>
|
||||||
<Assembly>CloudBuilder.AI</Assembly>
|
<Assembly>CloudBuilder.AI</Assembly>
|
||||||
<Namespace>CloudBuilder.AI</Namespace>
|
<Namespace>CloudBuilder.AI</Namespace>
|
||||||
<FileNameSuffix>SearchCriteria.auto.cs</FileNameSuffix>
|
<FileNameSuffix>SearchCriteria.auto.cs</FileNameSuffix>
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>Service</TemplateType>
|
<TemplateType>Service</TemplateType>
|
||||||
<TemplateFileName>Service.cshtml</TemplateFileName>
|
<TemplateFileName>Service.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.AI.Service</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.AI.Service</OutFilePath>
|
||||||
<Assembly>CloudBuilder.AI</Assembly>
|
<Assembly>CloudBuilder.AI</Assembly>
|
||||||
<Namespace>CloudBuilder.AI</Namespace>
|
<Namespace>CloudBuilder.AI</Namespace>
|
||||||
<FileNameSuffix>Service.auto.cs</FileNameSuffix>
|
<FileNameSuffix>Service.auto.cs</FileNameSuffix>
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>TypeScript</TemplateType>
|
<TemplateType>TypeScript</TemplateType>
|
||||||
<TemplateFileName>TypeScript.cshtml</TemplateFileName>
|
<TemplateFileName>TypeScript.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\WebVue\src\data\auto</OutFilePath>
|
<OutFilePath>D:\Docker\WebVue\src\data\auto</OutFilePath>
|
||||||
<Assembly>CloudBuilder.AI</Assembly>
|
<Assembly>CloudBuilder.AI</Assembly>
|
||||||
<Namespace>CloudBuilder.AI</Namespace>
|
<Namespace>CloudBuilder.AI</Namespace>
|
||||||
<FileNameSuffix>.ts</FileNameSuffix>
|
<FileNameSuffix>.ts</FileNameSuffix>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>Controller</TemplateType>
|
<TemplateType>Controller</TemplateType>
|
||||||
<TemplateFileName>Controller.cshtml</TemplateFileName>
|
<TemplateFileName>Controller.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Web.Entry\Controllers\Ai</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Web.Entry\Controllers\Ai</OutFilePath>
|
||||||
<Assembly>CloudBuilder.AI.Service</Assembly>
|
<Assembly>CloudBuilder.AI.Service</Assembly>
|
||||||
<Namespace>CloudBuilder.Web.Entry.Controllers.Ai</Namespace>
|
<Namespace>CloudBuilder.Web.Entry.Controllers.Ai</Namespace>
|
||||||
<FileNameSuffix>Controller.auto.cs</FileNameSuffix>
|
<FileNameSuffix>Controller.auto.cs</FileNameSuffix>
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>TypeScriptService</TemplateType>
|
<TemplateType>TypeScriptService</TemplateType>
|
||||||
<TemplateFileName>TypeScriptService.cshtml</TemplateFileName>
|
<TemplateFileName>TypeScriptService.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\WebVue\src\service\Ai</OutFilePath>
|
<OutFilePath>D:\Docker\WebVue\src\service\Ai</OutFilePath>
|
||||||
<Assembly>CloudBuilder.AI.Service</Assembly>
|
<Assembly>CloudBuilder.AI.Service</Assembly>
|
||||||
<Namespace>CloudBuilder.Web.Entry.Controllers.Ai</Namespace>
|
<Namespace>CloudBuilder.Web.Entry.Controllers.Ai</Namespace>
|
||||||
<FileNameSuffix>.ts</FileNameSuffix>
|
<FileNameSuffix>.ts</FileNameSuffix>
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>Request</TemplateType>
|
<TemplateType>Request</TemplateType>
|
||||||
<TemplateFileName>Request.cshtml</TemplateFileName>
|
<TemplateFileName>Request.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Request\Security</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Request\Security</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Request</Assembly>
|
<Assembly>CloudBuilder.Request</Assembly>
|
||||||
<Namespace>CloudBuilder.Request.Security</Namespace>
|
<Namespace>CloudBuilder.Request.Security</Namespace>
|
||||||
<FileNameSuffix>Request.auto.cs</FileNameSuffix>
|
<FileNameSuffix>Request.auto.cs</FileNameSuffix>
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>Entity</TemplateType>
|
<TemplateType>Entity</TemplateType>
|
||||||
<TemplateFileName>IEntity.cshtml</TemplateFileName>
|
<TemplateFileName>IEntity.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Security\Entity</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Security\Entity</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Security</Assembly>
|
<Assembly>CloudBuilder.Security</Assembly>
|
||||||
<Namespace>CloudBuilder.Security</Namespace>
|
<Namespace>CloudBuilder.Security</Namespace>
|
||||||
<FileNameSuffix>Entity.auto.cs</FileNameSuffix>
|
<FileNameSuffix>Entity.auto.cs</FileNameSuffix>
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>IEntityKey</TemplateType>
|
<TemplateType>IEntityKey</TemplateType>
|
||||||
<TemplateFileName>IEntityKey.cshtml</TemplateFileName>
|
<TemplateFileName>IEntityKey.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Security\Entity</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Security\Entity</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Security</Assembly>
|
<Assembly>CloudBuilder.Security</Assembly>
|
||||||
<Namespace>CloudBuilder.Security</Namespace>
|
<Namespace>CloudBuilder.Security</Namespace>
|
||||||
<FileNameSuffix>EntityKey.auto.cs</FileNameSuffix>
|
<FileNameSuffix>EntityKey.auto.cs</FileNameSuffix>
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>IService</TemplateType>
|
<TemplateType>IService</TemplateType>
|
||||||
<TemplateFileName>IService.cshtml</TemplateFileName>
|
<TemplateFileName>IService.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Security\Service</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Security\Service</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Security</Assembly>
|
<Assembly>CloudBuilder.Security</Assembly>
|
||||||
<Namespace>CloudBuilder.Security</Namespace>
|
<Namespace>CloudBuilder.Security</Namespace>
|
||||||
<FileNameSuffix>Service.auto.cs</FileNameSuffix>
|
<FileNameSuffix>Service.auto.cs</FileNameSuffix>
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>Permission</TemplateType>
|
<TemplateType>Permission</TemplateType>
|
||||||
<TemplateFileName>Permission.cshtml</TemplateFileName>
|
<TemplateFileName>Permission.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Security\Policy</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Security\Policy</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Security</Assembly>
|
<Assembly>CloudBuilder.Security</Assembly>
|
||||||
<Namespace>CloudBuilder.Security</Namespace>
|
<Namespace>CloudBuilder.Security</Namespace>
|
||||||
<FileNameSuffix>PermissionPolicy.auto.cs</FileNameSuffix>
|
<FileNameSuffix>PermissionPolicy.auto.cs</FileNameSuffix>
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>RegistEntity</TemplateType>
|
<TemplateType>RegistEntity</TemplateType>
|
||||||
<TemplateFileName>RegistEntity.cshtml</TemplateFileName>
|
<TemplateFileName>RegistEntity.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Security\Entity</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Security\Entity</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Security</Assembly>
|
<Assembly>CloudBuilder.Security</Assembly>
|
||||||
<Namespace>CloudBuilder.Security</Namespace>
|
<Namespace>CloudBuilder.Security</Namespace>
|
||||||
<FileNameSuffix>RegistEntity.auto.cs</FileNameSuffix>
|
<FileNameSuffix>RegistEntity.auto.cs</FileNameSuffix>
|
||||||
@@ -160,7 +160,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>SearchCriteria</TemplateType>
|
<TemplateType>SearchCriteria</TemplateType>
|
||||||
<TemplateFileName>SearchCriteria.cshtml</TemplateFileName>
|
<TemplateFileName>SearchCriteria.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Security\SearchCriteria</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Security\SearchCriteria</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Security</Assembly>
|
<Assembly>CloudBuilder.Security</Assembly>
|
||||||
<Namespace>CloudBuilder.Security</Namespace>
|
<Namespace>CloudBuilder.Security</Namespace>
|
||||||
<FileNameSuffix>SearchCriteria.auto.cs</FileNameSuffix>
|
<FileNameSuffix>SearchCriteria.auto.cs</FileNameSuffix>
|
||||||
@@ -168,7 +168,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>Service</TemplateType>
|
<TemplateType>Service</TemplateType>
|
||||||
<TemplateFileName>Service.cshtml</TemplateFileName>
|
<TemplateFileName>Service.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Security.Service</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Security.Service</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Security</Assembly>
|
<Assembly>CloudBuilder.Security</Assembly>
|
||||||
<Namespace>CloudBuilder.Security</Namespace>
|
<Namespace>CloudBuilder.Security</Namespace>
|
||||||
<FileNameSuffix>Service.auto.cs</FileNameSuffix>
|
<FileNameSuffix>Service.auto.cs</FileNameSuffix>
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>TypeScript</TemplateType>
|
<TemplateType>TypeScript</TemplateType>
|
||||||
<TemplateFileName>TypeScript.cshtml</TemplateFileName>
|
<TemplateFileName>TypeScript.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\WebVue\src\data\auto</OutFilePath>
|
<OutFilePath>D:\Docker\WebVue\src\data\auto</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Security</Assembly>
|
<Assembly>CloudBuilder.Security</Assembly>
|
||||||
<Namespace>CloudBuilder.Security</Namespace>
|
<Namespace>CloudBuilder.Security</Namespace>
|
||||||
<FileNameSuffix>.ts</FileNameSuffix>
|
<FileNameSuffix>.ts</FileNameSuffix>
|
||||||
@@ -184,7 +184,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>Controller</TemplateType>
|
<TemplateType>Controller</TemplateType>
|
||||||
<TemplateFileName>Controller.cshtml</TemplateFileName>
|
<TemplateFileName>Controller.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\CloudBuilder\CloudBuilder.Web.Entry\Controllers\Security</OutFilePath>
|
<OutFilePath>D:\Docker\CloudBuilder\CloudBuilder.Web.Entry\Controllers\Security</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Security.Service</Assembly>
|
<Assembly>CloudBuilder.Security.Service</Assembly>
|
||||||
<Namespace>CloudBuilder.Web.Entry.Controllers.Security</Namespace>
|
<Namespace>CloudBuilder.Web.Entry.Controllers.Security</Namespace>
|
||||||
<FileNameSuffix>Controller.auto.cs</FileNameSuffix>
|
<FileNameSuffix>Controller.auto.cs</FileNameSuffix>
|
||||||
@@ -192,7 +192,7 @@
|
|||||||
<NamespaceObject>
|
<NamespaceObject>
|
||||||
<TemplateType>TypeScriptService</TemplateType>
|
<TemplateType>TypeScriptService</TemplateType>
|
||||||
<TemplateFileName>TypeScriptService.cshtml</TemplateFileName>
|
<TemplateFileName>TypeScriptService.cshtml</TemplateFileName>
|
||||||
<OutFilePath>D:\MAFAI\WebVue\src\service\security</OutFilePath>
|
<OutFilePath>D:\Docker\WebVue\src\service\security</OutFilePath>
|
||||||
<Assembly>CloudBuilder.Security.Service</Assembly>
|
<Assembly>CloudBuilder.Security.Service</Assembly>
|
||||||
<Namespace>CloudBuilder.Web.Entry.Controllers.Security</Namespace>
|
<Namespace>CloudBuilder.Web.Entry.Controllers.Security</Namespace>
|
||||||
<FileNameSuffix>.ts</FileNameSuffix>
|
<FileNameSuffix>.ts</FileNameSuffix>
|
||||||
@@ -200,10 +200,10 @@
|
|||||||
</NamespaceObjects>
|
</NamespaceObjects>
|
||||||
<AssemblyReferences>
|
<AssemblyReferences>
|
||||||
<AssemblyReference>
|
<AssemblyReference>
|
||||||
<AssemblyFileName>D:\MAFAI\CloudBuilder\CloudBuilder.Security.Service\bin\Debug\net8.0\CloudBuilder.Security.Service.dll</AssemblyFileName>
|
<AssemblyFileName>D:\Docker\CloudBuilder\CloudBuilder.Security.Service\bin\Debug\net8.0\CloudBuilder.Security.Service.dll</AssemblyFileName>
|
||||||
</AssemblyReference>
|
</AssemblyReference>
|
||||||
<AssemblyReference>
|
<AssemblyReference>
|
||||||
<AssemblyFileName>D:\MAFAI\CloudBuilder\CloudBuilder.Security\bin\Debug\net8.0\CloudBuilder.Security.dll</AssemblyFileName>
|
<AssemblyFileName>D:\Docker\CloudBuilder\CloudBuilder.Security\bin\Debug\net8.0\CloudBuilder.Security.dll</AssemblyFileName>
|
||||||
</AssemblyReference>
|
</AssemblyReference>
|
||||||
</AssemblyReferences>
|
</AssemblyReferences>
|
||||||
<ExculdePropertyTypes>
|
<ExculdePropertyTypes>
|
||||||
|
|||||||
@@ -7,38 +7,38 @@ export class SecurityUserEntity
|
|||||||
public UpdatedBy: string = "";
|
public UpdatedBy: string = "";
|
||||||
public UserName: string = "";
|
public UserName: string = "";
|
||||||
public UserLocalName: string = "";
|
public UserLocalName: string = "";
|
||||||
public BiometricEnrolledAt?: Date= null!;
|
|
||||||
public BiometricLastUsedAt?: Date= null!;
|
|
||||||
public LastLoginDatetime?: Date= null!;
|
|
||||||
public ErrorLoginCount: number = 0;
|
|
||||||
public BiometricCredentialId: string = "";
|
|
||||||
public BiometricPublicKey: string = "";
|
|
||||||
public BiometricCounter: number = 0;
|
|
||||||
public BiometricDeviceName: string = "";
|
|
||||||
public IsAccountsLockedIndc: string = "";
|
|
||||||
public AccountsLockedDatetime?: Date= null!;
|
|
||||||
public UserRemark: string = "";
|
|
||||||
public WelcomePage: string = "";
|
|
||||||
public UserTypeEndDatetime?: Date= null!;
|
|
||||||
public RoomName: string = "";
|
|
||||||
public UserAlipayAccountImgPath: string = "";
|
|
||||||
public UserWechatAccountImgPath: string = "";
|
|
||||||
public UserIconImgPath: string = "";
|
|
||||||
public UserAccountsExpireDatetime?: Date= null!;
|
|
||||||
public UserIsValidIndc: string = "";
|
|
||||||
public IsForeceChangePasswordIndc: string = "";
|
|
||||||
public Postcode: string = "";
|
|
||||||
public Community: number = 0;
|
|
||||||
public UserGrade: number = 0;
|
|
||||||
public UserType: string = "";
|
|
||||||
public UserWechatAccount: string = "";
|
|
||||||
public UserAlipayAccount: string = "";
|
|
||||||
public UserEngName: string = "";
|
public UserEngName: string = "";
|
||||||
public CompanyName: string = "";
|
public CompanyName: string = "";
|
||||||
public Industry: string = "";
|
public Industry: string = "";
|
||||||
public UserPassword: string = "";
|
public UserPassword: string = "";
|
||||||
public UserMobile: string = "";
|
public UserMobile: string = "";
|
||||||
public UserAddress: string = "";
|
public UserAddress: string = "";
|
||||||
|
public Postcode: string = "";
|
||||||
|
public Community: number = 0;
|
||||||
|
public UserGrade: number = 0;
|
||||||
|
public UserType: string = "";
|
||||||
|
public UserWechatAccount: string = "";
|
||||||
|
public UserAlipayAccount: string = "";
|
||||||
|
public UserAlipayAccountImgPath: string = "";
|
||||||
|
public UserWechatAccountImgPath: string = "";
|
||||||
|
public UserIconImgPath: string = "";
|
||||||
|
public UserAccountsExpireDatetime?: Date= null!;
|
||||||
|
public UserIsValidIndc: string = "";
|
||||||
|
public IsForeceChangePasswordIndc: string = "";
|
||||||
|
public IsAccountsLockedIndc: string = "";
|
||||||
|
public AccountsLockedDatetime?: Date= null!;
|
||||||
|
public UserRemark: string = "";
|
||||||
|
public WelcomePage: string = "";
|
||||||
|
public UserTypeEndDatetime?: Date= null!;
|
||||||
|
public RoomName: string = "";
|
||||||
|
public LastLoginDatetime?: Date= null!;
|
||||||
|
public ErrorLoginCount: number = 0;
|
||||||
|
public BiometricCredentialId: string = "";
|
||||||
|
public BiometricPublicKey: string = "";
|
||||||
|
public BiometricCounter: number = 0;
|
||||||
|
public BiometricDeviceName: string = "";
|
||||||
|
public BiometricEnrolledAt?: Date= null!;
|
||||||
|
public BiometricLastUsedAt?: Date= null!;
|
||||||
|
|
||||||
static readonly CREATED_DATETIME : string ='CreatedDatetime';
|
static readonly CREATED_DATETIME : string ='CreatedDatetime';
|
||||||
static readonly CREATED_BY : string ='CreatedBy';
|
static readonly CREATED_BY : string ='CreatedBy';
|
||||||
@@ -46,76 +46,76 @@ export class SecurityUserEntity
|
|||||||
static readonly UPDATED_BY : string ='UpdatedBy';
|
static readonly UPDATED_BY : string ='UpdatedBy';
|
||||||
static readonly USER_NAME : string ='UserName';
|
static readonly USER_NAME : string ='UserName';
|
||||||
static readonly USER_LOCAL_NAME : string ='UserLocalName';
|
static readonly USER_LOCAL_NAME : string ='UserLocalName';
|
||||||
static readonly BIOMETRIC_ENROLLED_AT : string ='BiometricEnrolledAt';
|
|
||||||
static readonly BIOMETRIC_LAST_USED_AT : string ='BiometricLastUsedAt';
|
|
||||||
static readonly LAST_LOGIN_DATETIME : string ='LastLoginDatetime';
|
|
||||||
static readonly ERROR_LOGIN_COUNT : string ='ErrorLoginCount';
|
|
||||||
static readonly BIOMETRIC_CREDENTIAL_ID : string ='BiometricCredentialId';
|
|
||||||
static readonly BIOMETRIC_PUBLIC_KEY : string ='BiometricPublicKey';
|
|
||||||
static readonly BIOMETRIC_COUNTER : string ='BiometricCounter';
|
|
||||||
static readonly BIOMETRIC_DEVICE_NAME : string ='BiometricDeviceName';
|
|
||||||
static readonly IS_ACCOUNTS_LOCKED_INDC : string ='IsAccountsLockedIndc';
|
|
||||||
static readonly ACCOUNTS_LOCKED_DATETIME : string ='AccountsLockedDatetime';
|
|
||||||
static readonly USER_REMARK : string ='UserRemark';
|
|
||||||
static readonly WELCOME_PAGE : string ='WelcomePage';
|
|
||||||
static readonly USER_TYPE_END_DATETIME : string ='UserTypeEndDatetime';
|
|
||||||
static readonly ROOM_NAME : string ='RoomName';
|
|
||||||
static readonly USER_ALIPAY_ACCOUNT_IMG_PATH : string ='UserAlipayAccountImgPath';
|
|
||||||
static readonly USER_WECHAT_ACCOUNT_IMG_PATH : string ='UserWechatAccountImgPath';
|
|
||||||
static readonly USER_ICON_IMG_PATH : string ='UserIconImgPath';
|
|
||||||
static readonly USER_ACCOUNTS_EXPIRE_DATETIME : string ='UserAccountsExpireDatetime';
|
|
||||||
static readonly USER_IS_VALID_INDC : string ='UserIsValidIndc';
|
|
||||||
static readonly IS_FORECE_CHANGE_PASSWORD_INDC : string ='IsForeceChangePasswordIndc';
|
|
||||||
static readonly POSTCODE : string ='Postcode';
|
|
||||||
static readonly COMMUNITY : string ='Community';
|
|
||||||
static readonly USER_GRADE : string ='UserGrade';
|
|
||||||
static readonly USER_TYPE : string ='UserType';
|
|
||||||
static readonly USER_WECHAT_ACCOUNT : string ='UserWechatAccount';
|
|
||||||
static readonly USER_ALIPAY_ACCOUNT : string ='UserAlipayAccount';
|
|
||||||
static readonly USER_ENG_NAME : string ='UserEngName';
|
static readonly USER_ENG_NAME : string ='UserEngName';
|
||||||
static readonly COMPANY_NAME : string ='CompanyName';
|
static readonly COMPANY_NAME : string ='CompanyName';
|
||||||
static readonly INDUSTRY : string ='Industry';
|
static readonly INDUSTRY : string ='Industry';
|
||||||
static readonly USER_PASSWORD : string ='UserPassword';
|
static readonly USER_PASSWORD : string ='UserPassword';
|
||||||
static readonly USER_MOBILE : string ='UserMobile';
|
static readonly USER_MOBILE : string ='UserMobile';
|
||||||
static readonly USER_ADDRESS : string ='UserAddress';
|
static readonly USER_ADDRESS : string ='UserAddress';
|
||||||
|
static readonly POSTCODE : string ='Postcode';
|
||||||
|
static readonly COMMUNITY : string ='Community';
|
||||||
|
static readonly USER_GRADE : string ='UserGrade';
|
||||||
|
static readonly USER_TYPE : string ='UserType';
|
||||||
|
static readonly USER_WECHAT_ACCOUNT : string ='UserWechatAccount';
|
||||||
|
static readonly USER_ALIPAY_ACCOUNT : string ='UserAlipayAccount';
|
||||||
|
static readonly USER_ALIPAY_ACCOUNT_IMG_PATH : string ='UserAlipayAccountImgPath';
|
||||||
|
static readonly USER_WECHAT_ACCOUNT_IMG_PATH : string ='UserWechatAccountImgPath';
|
||||||
|
static readonly USER_ICON_IMG_PATH : string ='UserIconImgPath';
|
||||||
|
static readonly USER_ACCOUNTS_EXPIRE_DATETIME : string ='UserAccountsExpireDatetime';
|
||||||
|
static readonly USER_IS_VALID_INDC : string ='UserIsValidIndc';
|
||||||
|
static readonly IS_FORECE_CHANGE_PASSWORD_INDC : string ='IsForeceChangePasswordIndc';
|
||||||
|
static readonly IS_ACCOUNTS_LOCKED_INDC : string ='IsAccountsLockedIndc';
|
||||||
|
static readonly ACCOUNTS_LOCKED_DATETIME : string ='AccountsLockedDatetime';
|
||||||
|
static readonly USER_REMARK : string ='UserRemark';
|
||||||
|
static readonly WELCOME_PAGE : string ='WelcomePage';
|
||||||
|
static readonly USER_TYPE_END_DATETIME : string ='UserTypeEndDatetime';
|
||||||
|
static readonly ROOM_NAME : string ='RoomName';
|
||||||
|
static readonly LAST_LOGIN_DATETIME : string ='LastLoginDatetime';
|
||||||
|
static readonly ERROR_LOGIN_COUNT : string ='ErrorLoginCount';
|
||||||
|
static readonly BIOMETRIC_CREDENTIAL_ID : string ='BiometricCredentialId';
|
||||||
|
static readonly BIOMETRIC_PUBLIC_KEY : string ='BiometricPublicKey';
|
||||||
|
static readonly BIOMETRIC_COUNTER : string ='BiometricCounter';
|
||||||
|
static readonly BIOMETRIC_DEVICE_NAME : string ='BiometricDeviceName';
|
||||||
|
static readonly BIOMETRIC_ENROLLED_AT : string ='BiometricEnrolledAt';
|
||||||
|
static readonly BIOMETRIC_LAST_USED_AT : string ='BiometricLastUsedAt';
|
||||||
static readonly DB_NAME_SECURITY_USER : string ='security_user';
|
static readonly DB_NAME_SECURITY_USER : string ='security_user';
|
||||||
static readonly DB_NAME_FIELDS : string ='created_datetime,created_by,updated_datetime,updated_by,user_name,user_local_name,biometric_enrolled_at,biometric_last_used_at,last_login_datetime,error_login_count,biometric_credential_id,biometric_public_key,biometric_counter,biometric_device_name,is_accounts_locked_indc,accounts_locked_datetime,user_remark,welcome_page,user_type_end_datetime,room_name,user_alipay_account_img_path,user_wechat_account_img_path,user_icon_img_path,user_accounts_expire_datetime,user_is_valid_indc,is_forece_change_password_indc,postcode,community,user_grade,user_type,user_wechat_account,user_alipay_account,user_eng_name,company_name,industry,user_password,user_mobile,user_address';
|
static readonly DB_NAME_FIELDS : string ='created_datetime,created_by,updated_datetime,updated_by,user_name,user_local_name,user_eng_name,company_name,industry,user_password,user_mobile,user_address,postcode,community,user_grade,user_type,user_wechat_account,user_alipay_account,user_alipay_account_img_path,user_wechat_account_img_path,user_icon_img_path,user_accounts_expire_datetime,user_is_valid_indc,is_forece_change_password_indc,is_accounts_locked_indc,accounts_locked_datetime,user_remark,welcome_page,user_type_end_datetime,room_name,last_login_datetime,error_login_count,biometric_credential_id,biometric_public_key,biometric_counter,biometric_device_name,biometric_enrolled_at,biometric_last_used_at';
|
||||||
static readonly DB_CREATED_DATETIME : string ='created_datetime';
|
static readonly DB_CREATED_DATETIME : string ='created_datetime';
|
||||||
static readonly DB_CREATED_BY : string ='created_by';
|
static readonly DB_CREATED_BY : string ='created_by';
|
||||||
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
|
static readonly DB_UPDATED_DATETIME : string ='updated_datetime';
|
||||||
static readonly DB_UPDATED_BY : string ='updated_by';
|
static readonly DB_UPDATED_BY : string ='updated_by';
|
||||||
static readonly DB_USER_NAME : string ='user_name';
|
static readonly DB_USER_NAME : string ='user_name';
|
||||||
static readonly DB_USER_LOCAL_NAME : string ='user_local_name';
|
static readonly DB_USER_LOCAL_NAME : string ='user_local_name';
|
||||||
static readonly DB_BIOMETRIC_ENROLLED_AT : string ='biometric_enrolled_at';
|
|
||||||
static readonly DB_BIOMETRIC_LAST_USED_AT : string ='biometric_last_used_at';
|
|
||||||
static readonly DB_LAST_LOGIN_DATETIME : string ='last_login_datetime';
|
|
||||||
static readonly DB_ERROR_LOGIN_COUNT : string ='error_login_count';
|
|
||||||
static readonly DB_BIOMETRIC_CREDENTIAL_ID : string ='biometric_credential_id';
|
|
||||||
static readonly DB_BIOMETRIC_PUBLIC_KEY : string ='biometric_public_key';
|
|
||||||
static readonly DB_BIOMETRIC_COUNTER : string ='biometric_counter';
|
|
||||||
static readonly DB_BIOMETRIC_DEVICE_NAME : string ='biometric_device_name';
|
|
||||||
static readonly DB_IS_ACCOUNTS_LOCKED_INDC : string ='is_accounts_locked_indc';
|
|
||||||
static readonly DB_ACCOUNTS_LOCKED_DATETIME : string ='accounts_locked_datetime';
|
|
||||||
static readonly DB_USER_REMARK : string ='user_remark';
|
|
||||||
static readonly DB_WELCOME_PAGE : string ='welcome_page';
|
|
||||||
static readonly DB_USER_TYPE_END_DATETIME : string ='user_type_end_datetime';
|
|
||||||
static readonly DB_ROOM_NAME : string ='room_name';
|
|
||||||
static readonly DB_USER_ALIPAY_ACCOUNT_IMG_PATH : string ='user_alipay_account_img_path';
|
|
||||||
static readonly DB_USER_WECHAT_ACCOUNT_IMG_PATH : string ='user_wechat_account_img_path';
|
|
||||||
static readonly DB_USER_ICON_IMG_PATH : string ='user_icon_img_path';
|
|
||||||
static readonly DB_USER_ACCOUNTS_EXPIRE_DATETIME : string ='user_accounts_expire_datetime';
|
|
||||||
static readonly DB_USER_IS_VALID_INDC : string ='user_is_valid_indc';
|
|
||||||
static readonly DB_IS_FORECE_CHANGE_PASSWORD_INDC : string ='is_forece_change_password_indc';
|
|
||||||
static readonly DB_POSTCODE : string ='postcode';
|
|
||||||
static readonly DB_COMMUNITY : string ='community';
|
|
||||||
static readonly DB_USER_GRADE : string ='user_grade';
|
|
||||||
static readonly DB_USER_TYPE : string ='user_type';
|
|
||||||
static readonly DB_USER_WECHAT_ACCOUNT : string ='user_wechat_account';
|
|
||||||
static readonly DB_USER_ALIPAY_ACCOUNT : string ='user_alipay_account';
|
|
||||||
static readonly DB_USER_ENG_NAME : string ='user_eng_name';
|
static readonly DB_USER_ENG_NAME : string ='user_eng_name';
|
||||||
static readonly DB_COMPANY_NAME : string ='company_name';
|
static readonly DB_COMPANY_NAME : string ='company_name';
|
||||||
static readonly DB_INDUSTRY : string ='industry';
|
static readonly DB_INDUSTRY : string ='industry';
|
||||||
static readonly DB_USER_PASSWORD : string ='user_password';
|
static readonly DB_USER_PASSWORD : string ='user_password';
|
||||||
static readonly DB_USER_MOBILE : string ='user_mobile';
|
static readonly DB_USER_MOBILE : string ='user_mobile';
|
||||||
static readonly DB_USER_ADDRESS : string ='user_address';
|
static readonly DB_USER_ADDRESS : string ='user_address';
|
||||||
|
static readonly DB_POSTCODE : string ='postcode';
|
||||||
|
static readonly DB_COMMUNITY : string ='community';
|
||||||
|
static readonly DB_USER_GRADE : string ='user_grade';
|
||||||
|
static readonly DB_USER_TYPE : string ='user_type';
|
||||||
|
static readonly DB_USER_WECHAT_ACCOUNT : string ='user_wechat_account';
|
||||||
|
static readonly DB_USER_ALIPAY_ACCOUNT : string ='user_alipay_account';
|
||||||
|
static readonly DB_USER_ALIPAY_ACCOUNT_IMG_PATH : string ='user_alipay_account_img_path';
|
||||||
|
static readonly DB_USER_WECHAT_ACCOUNT_IMG_PATH : string ='user_wechat_account_img_path';
|
||||||
|
static readonly DB_USER_ICON_IMG_PATH : string ='user_icon_img_path';
|
||||||
|
static readonly DB_USER_ACCOUNTS_EXPIRE_DATETIME : string ='user_accounts_expire_datetime';
|
||||||
|
static readonly DB_USER_IS_VALID_INDC : string ='user_is_valid_indc';
|
||||||
|
static readonly DB_IS_FORECE_CHANGE_PASSWORD_INDC : string ='is_forece_change_password_indc';
|
||||||
|
static readonly DB_IS_ACCOUNTS_LOCKED_INDC : string ='is_accounts_locked_indc';
|
||||||
|
static readonly DB_ACCOUNTS_LOCKED_DATETIME : string ='accounts_locked_datetime';
|
||||||
|
static readonly DB_USER_REMARK : string ='user_remark';
|
||||||
|
static readonly DB_WELCOME_PAGE : string ='welcome_page';
|
||||||
|
static readonly DB_USER_TYPE_END_DATETIME : string ='user_type_end_datetime';
|
||||||
|
static readonly DB_ROOM_NAME : string ='room_name';
|
||||||
|
static readonly DB_LAST_LOGIN_DATETIME : string ='last_login_datetime';
|
||||||
|
static readonly DB_ERROR_LOGIN_COUNT : string ='error_login_count';
|
||||||
|
static readonly DB_BIOMETRIC_CREDENTIAL_ID : string ='biometric_credential_id';
|
||||||
|
static readonly DB_BIOMETRIC_PUBLIC_KEY : string ='biometric_public_key';
|
||||||
|
static readonly DB_BIOMETRIC_COUNTER : string ='biometric_counter';
|
||||||
|
static readonly DB_BIOMETRIC_DEVICE_NAME : string ='biometric_device_name';
|
||||||
|
static readonly DB_BIOMETRIC_ENROLLED_AT : string ='biometric_enrolled_at';
|
||||||
|
static readonly DB_BIOMETRIC_LAST_USED_AT : string ='biometric_last_used_at';
|
||||||
}
|
}
|
||||||
@@ -1,25 +1,25 @@
|
|||||||
|
|
||||||
export class SysTablePkeyViewEntity
|
export class SysTablePkeyViewEntity
|
||||||
{
|
{
|
||||||
public ColumnName: string = "";
|
|
||||||
public Pk: number = 0;
|
|
||||||
public PkName: string = "";
|
|
||||||
public TableName: string = "";
|
|
||||||
public TableOwner: string = "";
|
|
||||||
public TableQualifier: string = "";
|
public TableQualifier: string = "";
|
||||||
|
public TableOwner: string = "";
|
||||||
|
public TableName: string = "";
|
||||||
|
public ColumnName: string = "";
|
||||||
|
public PkName: string = "";
|
||||||
|
public Pk: number = 0;
|
||||||
|
|
||||||
static readonly COLUMN_NAME : string ='ColumnName';
|
|
||||||
static readonly PK : string ='Pk';
|
|
||||||
static readonly PK_NAME : string ='PkName';
|
|
||||||
static readonly TABLE_NAME : string ='TableName';
|
|
||||||
static readonly TABLE_OWNER : string ='TableOwner';
|
|
||||||
static readonly TABLE_QUALIFIER : string ='TableQualifier';
|
static readonly TABLE_QUALIFIER : string ='TableQualifier';
|
||||||
|
static readonly TABLE_OWNER : string ='TableOwner';
|
||||||
|
static readonly TABLE_NAME : string ='TableName';
|
||||||
|
static readonly COLUMN_NAME : string ='ColumnName';
|
||||||
|
static readonly PK_NAME : string ='PkName';
|
||||||
|
static readonly PK : string ='Pk';
|
||||||
static readonly DB_NAME_SYS_TABLE_PKEY_VIEW : string ='sys_table_pkey_view';
|
static readonly DB_NAME_SYS_TABLE_PKEY_VIEW : string ='sys_table_pkey_view';
|
||||||
static readonly DB_NAME_FIELDS : string ='column_name,pk,pk_name,table_name,table_owner,table_qualifier';
|
static readonly DB_NAME_FIELDS : string ='table_qualifier,table_owner,table_name,column_name,pk_name,pk';
|
||||||
static readonly DB_COLUMN_NAME : string ='column_name';
|
|
||||||
static readonly DB_PK : string ='pk';
|
|
||||||
static readonly DB_PK_NAME : string ='pk_name';
|
|
||||||
static readonly DB_TABLE_NAME : string ='table_name';
|
|
||||||
static readonly DB_TABLE_OWNER : string ='table_owner';
|
|
||||||
static readonly DB_TABLE_QUALIFIER : string ='table_qualifier';
|
static readonly DB_TABLE_QUALIFIER : string ='table_qualifier';
|
||||||
|
static readonly DB_TABLE_OWNER : string ='table_owner';
|
||||||
|
static readonly DB_TABLE_NAME : string ='table_name';
|
||||||
|
static readonly DB_COLUMN_NAME : string ='column_name';
|
||||||
|
static readonly DB_PK_NAME : string ='pk_name';
|
||||||
|
static readonly DB_PK : string ='pk';
|
||||||
}
|
}
|
||||||
@@ -14,6 +14,15 @@ class YesNoPolicyService{
|
|||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
async Copy() {
|
||||||
|
return request<any>(
|
||||||
|
{
|
||||||
|
url: "/YesNoPolicy/Copy",
|
||||||
|
method: "get",
|
||||||
|
}
|
||||||
|
)
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const yesNoPolicyService= new YesNoPolicyService();
|
const yesNoPolicyService= new YesNoPolicyService();
|
||||||
|
|||||||
@@ -19,7 +19,8 @@
|
|||||||
<a-form-item>
|
<a-form-item>
|
||||||
<a-button type="primary" html-type="submit" size="large" block> 登录 </a-button>
|
<a-button type="primary" html-type="submit" size="large" block> 登录 </a-button>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<div class="culture-switch">
|
<!-- 技术上已实现,暂时不加入中文系统 -->
|
||||||
|
<div class="culture-switch" v-if="false">
|
||||||
<a-button
|
<a-button
|
||||||
type="text"
|
type="text"
|
||||||
size="large"
|
size="large"
|
||||||
|
|||||||
Reference in new issue
Block a user