This commit is contained in:
owenchen committed 2026-06-23 15:32:12 +08:00
1 parent 996bb243df
commit 5f1062c010
15 files changed
+769 -104

No files matched your search

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<NameOfLastUsedPublishProfile>D:\NET8\CloudBuilder\CloudBuilder.Web.Entry\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
<NameOfLastUsedPublishProfile>D:\MAFAI\CloudBuilder\CloudBuilder.Web.Entry\Properties\PublishProfiles\FolderProfile1.pubxml</NameOfLastUsedPublishProfile>
</PropertyGroup>
</Project>
@@ -50,14 +50,21 @@ this.aiSentenceService= aiSentenceService;
}
}
public class FindByChapterIdCompositionData
{
public string bookId { get; set; }
public Int64 chapterId { get; set; }
}
[PermissionOperate(name: "AiBook", operate: "Find")]
[HttpPost]
public dynamic FindByChapterId(Int64 chapterId)
public dynamic FindByChapterId(FindByChapterIdCompositionData compositionData)
{
try
{
var result = aiSentenceService.FindByChapterId(chapterId);
var result = aiSentenceService.FindByChapterId(compositionData.bookId,compositionData.chapterId);
return result;
}
catch (ValidatedException vex)
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<DeleteExistingFiles>false</DeleteExistingFiles>
<ExcludeApp_Data>false</ExcludeApp_Data>
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>C:\inetpub\wwwroot\webapi</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<_TargetId>Folder</_TargetId>
</PropertyGroup>
</Project>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<_PublishTargetUrl>C:\inetpub\wwwroot\webapi</_PublishTargetUrl>
<History>True|2026-06-23T02:11:00.8522806Z||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>