using FoodLabeling.Th.Application.Contracts.IServices; using Volo.Abp.Application.Services; namespace FoodLabeling.Th.Application.Services; /// /// Food Labeling 示例应用服务实现(泰额版) /// public class FoodLabelThDemoAppService : ApplicationService, IFoodLabelThDemoAppService { /// public Task 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); } }