package com.yeshi.buwan.controller.api;
|
|
import com.yeshi.buwan.service.inter.push.PushDeviceTokenService;
|
import com.yeshi.buwan.vo.AcceptData;
|
import org.slf4j.Logger;
|
import org.slf4j.LoggerFactory;
|
import org.springframework.stereotype.Controller;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import javax.annotation.Resource;
|
|
@Controller
|
@RequestMapping("api/v2/video/play")
|
public class VideoPlayController {
|
|
Logger logger = LoggerFactory.getLogger(VideoPlayController.class);
|
|
@Resource
|
private PushDeviceTokenService pushDeviceTokenService;
|
|
|
/**
|
* PPTV播放
|
*
|
* @param acceptData
|
* @param loginUid
|
* @param cid
|
* @param vid
|
* @return
|
*/
|
@RequestMapping("pptvPlay")
|
@ResponseBody
|
public String pptvPlay(AcceptData acceptData, String loginUid, String cid, String vid) {
|
|
logger.info("播放PPTV:loginUid-{},cid-{},vid-{}", loginUid, cid, vid);
|
|
return "";
|
}
|
|
|
}
|