Skip to content

Commit

Permalink
给get_default_file_path_name_format接口增加拆分字段
Browse files Browse the repository at this point in the history
  • Loading branch information
CHKZL committed Jun 22, 2024
1 parent a51af3a commit 92401f7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Server/WebAppServices/Api/config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,15 @@ public class get_default_file_path_name_format : ControllerBase
[HttpGet(Name = "get_default_file_path_name_format")]
public ActionResult Get(GetCommonParameters commonParameters)
{
return Content(MessageBase.MssagePack(nameof(get_default_file_path_name_format), $"{Core.Config.Core_RunConfig._DefaultLiverFolderName}/{Core.Config.Core_RunConfig._DefaultDataFolderName}{(string.IsNullOrEmpty(Core.Config.Core_RunConfig._DefaultDataFolderName)?"":"/")}{Core.Config.Core_RunConfig._DefaultFileName}", $"录制储存路径中的子路径和格式"), "application/json");
string Full = $"{Core.Config.Core_RunConfig._DefaultLiverFolderName}/{Core.Config.Core_RunConfig._DefaultDataFolderName}{(string.IsNullOrEmpty(Core.Config.Core_RunConfig._DefaultDataFolderName) ? "" : "/")}{Core.Config.Core_RunConfig._DefaultFileName}";
(string Full, string default_liver_folder_name, string default_data_folder_name, string default_file_name) data = new()
{
Full = Full,
default_liver_folder_name = Core.Config.Core_RunConfig._DefaultLiverFolderName,
default_data_folder_name = Core.Config.Core_RunConfig._DefaultDataFolderName,
default_file_name = Core.Config.Core_RunConfig._DefaultFileName
};
return Content(MessageBase.MssagePack(nameof(get_default_file_path_name_format), data, $"录制储存路径中的子路径和格式"), "application/json");
}
}

Expand Down

0 comments on commit 92401f7

Please sign in to comment.