使用新框架与技术代替旧框架与技术,实现涂装车间后道标签扫码程序
This commit is contained in:
18
RIZO_Application.Modules.LogModule/Services/LogService.cs
Normal file
18
RIZO_Application.Modules.LogModule/Services/LogService.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using RIZO_Application.Infrastructure.CustomAttribute;
|
||||
using RIZO_Application.Infrastructure.Model;
|
||||
using RIZO_Application.Models;
|
||||
using RIZO_Application.Modules.LogModule.Services.Interfaces;
|
||||
using RIZO_Application.Repository;
|
||||
|
||||
namespace RIZO_Application.Modules.LogModule.Services
|
||||
{
|
||||
[AppService(ServiceType = typeof(ILogService), Lifetime = ServiceLifetime.Transient)]
|
||||
public class LogService : BaseRepository<User> ,ILogService
|
||||
{
|
||||
public string GetMessage()
|
||||
{
|
||||
|
||||
return AppSettings.Current.AppName;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user