合并冲突
This commit is contained in:
35
system/Tnb.Systems/Common/HeartbeatService.cs
Normal file
35
system/Tnb.Systems/Common/HeartbeatService.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System.Data;
|
||||
using JNPF.Common.Core.Manager;
|
||||
using JNPF.Common.Filter;
|
||||
using JNPF.Common.Security;
|
||||
using JNPF.DependencyInjection;
|
||||
using JNPF.DynamicApiController;
|
||||
using JNPF.Extras.Thirdparty.JSEngine;
|
||||
using JNPF.JsonSerialization;
|
||||
using JNPF.Logging.Attributes;
|
||||
using JNPF.Systems.Entitys.Permission;
|
||||
using JNPF.Systems.Entitys.System;
|
||||
using JNPF.TaskScheduler;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Cors;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using SqlSugar;
|
||||
|
||||
namespace JNPF.Systems.Common;
|
||||
|
||||
/// <summary>
|
||||
/// 测试接口.
|
||||
/// </summary>
|
||||
[ApiDescriptionSettings(Name = "Test", Order = 900)]
|
||||
[Route("api")]
|
||||
public class HeartbeatService : IDynamicApiController, ITransient
|
||||
{
|
||||
[HttpGet("heartbeat")]
|
||||
[AllowAnonymous]
|
||||
[IgnoreLog]
|
||||
public string Heartbeat()
|
||||
{
|
||||
return DateTime.Now.ToString();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -8,6 +8,7 @@ using JNPF.Extras.Thirdparty.JSEngine;
|
||||
using JNPF.JsonSerialization;
|
||||
using JNPF.Logging.Attributes;
|
||||
using JNPF.Systems.Entitys.Permission;
|
||||
using JNPF.Systems.Entitys.System;
|
||||
using JNPF.TaskScheduler;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Cors;
|
||||
@@ -69,11 +70,11 @@ public class TestService : IDynamicApiController, ITransient
|
||||
}
|
||||
}
|
||||
|
||||
public void xx(UserEntity user)
|
||||
{
|
||||
user.Account = "2312321";
|
||||
public void xx(UserEntity user)
|
||||
{
|
||||
user.Account = "2312321";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public void xx1(UserEntity user)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user