package com.ruoyi.system.controller; import com.ruoyi.common.core.domain.R; import com.ruoyi.common.core.utils.page.BeanUtils; import com.ruoyi.system.domain.Agreement; import com.ruoyi.system.domain.dto.AgreementDTO; import com.ruoyi.system.service.IAgreementService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import java.util.List; import javax.annotation.Resource; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; /** *
* 前端控制器 *
* * @author mitao * @since 2024-05-21 */ @RestController @RequestMapping("/agreement") @Api(tags = "系统管理相关接口") public class AgreementController { @Resource private IAgreementService iAgreementService; @RequestMapping(value = "/getAgreement/{agreementType}", method = RequestMethod.GET) @ApiOperation(value = "获取用户协议/隐私协议/竞拍说明") public R