diff options
Diffstat (limited to 'src/main/java/com/juick/www/ad/SapeService.java')
-rw-r--r-- | src/main/java/com/juick/www/ad/SapeService.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/juick/www/ad/SapeService.java b/src/main/java/com/juick/www/ad/SapeService.java index 3c35f320..7b398806 100644 --- a/src/main/java/com/juick/www/ad/SapeService.java +++ b/src/main/java/com/juick/www/ad/SapeService.java @@ -18,7 +18,6 @@ package com.juick.www.ad; import com.juick.model.User; -import com.juick.service.security.annotation.Visitor; import com.juick.www.controllers.Site; import org.apache.commons.lang3.StringUtils; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; @@ -47,7 +46,7 @@ public class SapeService { @ModelAttribute public void addSapeLinks( - @Visitor User visitor, + @ModelAttribute User visitor, @CookieValue(name = "sape_cookie", required = false, defaultValue = StringUtils.EMPTY) String sapeCookie, @RequestParam(required = false, defaultValue = "0") int before, @RequestParam(name = "show", required = false) String paramShow, |