| | |
| | | import com.matrix.system.common.service.SysUsersService; |
| | | import com.matrix.system.common.tools.PasswordUtil; |
| | | import com.matrix.system.common.tools.ResponseHeadUtil; |
| | | import com.matrix.system.constance.SystemConstance; |
| | | import com.matrix.system.hive.action.util.QueryUtil; |
| | | import com.matrix.system.hive.bean.SysVipInfo; |
| | | import org.apache.commons.lang.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | |
| | | import java.net.URLEncoder; |
| | | import java.security.NoSuchAlgorithmException; |
| | | import java.util.ArrayList; |
| | | import java.util.LinkedList; |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | |
| | | import static com.matrix.system.common.constance.AppConstance.SAFEPATH; |
| | | |
| | | /** |
| | | * @author 姜ø友瑶 |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询历史搜索人数 |
| | | * |
| | | * @return |
| | | * @author luoyuanhong |
| | | */ |
| | | @SuppressWarnings("unchecked") |
| | | @RequestMapping(value = "/showHistoryUser") |
| | | public @ResponseBody |
| | | AjaxResult showHistoryUser() { |
| | | if (WebUtil.getSession().getAttribute(SystemConstance.HISTORY_CUSTOMER) != null) { |
| | | return new AjaxResult(AjaxResult.STATUS_SUCCESS, |
| | | (LinkedList<SysVipInfo>) WebUtil.getSession().getAttribute(SystemConstance.HISTORY_CUSTOMER), 0); |
| | | } else { |
| | | return new AjaxResult(AjaxResult.STATUS_SUCCESS, null, 0); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |