Commit a8feb8ff authored by xuxin's avatar xuxin

添加用户打开店铺记录

parent eb12125d
......@@ -71,8 +71,8 @@ public class HistoryController {
}
@PostMapping("/url/add")
public void addWinlog(Principal principal, @RequestParam String record) {
WinHistory winHistory = new WinHistory(Instant.now().toEpochMilli(), record);
public void addWinlog(Principal principal, @RequestParam String urlRecord) {
WinHistory winHistory = new WinHistory(Instant.now().toEpochMilli(), urlRecord);
historyService.addBrowserWinLog(principal.getName(), 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