Skip to content

0. 到 0.5 迁移指南

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

0.50.4变更说明
getExhibitListByPagegetExhibitListByPaging参数无变化
getExhibitByIdgetExhibitInfo增加authInfo参数,可返回授权信息
getCollectionSubListByPagegetCollectionSubList参数无变化
getCollectionsSubListByPagegetCollectionsSubList参数无变化
getCollectionSubByIdgetCollectionSubInfo增加options.authInfo参数,可返回授权信息
getCollectionSubAuthStatusgetCollectionSubAuth参数无变化
setUserDatasetUserData返回值有变化,请查阅参考 api 介绍
getUserDatagetUserData返回值有变化,请查阅参考 api 介绍
getSelfDependencyTreegetSelfDep名称变化,无参数,直接从服务端获取主题或插件的依赖树,主题可以使用 getSelfDepForTheme
getSelfPropertygetSelfProperty参数变成无参数,直接从服务端获取主题或插件的属性,主题可以使用 getSelfPropertyForTheme

api 新增

0.50.4用途
getExhibitListAuthByPage分页获取展品列表的授权信息,可选展品信息
getExhibiListAuthById通过展品 ID 批量获取展品详情包含授权信息
getCollectionSubListAuthByPage获取指定合集展品的单品分页列表的授权信息,可选单品信息
getCollectionSubListAuthById获取指定合集展品内多个单品的详细信息、包含授权信息
getCollectionSubListById获取指定合集展品内多个单品的详细信息
getSelfDepForThemegetSelfDependencyTree对应之前的 api,增加主题独有的,无须 await,运行时直接提供
getSelfPropertyForThemegetSelfProperty对应之前的 api,增加主题独有的,无须 await,运行时直接提供