修复访问量统计
This commit is contained in:
parent
bbcbb37452
commit
257d4eea37
|
@ -143,7 +143,7 @@ public class ToolController{
|
|||
* 访问量记录
|
||||
*/
|
||||
@PostMapping("/addAccess")
|
||||
public R addAccess(Long id, int type) {
|
||||
public R addAccess(@RequestParam Long id, @RequestParam Integer type) {
|
||||
UpdateWrapper<Tool> updateWrapper = new UpdateWrapper<>();
|
||||
updateWrapper.eq("id", id);
|
||||
if(type==1){
|
||||
|
|
Loading…
Reference in New Issue