Commit 1791abf9 authored by renandong's avatar renandong 🇨🇳

1,保存推送日志

parent 07de9d2b
...@@ -100,10 +100,10 @@ public class PushLogServiceImpl extends ServiceImpl<PushLogDao, PushLogEntity> i ...@@ -100,10 +100,10 @@ public class PushLogServiceImpl extends ServiceImpl<PushLogDao, PushLogEntity> i
pushTarget = "all"; pushTarget = "all";
} else { } else {
int length = cid.length(); int length = cid.length();
if (length <= 200) { if (length > 200) {
pushTarget = cid.substring(0, 200);
} else {
pushTarget = "toListMessage"; pushTarget = "toListMessage";
} else {
pushTarget = cid;
} }
} }
pushLogEntity.setPushTarget(pushTarget); pushLogEntity.setPushTarget(pushTarget);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment