admin
2021-08-13 cdc3690a0354e01b44852f4c9da3b7204128d2eb
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
package com.yeshi.buwan.util.video.shortvideo;
 
import com.yeshi.buwan.domain.VideoResource;
import com.yeshi.buwan.domain.entity.PlayUrl;
import com.yeshi.buwan.domain.solr.SolrShortVideo;
import com.yeshi.buwan.iqiyi.util.IqiyiUtil;
 
public class ShortVideoUtil {
 
    /**
     * 是否为短视频的videoId
     *
     * @param id
     * @return
     */
    public static boolean isShortVideoId(String id) {
        if (id != null && id.startsWith("s-")) {
            return true;
        }
        return false;
    }
 
 
 
}