admin
2021-03-01 d73687bc6115007145b4aab050e4e29ff87fd8ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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 "";
    }
 
 
}