package com.hzs.system.sys.controller.manage;

import java.util.List;

import com.hzs.common.domain.system.sys.SysLogininfor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.hzs.common.core.web.controller.BaseController;
import com.hzs.common.core.web.page.TableDataInfo;
import com.hzs.system.sys.service.ISysLogininforService;

/**
 * 系统访问记录
 *
 * @author hzs
 */
@RestController
@RequestMapping("/manage/logininfor")
public class SysLogininforController extends BaseController {

    @Autowired
    private ISysLogininforService iSysLogininforService;

    /**
     * 列表
     *
     * @param logininfor
     * @return
     */
    @GetMapping("/list")
    public TableDataInfo list(SysLogininfor logininfor) {
        startPage();
        List<SysLogininfor> list = iSysLogininforService.selectLogininforList(logininfor);
        return getDataTable(list);
    }

}
