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

import com.hzs.common.core.web.controller.BaseController;
import com.hzs.common.core.web.page.TableDataInfo;
import com.hzs.common.domain.bonus.BdBonusInstall;
import com.hzs.system.bonus.service.IBdBonusInstallService;
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;

/**
 * @Description:  奖金配置
 * @Author: yuhui
 * @Time: 2022/10/28 15:05
 * @Classname: BdBonusInstallController
 * @PackageName: com.hzs.sale.bonus.controller.manage
 */
@RestController
@RequestMapping("/manage/bonus-install")
public class BdBonusInstallController extends BaseController {

    @Autowired
    private IBdBonusInstallService bonusInstallService;


    /**
     *
     * @return
     */
    @GetMapping("list")
    public TableDataInfo list(){
        List<BdBonusInstall> list = bonusInstallService.list();
        return getDataTable(list);
    }


}
