*/
// FIXME 不要返回String
@RequestMapping(value = "/login", method = RequestMethod.POST)
public String loginExecute(String email, String password, String requestFrom) {
String loginIp = WebHelper.initRequest(null).getRemoteAddr();
User user = basicUserService.login(email, password, loginIp);
WebHelper.initRequest(null).setAttribute("REQUEST_FROM",
StringUtils.trimToEmpty(requestFrom));
if (user != null) {
List<Fan> idols = attentionService.queryAttentionByType(user.getId(), IdolType.USER);
AuthorityUtil.initalAuthorityMatrix(null, user.getId(), idols);
WebHelper.setSessionAttribute(null, Constant.SESSION_USER, user);
WebHelper.setSessionAttribute(null, Constant.SESSION_IDOLS, idols);
LOGGER.debug("登录成功,目标地址:"+requestFrom);
if (StringUtils.isEmpty(requestFrom)) {
// return loginedView;