修改文章增加修改发布状态
This commit is contained in:
parent
0badf7654e
commit
fec5e9e94c
@ -27,7 +27,6 @@ namespace Infrastructure.Startups
|
|||||||
/// <param name="builder"></param>
|
/// <param name="builder"></param>
|
||||||
public static void UseAppStartup(this IWebHostBuilder hostBuilder)
|
public static void UseAppStartup(this IWebHostBuilder hostBuilder)
|
||||||
{
|
{
|
||||||
System.Console.WriteLine("启动类执行了");
|
|
||||||
// 自动装载配置
|
// 自动装载配置
|
||||||
hostBuilder.ConfigureAppConfiguration((hostingContext, config) =>
|
hostBuilder.ConfigureAppConfiguration((hostingContext, config) =>
|
||||||
{
|
{
|
||||||
|
|||||||
@ -10,7 +10,6 @@ namespace Infrastructure.Startups
|
|||||||
{
|
{
|
||||||
public void Configure(IWebHostBuilder builder)
|
public void Configure(IWebHostBuilder builder)
|
||||||
{
|
{
|
||||||
System.Console.WriteLine("启动类执行了");
|
|
||||||
// 自动装载配置
|
// 自动装载配置
|
||||||
builder.ConfigureAppConfiguration((hostingContext, config) =>
|
builder.ConfigureAppConfiguration((hostingContext, config) =>
|
||||||
{
|
{
|
||||||
|
|||||||
@ -139,7 +139,8 @@ namespace ZR.Admin.WebApi.Controllers
|
|||||||
Content = addModel.Content,
|
Content = addModel.Content,
|
||||||
Tags = addModel.Tags,
|
Tags = addModel.Tags,
|
||||||
Category_id = addModel.Category_id,
|
Category_id = addModel.Category_id,
|
||||||
UpdateTime = addModel.UpdateTime
|
UpdateTime = addModel.UpdateTime,
|
||||||
|
Status = addModel.Status
|
||||||
}).ToCreate();
|
}).ToCreate();
|
||||||
|
|
||||||
return SUCCESS(response);
|
return SUCCESS(response);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user