Jelajahi Sumber

修改通知

zhangchen 3 minggu lalu
induk
melakukan
3e2973ac2c

+ 1 - 1
alien-lawyer/src/main/java/shop/alien/lawyer/service/impl/LawyerClientConsultationOrderServiceImpl.java

@@ -1122,7 +1122,7 @@ public class LawyerClientConsultationOrderServiceImpl extends ServiceImpl<Lawyer
                     orderNumber, rejectReason);
 
             // 创建并保存通知
-            LifeNotice lifeNotice = createRefundNotice(order.getId(), receiverId, "退款申请处理通知", message);
+            LifeNotice lifeNotice = createRefundNotice(order.getId(), receiverId, "拒绝退款通知", message);
             int noticeResult = lifeNoticeMapper.insert(lifeNotice);
             if (noticeResult <= 0) {
                 log.warn("发送拒绝退款通知失败:保存通知失败,订单ID={}", order.getId());

+ 1 - 1
alien-lawyer/src/main/java/shop/alien/lawyer/service/impl/LawyerConsultationOrderServiceImpl.java

@@ -1672,7 +1672,7 @@ public class LawyerConsultationOrderServiceImpl extends ServiceImpl<LawyerConsul
                     orderNumber != null ? orderNumber : "");
 
             JSONObject jsonObject = new JSONObject();
-            jsonObject.put("title", "退款申请通知");
+            jsonObject.put("title", "申请退款通知");
             jsonObject.put("message", message);
             lifeNotice.setContext(jsonObject.toJSONString());
             lifeNotice.setNoticeType(1);

+ 4 - 4
alien-lawyer/src/main/java/shop/alien/lawyer/service/impl/LawyerUserViolationServiceImpl.java

@@ -388,7 +388,7 @@ public class LawyerUserViolationServiceImpl extends ServiceImpl<LawyerUserViolat
             // 构建通知消息内容
             String message = buildReporterMessage(lawyerUserViolation);
             JSONObject jsonObject = new JSONObject();
-            jsonObject.put("title", "平台已受理");
+            jsonObject.put("title", "举报通知");
             jsonObject.put("message", message);
             lifeNotice.setContext(jsonObject.toJSONString());
             lifeNotice.setNoticeType(1);
@@ -1079,7 +1079,7 @@ public class LawyerUserViolationServiceImpl extends ServiceImpl<LawyerUserViolat
             if (REPORT_CONTEXT_TYPE_ORDER.equals(reportContextType)) {
                 notificationInfo.setMessage("您举报律师服务态度差,经核实,确实存在此行为,"
                         + "订单金额将在1-3个工作日原路返还,请注意查收。");
-                notificationInfo.setTitle("订单举报成功通知");
+                notificationInfo.setTitle("举报成功通知");
             }
         } else {
             // 审批驳回
@@ -1089,7 +1089,7 @@ public class LawyerUserViolationServiceImpl extends ServiceImpl<LawyerUserViolat
                     message += "拒绝原因:" + reportResult;
                 }
                 notificationInfo.setMessage(message);
-                notificationInfo.setTitle("用户举报失败通知");
+                notificationInfo.setTitle("举报失败通知");
             }
         }
 
@@ -1108,7 +1108,7 @@ public class LawyerUserViolationServiceImpl extends ServiceImpl<LawyerUserViolat
         String message = String.format("用户对编号为%s的订单进行申诉,经核实,用户举报属实,"
                 + "订单金额将会退还给用户。", orderId);
         notificationInfo.setMessage(message);
-        notificationInfo.setTitle("咨询订单被举报成功通知");
+        notificationInfo.setTitle("被举报成功通知");
         return notificationInfo;
     }