VideosController.java
731 Bytes
package com.cnlive.shenhe.controller;
import com.alibaba.fastjson.JSONObject;
import com.cnlive.shenhe.entity.ShyVideos;
import com.cnlive.shenhe.serviceImpl.VideosServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
/**
* @Auther: chenhao
* @Date: 2018/11/30 14:22
* @Description:视频送审接口
*/
@Controller
@RequestMapping("/videos")
public class VideosController {
@Autowired
VideosServiceImpl videosServiceImpl;
@PostMapping("/import")
@ResponseBody
public String impotVideo(@RequestBody JSONObject json){
return videosServiceImpl.impotVideo(json);
}
}