0. 到 0.5 迁移指南
api 简单变化,名称或参数或返回值变更
0.5 | 0.4 | 变更说明 |
---|---|---|
getExhibitListByPage | getExhibitListByPaging | 参数无变化 |
getExhibitById | getExhibitInfo | 增加authInfo 参数,可返回授权信息 |
getCollectionSubListByPage | getCollectionSubList | 参数无变化 |
getCollectionsSubListByPage | getCollectionsSubList | 参数无变化 |
getCollectionSubById | getCollectionSubInfo | 增加options.authInfo 参数,可返回授权信息 |
getCollectionSubAuthStatus | getCollectionSubAuth | 参数无变化 |
setUserData | setUserData | 返回值有变化,请查阅参考 api 介绍 |
getUserData | getUserData | 返回值有变化,请查阅参考 api 介绍 |
getSelfDependencyTree | getSelfDep | 名称变化,无参数,直接从服务端获取主题或插件的依赖树,主题可以使用 getSelfDepForTheme |
getSelfProperty | getSelfProperty | 参数变成无参数,直接从服务端获取主题或插件的属性,主题可以使用 getSelfPropertyForTheme |
api 新增
0.5 | 0.4 | 用途 |
---|---|---|
getExhibitListAuthByPage | 分页获取展品列表的授权信息,可选展品信息 | |
getExhibiListAuthById | 通过展品 ID 批量获取展品详情包含授权信息 | |
getCollectionSubListAuthByPage | 获取指定合集展品的单品分页列表的授权信息,可选单品信息 | |
getCollectionSubListAuthById | 获取指定合集展品内多个单品的详细信息、包含授权信息 | |
getCollectionSubListById | 获取指定合集展品内多个单品的详细信息 | |
getSelfDepForTheme | getSelfDependencyTree | 对应之前的 api,增加主题独有的,无须 await,运行时直接提供 |
getSelfPropertyForTheme | getSelfProperty | 对应之前的 api,增加主题独有的,无须 await,运行时直接提供 |