yys hace 13 horas
padre
commit
d8fdfd11be

+ 8 - 8
fs-service/src/main/java/com/fs/company/service/impl/call/node/WorkflowExecErrorMessages.java

@@ -8,11 +8,11 @@ import com.fs.common.exception.ServiceException;
 import com.fs.common.utils.StringUtils;
 
 /**
- * 工作流节点执行失败原因展示文案处理
+ * 宸ヤ綔娴佽妭鐐规墽琛屽け璐ュ師鍥犲睍绀烘枃妗堝�鐞�
  */
 public final class WorkflowExecErrorMessages {
 
-    public static final String SYSTEM_ERROR_DISPLAY_MSG = "系统异常,请联系管理员";
+    public static final String SYSTEM_ERROR_DISPLAY_MSG = "绯荤粺寮傚父锛岃�鑱旂郴绠$悊鍛�";
 
     private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper();
 
@@ -20,7 +20,7 @@ public final class WorkflowExecErrorMessages {
     }
 
     /**
-     * 根据异常类型解析对用户展示的错误信息:业务异常原样,系统异常脱敏
+     * 鏍规嵁寮傚父绫诲瀷瑙f瀽瀵圭敤鎴峰睍绀虹殑閿欒�淇℃伅锛氫笟鍔″紓甯稿師鏍凤紝绯荤粺寮傚父鑴辨晱
      */
     public static String resolveExecutionErrorMessage(Throwable ex) {
         if (ex == null) {
@@ -33,17 +33,17 @@ public final class WorkflowExecErrorMessages {
                     && StringUtils.isNotBlank(blacklistEx.getCheckResult().getReason())) {
                 return blacklistEx.getCheckResult().getReason();
             }
-            return StringUtils.defaultIfBlank(root.getMessage(), "被叫人命中外呼黑名单");
+            return StringUtils.defaultIfBlank(root.getMessage(), "琚�彨浜哄懡涓��鍛奸粦鍚嶅崟");
         }
         if (root instanceof ServiceException || root instanceof CustomException) {
             String message = root.getMessage();
-            return StringUtils.isNotBlank(message) ? message : "业务处理失败";
+            return StringUtils.isNotBlank(message) ? message : "涓氬姟澶勭悊澶辫触";
         }
         return SYSTEM_ERROR_DISPLAY_MSG;
     }
 
     /**
-     * 存量日志兜底:从 output_data JSON 中提取 error 字段
+     * 瀛橀噺鏃ュ織鍏滃簳锛氫粠 output_data JSON 涓�彁鍙� error 瀛楁�
      */
     public static String extractErrorFromOutputData(String outputData) {
         if (StringUtils.isBlank(outputData)) {
@@ -66,7 +66,7 @@ public final class WorkflowExecErrorMessages {
     }
 
     /**
-     * 对展示文案做脱敏:技术类错误统一为系统异常提示
+     * 瀵瑰睍绀烘枃妗堝仛鑴辨晱锛氭妧鏈�被閿欒�缁熶竴涓虹郴缁熷紓甯告彁绀�
      */
     public static String sanitizeForDisplay(String message) {
         if (StringUtils.isBlank(message)) {
@@ -107,4 +107,4 @@ public final class WorkflowExecErrorMessages {
         }
         return current;
     }
-}
+}

+ 4 - 4
fs-service/src/main/java/com/fs/company/vo/CompanyVoiceRoboticCallLogDetailSummary.java

@@ -3,7 +3,7 @@ package com.fs.company.vo;
 import lombok.Data;
 
 /**
- * AI外呼记录明细统计
+ * AI澶栧懠璁板綍鏄庣粏缁熻�
  */
 @Data
 public class CompanyVoiceRoboticCallLogDetailSummary {
@@ -16,9 +16,9 @@ public class CompanyVoiceRoboticCallLogDetailSummary {
 
     private Long connectedCount;
 
-    /** 接通率(百分比,整数) */
+    /** 鎺ラ€氱巼锛堢櫨鍒嗘瘮锛屾暣鏁帮級 */
     private Integer connectRate;
 
-    /** 计费分钟合计(未满1分钟按1分钟计) */
+    /** 璁¤垂鍒嗛挓鍚堣�锛堟湭婊�1鍒嗛挓鎸�1鍒嗛挓璁★級 */
     private Long totalBillingMinute;
-}
+}