7eb7235a
“wangming”
添加美国版和泰额版本的模块。
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using FoodLabeling.Th.Application.Contracts.IServices;
using Volo.Abp.Application.Services;
namespace FoodLabeling.Th.Application.Services;
/// <summary>
/// Food Labeling 示例应用服务实现(泰额版)
/// </summary>
public class FoodLabelThDemoAppService : ApplicationService, IFoodLabelThDemoAppService
{
/// <inheritdoc />
public Task<string> HelloAsync(string name)
{
var displayName = string.IsNullOrWhiteSpace(name) ? "World" : name.Trim();
var message = $"Hello, {displayName}! This is FoodLabeling TH module. Server time: {Clock.Now:O}";
return Task.FromResult(message);
}
}
|