package com.ruoyi.order.controller; import com.ruoyi.common.core.domain.R; import com.ruoyi.order.entity.ServeRecord; import com.ruoyi.order.service.ServeRecordService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; /** *
* 用户评价表 前端控制器 *
* * @author hjl * @since 2024-05-29 */ @RestController @RequestMapping("/serveRecord") @Api(tags = {"后台-系统设置-订单评价管理"}) public class ServeRecordController { @Resource private ServeRecordService serveRecordService; /** * 根据订单id获取服务记录 * * @param orderId 订单id */ @ApiOperation(value = "根据订单id获取服务记录", tags = {"后台-系统设置-订单评价管理"}) @GetMapping(value = "/serveRecordByOrderId") public R