using FoodLabeling.Application.Contracts.IServices; using Volo.Abp.Application.Services; namespace FoodLabeling.Application.Services; /// /// Food Labeling 示例应用服务实现(美国版) /// public class FoodLabelDemoAppService : ApplicationService, IFoodLabelDemoAppService { /// public Task HelloAsync(string name) { var displayName = string.IsNullOrWhiteSpace(name) ? "World" : name.Trim(); var message = $"Hello, {displayName}! This is FoodLabeling US module. Server time: {Clock.Now:O}"; return Task.FromResult(message); } }