| | |
| | | import com.ruoyi.order.service.order.UserServiceRecordService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.log4j.Log4j2; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | |
| | | @Api(value = "商户端服务相关接口", tags = "商户端服务相关接口", description = "商户端服务相关接口") |
| | | @RestController |
| | | @RequestMapping("/mer/consumer") |
| | | @Log4j2 |
| | | public class MerConsumerController { |
| | | |
| | | @Resource |
| | |
| | | private UserServiceRecordService userServiceRecordService; |
| | | |
| | | @RequestMapping(value = "/listMerConsumerGoods", method = RequestMethod.POST) |
| | | @ApiOperation(value = "获取用户服务列表") |
| | | @ApiOperation(value = "获取用户服务列表【2.0】") |
| | | public R<MerConsumerGoodsVo> listMerConsumerGoods(@RequestBody MerConsumerGoodsDto merConsumerGoodsDto) { |
| | | Long userId = SecurityUtils.getUserId(); |
| | | merConsumerGoodsDto.setUserId(userId); |