1
This commit is contained in:
@@ -69,7 +69,9 @@ public class OrderUtil {
|
|||||||
String content = getFormattedOrderInfo(orderRow);
|
String content = getFormattedOrderInfo(orderRow);
|
||||||
String wxId = getWxidFromJdid(orderRow.getUnionId().toString());
|
String wxId = getWxidFromJdid(orderRow.getUnionId().toString());
|
||||||
// 根据unionId获取接收人列表
|
// 根据unionId获取接收人列表
|
||||||
String touser = WXUtil.getTouserByUnionId(orderRow.getUnionId().toString());
|
String unionIdStr = orderRow.getUnionId().toString();
|
||||||
|
String touser = WXUtil.getTouserByUnionId(unionIdStr);
|
||||||
|
logger.info("京粉订单推送 - unionId={}, wxId={}, touser={}", unionIdStr, wxId, touser);
|
||||||
|
|
||||||
if (Util.isNotEmpty(wxId)) {
|
if (Util.isNotEmpty(wxId)) {
|
||||||
wxUtil.sendTextMessage(wxId, content, 1, wxId, true, touser);
|
wxUtil.sendTextMessage(wxId, content, 1, wxId, true, touser);
|
||||||
|
|||||||
@@ -185,7 +185,8 @@ public class WXUtil {
|
|||||||
jdidToWxidMap.put(superAdmin.getUnionId(), superAdmin.getWxid());
|
jdidToWxidMap.put(superAdmin.getUnionId(), superAdmin.getWxid());
|
||||||
jdidToRemarkMap.put(superAdmin.getUnionId(), superAdmin.getName());
|
jdidToRemarkMap.put(superAdmin.getUnionId(), superAdmin.getName());
|
||||||
}
|
}
|
||||||
logger.info("超级管理员:{} {}", superAdmin.getName(), superAdmin.getWxid());
|
logger.info("超级管理员:{} {}, unionId={}, touser={}",
|
||||||
|
superAdmin.getName(), superAdmin.getWxid(), superAdmin.getUnionId(), superAdmin.getTouser());
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 内部管理群 */
|
/* 内部管理群 */
|
||||||
|
|||||||
Reference in New Issue
Block a user