123456789101112131415161718192021222324252627 |
- package cn.efunbox.audio.controller.hag;
- import cn.efunbox.audio.service.hag.HagContentService;
- import cn.efunbox.audio.vo.hag.HagSkillReq;
- import cn.efunbox.audio.vo.hag.HagSkillResp;
- import org.springframework.beans.factory.annotation.Autowired;
- 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.RestController;
- /**
- * HagResourceController
- * Created by xusq on 2019/12/26.
- */
- @RestController
- @RequestMapping("/api/hag/v1/resource")
- public class HagResourceController {
- @Autowired
- private HagContentService hagContentService;
- @PostMapping
- public HagSkillResp url(@RequestBody HagSkillReq skillReq) {
- return hagContentService.getResUrl(skillReq);
- }
- }
|