Commit 651181c8 authored by xuxin's avatar xuxin

添加用户打开店铺记录

parent a8feb8ff
......@@ -71,7 +71,7 @@ public class HistoryController {
}
@PostMapping("/url/add")
public void addWinlog(Principal principal, @RequestParam String urlRecord) {
public void addWinlog(Principal principal, @RequestBody 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