package com.newfiber.api.pc.controller; import com.newfiber.api.core.annotation.SysLog; import com.newfiber.api.core.commons.ResultCode; import com.newfiber.api.core.commons.ResultObj; import com.newfiber.api.pc.dao.SysButtonsDao; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import java.util.List; import org.springframework.web.bind.annotation.RestController; @RestController @Api(tags = "SYS-02、按钮管理", position = 101) public class ButtonController { @Autowired private SysButtonsDao sysButtonDao; @ApiOperation(value = "列表查询按钮备注") @PostMapping(value="/select_remark_list") @SysLog(actionType="4",value = "列表查询按钮备注") public ResultObj<List<String>> selectRemarkList(){ return new ResultObj<>(ResultCode.OK, sysButtonDao.selectRemarkList()); } }