| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.web.servlet.HandlerInterceptor; |
| | | import org.web3j.crypto.Hash; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | responseUnAuth(response); |
| | | return false; |
| | | } |
| | | if(AppContants.INT_FLAG_Y != memberEntity.getAccountStatus()){ |
| | | responseUnAuth(response); |
| | | return false; |
| | | } |
| | | |
| | | request.getSession().setAttribute("member", memberEntity); |
| | | return true; |