package com.flossom.miniProgram.controller;

import com.flossom.common.core.domain.SysFiringInfo;
import com.flossom.common.core.web.controller.BaseController;
import com.flossom.common.core.web.domain.AjaxResult;
import com.flossom.common.core.web.page.TableDataInfo;
import com.flossom.miniProgram.service.ISysFiringInfoService;
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 java.util.List;


/**
 * 文件
 */
@RestController
@RequestMapping("/firing")
public class SysFiringInfoController extends BaseController {

    @Autowired
    private ISysFiringInfoService sysFiringInfoService;

    /**
     * 查询登录信息列表
     */
    @GetMapping("/list")
    public TableDataInfo list(SysFiringInfo sysFiringInfo) {
        startPage();
        List<SysFiringInfo> list = sysFiringInfoService.selectSysFiringInfoList(sysFiringInfo);
        return getDataTable(list);
    }


}
