| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.text.ParseException; |
| | | |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_NUM; |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE; |
| | | |
| | |
| | | */ |
| | | @Log(title = "直播", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody LiveStreaming liveStreaming) |
| | | { |
| | | public AjaxResult add(@RequestBody LiveStreaming liveStreaming) throws ParseException { |
| | | return liveStreamingService.addData(liveStreaming); |
| | | } |
| | | } |