cms
模板引擎标签语法

专题详情信息

更新时间:2024-05-12

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

    响应参数 响应示例

    响应参数
    字段名 字段类型 字段说明 是否必要 默认值
    ID int64 id true
    Title string 标题 true
    SurfacePlot string 封面地址 true
    Recommend int 是否推荐 1是 2否 true
    Introduce string 简介 true
    PopularityDay int 日人气 true
    PopularityWeek int 周人气 true
    PopularityMonth int 月人气 true
    PopularitySum int 总人气 true
    Note string 备注 true
    VideoNum int 视频数量 true
    点此复制
    {
    	"Id": 0,
    	"Title": "",
    	"SurfacePlot": "",
    	"Recommend": 0,
    	"Introduce": "",
    	"PopularityDay": 0,
    	"PopularityWeek": 0,
    	"PopularityMonth": 0,
    	"PopularitySum": 0,
    	"Note": "",
    	"VideoNum": 0
    }