cms
模板引擎标签语法

影片详情信息

更新时间:2024-05-12

  1. 用法示例
  2. 点此复制
    <getVideoDetail name="$info" id="$.Q.id">
    	<print data="$info" />
    </getVideoDetail>
  3. 标签参数
  4. 参数说明
    字段名 字段类型 字段说明 是否必要 默认值
    id int64 视频id false
    name string 变量名 false $info
  5. 响应结果
  6. 200 模板渲染返回

    响应参数 响应示例

    响应参数
    字段名 字段类型 字段说明 是否必要 默认值
    Pre struct 上一部 true
    Id int64 id true
    Name string 影片标题 true
    Info struct 视频详情 true
    Id int64 id true
    Name string 名称 true
    Alias string 别名 true
    Date int64 日期 true
    SurfacePlot string 影片封面图 true
    VerticalPoster string 竖版海报 true
    HorizontalPoster string 横版海报 true
    Screenshot string 截图 true
    Duration int 时长 true
    PlayLines slice 播放线路 true
    Id int64 线路id true
    Name string 线路名称 true
    Sort int 线路排序 true
    Addr slice 集数地址 true
    ID int64 集数id true
    Name string 名称 true
    Url string 播放地址 true
    Sort int 排序 true
    Index int 序号 true
    ChargingMode int 收费模式 1免费 2vip免费 3金币点播 true
    Currency int 金币数量 true
    SubTitle string 副标题 true
    AddrNum int 播放地址总数 true
    PlayLineNum int 播放线路数量 true
    Directors slice 导演 true
    Id int64 名人id true
    Name string 名人姓名(中文) true
    Introduce string 简介 true
    Areas string 地区(国籍) true
    Avatar string 头像 true
    Num int 影片数 true
    EnglishName string 英文姓名 true
    Profession string 职业 true
    Popularity int 人气 true
    Actors slice 演员 true
    Id int64 名人id true
    Name string 名人姓名(中文) true
    Introduce string 简介 true
    Areas string 地区(国籍) true
    Avatar string 头像 true
    Num int 影片数 true
    EnglishName string 英文姓名 true
    Profession string 职业 true
    Popularity int 人气 true
    Languages slice 语言 true
    ID int64 id true
    Name string 语言美年广场 true
    Areas slice 地区 true
    ID int64 id true
    Name string 名称 true
    Category struct 一级分类 true
    ID int64 id true
    Name string 名称 true
    CategoryChild struct 二级分类 true
    ID int64 id true
    Name string 名称 true
    ReleaseDate int64 上映时间 true
    ShelfDate int64 发布(更新)时间 true
    Total int 总集数 true
    Num int 更新集数 true
    End bool 是否完结 true
    Unit string 剧集单位 true
    Tag slice 备注 true
    ID int64 id true
    Name string 名称 true
    Publish string 发行商 true
    Special string 序号 true
    Popularity int 人气 true
    Watch int 观看数 true
    Introduce string 简介 true
    DbScore int64 豆瓣评分 true
    ScoreFormat string 评分格式 true
    Info struct true
    Id int64 true
    Title string 影片标题 true
    SurfacePlot string 影片封面图 true
    Recommend int 是否推荐 1是 2否 true
    Cycle int 是否轮播 1是 2否 true
    ChargingMode int 收费模式 1免费 2vip免费 3金币点播 true
    Note string 备注 true
    Introduce string 简介 true
    CycleImg string 轮播图片 true
    Duration int 时长(单位s) true
    Number int 集数 true
    CategoryPid int64 一级分类id true
    CategoryChildId int64 二级分类id true
    BuyMode int 购买模式 1按部 2按集 true
    Gold int64 金币 true
    SiteId int64 站点id true
    Label string true
    ImdbScore int64 imd评分.百分制 true
    DoubanScore float64 豆瓣评分.百分制 true
    ScoreFormat string 评分.格式 true
    Directors string 导演 true
    Actors string 演员 true
    Label string 自定义标签 true
    Region string 地区 true
    Language string 语言 true
    Year string 年份 true
    CelebrityList slice 名人简略信息 true
    Id int64 true
    ChineseName string 中文姓名 true
    HeadImg string 头像 true
    Lines slice 线路 true
    Id int64 true
    Name string 名称 true
    VideoID int64 视频id true
    Sort int 序号 true
    Playline slice 播放地址 true
    Id int64 true
    VideoLineID int64 资源id true
    VideoID int64 true
    Name string true
    Sort int true
    File string true
    ChargingMode int true
    Currency int true
    SubTitle string true
    Status int true
    CreateAt int64 true
    UpdateAt int64 true
    SiteId int64 true
    Tag string true
    LiveSource int true
    IsVertical int 是否是竖屏,1-是,0-否 true
    Next struct 下一部 true
    Id int64 id true
    Name string 影片标题 true
    点此复制
    {
    	"Pre": {
    		"Id": 0,
    		"Name": ""
    	},
    	"Info": {
    		"Id": 0,
    		"Name": "",
    		"Alias": "",
    		"Date": 0,
    		"SurfacePlot": "",
    		"VerticalPoster": "",
    		"HorizontalPoster": "",
    		"Screenshot": "",
    		"Duration": 0,
    		"PlayLines": Null,
    		"PlayLineNum": 0,
    		"Directors": Null,
    		"Actors": Null,
    		"Languages": Null,
    		"Areas": Null,
    		"Category": {
    			"Id": 0,
    			"Name": ""
    		},
    		"CategoryChild": {
    			"Id": 0,
    			"Name": ""
    		},
    		"ReleaseDate": 0,
    		"ShelfDate": 0,
    		"Total": 0,
    		"Num": 0,
    		"End": False,
    		"Unit": "",
    		"Tag": Null,
    		"Publish": "",
    		"Special": "",
    		"Popularity": 0,
    		"Watch": 0,
    		"Introduce": "",
    		"DbScore": 0,
    		"ScoreFormat": "",
    		"Info": Null,
    		"IsVertical": 0
    	},
    	"Next": {
    		"Id": 0,
    		"Name": ""
    	}
    }