package com.ifast.sys.controller; import com.ifast.common.annotation.Log; import com.ifast.common.utils.Result; import com.ifast.sys.domain.UserOnline; import com.ifast.sys.service.SessionService; import org.apache.shiro.session.Session; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.servlet.mvc.support.RedirectAttributes; import java.util.Collection; import java.util.List; /** *
** 2018年3月23日 | Aron */ @RequestMapping("/sys/online") @Controller public class SessionController { @Autowired SessionService sessionService; @GetMapping() public String online() { return "sys/online/online"; } @ResponseBody @RequestMapping("/list") public List