123456789101112131415161718192021222324252627 |
- package cn.efunbox.audio.controller.hag;
- import cn.efunbox.audio.service.hag.HagProductService;
- import cn.efunbox.audio.vo.hag.HagProductReq;
- import cn.efunbox.audio.vo.hag.HagProductResp;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- /**
- * HagProductController
- * Created by xusq on 2019/12/25.
- */
- @RestController
- @RequestMapping("/api/hag/v1/product")
- public class HagProductController {
- @Autowired
- private HagProductService hagProductService;
- @RequestMapping
- public HagProductResp list(@RequestBody HagProductReq productReq) {
- return hagProductService.list(productReq);
- }
- }
|