package com.ruzhoukj.sms.controller; import com.ruzhoukj.sms.entity.RagasDataEntity; import com.ruzhoukj.sms.service.RagasDataService; 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; import javax.annotation.Resource; @RestController @RequestMapping("/ragas") public class RagasDataController { @Resource private RagasDataService ragasDataService; @PostMapping("/save") public void save(@RequestBody RagasDataEntity ragasDataEntity) { ragasDataService.save(ragasDataEntity); } }