访问路径:/api/app/orgAppToTmplate
应用权限:作品——>作品信息
接口说明:企业作品转模版
类型: POST
Author: Shang Pan,flame
Content-Type: application/json; charset=utf-8
接口描述 企业作品转模版
Request-headers:
Header | 类型 | 是否必填 | 字段描述 |
---|---|---|---|
X-Token | string | true | token |
接口入参:
参数 | 类型 | 是否必填 | 字段描述 |
---|---|---|---|
appId | string | true | 作品ID |
uid | string | true | 第三方平台用户的用户id |
companyId | string | false | 第三方平台企业id |
接口出参:
Field | 类型 | 字段描述 |
---|---|---|
code | string | 状态码 |
errorCode | string | 错误状态码 |
msg | string | 状态描述 |
data | object | 数据 |
└─orgtplId | string | 模板id |
└─orgtplOrg | string | 企业ID |
└─orgtplApp | string | 转模板对应appid |
└─orgtplUser | string | 模板归属用户id |
└─orgtplType | string | 企业模版类型,C:卡片模版,T:主题模版 |
└─orgtplTitle | string | 企业模板标题 |
└─orgtplDesc | string | 模版摘要描述 |
└─orgtplFile | string | 模版封面图,文件ID |
└─orgtplFilepath | string | 模版封面图文件路径url,基于CDN + imgKey动态生成 |
└─orgtplSort | int32 | 模版排序字段 |
└─orgtplData | string | 模版内容 |
└─orgtplRemark | string | 评论 |
└─orgtplUsecount | int32 | 模版使用次数 |
└─orgtplLasttime | string | 模版下架时间 |
└─orgtplState | string | 企业模板上架状态;U:上架,D:下架 |
└─orgtplStatetime | string | 模版上架时间 |
└─orgtplCt | string | 模板创建时间 |
└─orgtplUt | string | 模版更新时间 |
└─orgtplSpecies | string | 长页与兔展标示 |
└─orgtplExt | string | 视频数据 |
└─appVersion | int32 | 作品版本(0:老作品,1:老作品转新作品,2:新作品,3:小程序) |
└─pluginId | int64 | 插件ID |
└─pluginClassifyId | int32 | 插件分类id |
└─pluginPlayWayKey | string | 插件玩法KEY |
└─pluginPlayWayType | string | 玩法json |
└─tplclass | string | 分类 |
└─tplscene | string | 场景 |
└─tpltheme | string | 主题 |
└─tplStyle | string | 风格 |