Commit 0cf647dd authored by xuxin's avatar xuxin

用户打开店铺记录在保存记录的同时删除过期的记录 修改为只保留一天的记录

parent d9a0595d
......@@ -148,7 +148,7 @@ public class HistoryServiceImpl implements HistoryService {
@Override
public void addBrowserWinLog(String username, WinHistory winHistory) {
browserWinLogRepository.deleteBeforeWinLog(username, 3);
browserWinLogRepository.deleteBeforeWinLog(username, 1);
browserWinLogRepository.addWinLog(username, winHistory);
}
}
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