mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-29 04:56:55 +08:00
24 lines
920 B
C#
24 lines
920 B
C#
namespace AgileConfig.Server.Apisite.Models
|
|
{
|
|
public class SaveJsonVM
|
|
{
|
|
/// <summary>
|
|
/// 指示是否用补丁模式更新现有配置
|
|
/// <para>true(补丁模式): 只修改本次提交包含的配置项.</para>
|
|
/// <para>false(全量模式,默认):所有不存在于本次提交中的现有配置项都会被删除.</para>
|
|
/// </summary>
|
|
public bool isPatch { get; set; }
|
|
public string json { get; set; }
|
|
}
|
|
|
|
public class SaveKVListVM
|
|
{
|
|
/// <summary>
|
|
/// 指示是否用补丁模式更新现有配置
|
|
/// <para>true(补丁模式): 只修改本次提交包含的配置项.</para>
|
|
/// <para>false(全量模式,默认):所有不存在于本次提交中的现有配置项都会被删除.</para>
|
|
/// </summary>
|
|
public bool isPatch { get; set; }
|
|
public string str { get; set; }
|
|
}
|
|
} |