diff --git a/TaxBaik.Web/Components/Admin/Pages/Inquiries/InquiryDetail.razor b/TaxBaik.Web/Components/Admin/Pages/Inquiries/InquiryDetail.razor index 816b3f7..b883b3e 100644 --- a/TaxBaik.Web/Components/Admin/Pages/Inquiries/InquiryDetail.razor +++ b/TaxBaik.Web/Components/Admin/Pages/Inquiries/InquiryDetail.razor @@ -13,6 +13,16 @@ + + 문의 상세 + + 답변 링크 열기 + + + 이름 @@ -32,7 +42,9 @@ 메시지 - @inquiry.Message + + @inquiry.Message + 상태 diff --git a/TaxBaik.Web/Services/TelegramInquiryNotificationService.cs b/TaxBaik.Web/Services/TelegramInquiryNotificationService.cs index cf38821..10569e5 100644 --- a/TaxBaik.Web/Services/TelegramInquiryNotificationService.cs +++ b/TaxBaik.Web/Services/TelegramInquiryNotificationService.cs @@ -27,6 +27,7 @@ public class TelegramInquiryNotificationService : IInquiryNotificationService return; var adminLink = $"{_baseUrl}/admin/inquiries/{inquiryId}"; + var summary = message.Length > 180 ? message[..180] + "..." : message; var text = new StringBuilder() .AppendLine("새 문의가 접수되었습니다.") .AppendLine() @@ -34,8 +35,8 @@ public class TelegramInquiryNotificationService : IInquiryNotificationService .AppendLine($"이름: {name}") .AppendLine($"연락처: {phone}") .AppendLine() - .AppendLine("내용:") - .AppendLine(message) + .AppendLine("내용 요약:") + .AppendLine(summary) .AppendLine() .AppendLine($"답변 링크: {adminLink}") .ToString();