| | |
| | | import org.apache.commons.collections.CollectionUtils;
|
| | | import org.apache.commons.lang.StringUtils;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.web.bind.annotation.CrossOrigin;
|
| | | import org.springframework.web.bind.annotation.RequestMapping;
|
| | | import org.springframework.web.bind.annotation.RequestMethod;
|
| | | import org.springframework.web.bind.annotation.ResponseBody;
|
| | |
| | | */
|
| | | @RestController
|
| | | @RequestMapping(value = "screen")
|
| | | @CrossOrigin(origins = "*", maxAge = 3600)
|
| | | public class ScreenApiController {
|
| | |
|
| | | @Autowired
|
| | |
| | | * @param request the request
|
| | | * @return the map
|
| | | */
|
| | | @RequestMapping(value = "/login", method = RequestMethod.POST)
|
| | | @RequestMapping(value = "/login", method = RequestMethod.GET)
|
| | | public Map<String, Object> screenLogin(HttpServletRequest request) {
|
| | | Map<String, Object> resultMap = new HashMap<String, Object>();
|
| | | String msg = "";
|