From 5df732ffe16b3f162422c2db61a78458e28c7f8d Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期五, 10 十月 2025 14:45:29 +0800
Subject: [PATCH] 钥匙柜开发 天气预警通知
---
server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/hksync/HkSyncNoticeServiceImpl.java | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/hksync/HkSyncNoticeServiceImpl.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/hksync/HkSyncNoticeServiceImpl.java
index 74b5fc2..6891560 100644
--- a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/hksync/HkSyncNoticeServiceImpl.java
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/hksync/HkSyncNoticeServiceImpl.java
@@ -23,6 +23,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
+import java.net.URLEncoder;
import java.util.*;
/**
@@ -107,7 +108,6 @@
}
userIds.add(u.getId());
JSONObject param = new JSONObject();
-
param.put("componentId","dfe");
param.put("msgType","tlnc");
param.put("componentMenuId", data.getMenuCode());
@@ -132,8 +132,11 @@
notices.setParam3(data.getMsgCreateTime());
notices.setParam5(JSONObject.toJSONString(param));
notices.setType(Constants.noticesObjectType.hknotice);
- notices.setRemark(gotoUrl+"dps/web/wxAuth/loginV2?oaId=atwl&redirectId=index");
- notices.setRemark(gotoUrl+StringUtils.defaultString(data.getSegmentId(),"")+StringUtils.defaultString(data.getH5Url(),""));
+// notices.setRemark(gotoUrl+"dps/web/wxAuth/loginV2?oaId=atwl&redirectId=index");
+ //https://atwl.ahzyssl.com/dps/web/wxAuth/loginV2?oaId=atwl&redirectUrl=encode(url)
+ String domainUrl = gotoUrl + HKConstants.InterfacePath.wxAuthUrl[0];
+ notices.setRemark(domainUrl+ URLEncoder.encode("/"+StringUtils.defaultString(data.getSegmentId(),"")
+ +StringUtils.defaultString(data.getH5Url(),""),"utf-8"));
list.add(notices);
}
if(list.size()>0){
--
Gitblit v1.9.3