1
This commit is contained in:
+7
-2
@@ -126,6 +126,10 @@ public class OrderProfitAnalysisServiceImpl implements IOrderProfitAnalysisServi
|
||||
@Value("${jarvis.order-profit-analysis.touser:}")
|
||||
private String analysisTouser;
|
||||
|
||||
/** 企微应用 AgentId,须与 wxSend qywx.app.reportAgentId 一致 */
|
||||
@Value("${jarvis.order-profit-analysis.agent-id:1000014}")
|
||||
private String analysisAgentId;
|
||||
|
||||
@Value("${jarvis.wecom.goofish-notify-touser:}")
|
||||
private String fallbackTouser;
|
||||
|
||||
@@ -451,8 +455,9 @@ public class OrderProfitAnalysisServiceImpl implements IOrderProfitAnalysisServi
|
||||
if (chunks == null || chunks.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
log.info("利润分析推送拆成 {} 条 toUser={}", chunks.size(), toUser);
|
||||
return phoneForwardActivePush.schedulePushChunks(toUser, null, chunks);
|
||||
String agentId = StringUtils.isNotEmpty(analysisAgentId) ? analysisAgentId.trim() : "1000014";
|
||||
log.info("利润分析推送拆成 {} 条 toUser={} agentId={}", chunks.size(), toUser, agentId);
|
||||
return phoneForwardActivePush.schedulePushChunks(toUser, agentId, chunks);
|
||||
}
|
||||
|
||||
private static List<String> labelChunks(List<String> chunks) {
|
||||
|
||||
Reference in New Issue
Block a user