This commit is contained in:
van
2026-04-01 16:39:03 +08:00
parent 921c8a2374
commit 9ae74c999e
3 changed files with 19 additions and 10 deletions

View File

@@ -35,7 +35,10 @@ public class WeComChatSession {
this.lastInteractionTime = LocalDateTime.now().format(FMT);
}
public boolean isLogisticsWaitRemark() {
/**
* 是否处于「已收物流链、待备注」步骤。方法名避免使用 isXxx防止 Fastjson 序列化 Redis JSON 时混入多余布尔字段。
*/
public boolean matchLogisticsWaitRemark() {
return SCENE_JD_LOGISTICS_SHARE.equals(scene) && STEP_WAIT_REMARK.equals(step)
&& logisticsUrl != null && !logisticsUrl.isEmpty();
}