package com.ylx.order.controller; import com.ylx.common.core.domain.R; import com.ylx.order.domain.vo.RegulationConfigVO; import com.ylx.order.service.RegulationService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import java.util.List; @RestController @RequestMapping("/order/refund") @Api(tags = {"订单退款模块"}) @Slf4j public class RefundController { @Resource private RegulationService regulationService; @ApiOperation("根据商户履约状态获取退款描述") @GetMapping("/desc/list") public R> getDescList(Integer execStatus) { List list = this.regulationService.getDescListByExecStatus(execStatus); return R.ok(list); } }