Skip to content

v1 到 v2 迁移指南

api 简单变化,名称或参数或返回值变更

v2v1变更说明
getExhibitListByPagegetExhibitListByPaging参数无变化
getExhibitByIdgetExhibitInfo增加authInfo参数,可返回授权信息
getCollectionSubListByPagegetCollectionSubList参数无变化
getCollectionsSubListByPagegetCollectionsSubList参数无变化
getCollectionSubByIdgetCollectionSubInfo增加options.authInfo参数,可返回授权信息
getCollectionSubAuthStatusgetCollectionSubAuth参数无变化
setUserDatasetUserData返回值有变化,请查阅参考 api 介绍
getUserDatagetUserData返回值有变化,请查阅参考 api 介绍

api 新增

v2v1用途
getExhibitListAuthByPage分页获取展品列表的授权信息,可选展品信息
getExhibiListAuthById通过展品 ID 批量获取展品详情包含授权信息
getCollectionSubListAuthByPage获取指定合集展品的单品分页列表的授权信息,可选单品信息
getCollectionSubListAuthById获取指定合集展品内多个单品的详细信息、包含授权信息
getCollectionSubListById获取指定合集展品内多个单品的详细信息