1
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Evergreen.Health.Application.Health.Entities;
|
||||
using Evergreen.Health.Application.Health.Models;
|
||||
using Evergreen.Health.Application.Health.Policies;
|
||||
using Furion.DatabaseAccessor;
|
||||
using Furion.FriendlyException;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
@@ -144,6 +145,7 @@ public static class TcmConstitutionRules
|
||||
result.MusicRecommendation = MusicFor(result.ConstitutionCode);
|
||||
result.SceneConfig ??= new PersonalizedSceneConfig();
|
||||
result.SceneConfig.SpeakerVolumePercent = 50;
|
||||
result.RoomTemperatureRecommendation = RecommendedRoomRange.ForConstitution(result.ConstitutionCode).Display;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -202,7 +204,7 @@ public static class TcmConstitutionRules
|
||||
AromaRecommendation = input.Answers["allergy"] == "often"
|
||||
? "建议不使用香氛,避免过敏原" : aroma,
|
||||
MusicRecommendation = music,
|
||||
RoomTemperatureRecommendation = room,
|
||||
RoomTemperatureRecommendation = RecommendedRoomRange.ForConstitution(primary).Display,
|
||||
Scores = scores,
|
||||
Answers = Choices.Keys.ToDictionary(key => key, key => input.Answers[key]),
|
||||
Notes = notes,
|
||||
|
||||
Reference in New Issue
Block a user