public interface WxMaPluginService
详情请见:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/plugin-management/pluginManager.applyPlugin.html 或者:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Mini_Programs/Plug-ins_Management.html
| 限定符和类型 | 方法和说明 |
|---|---|
void |
applyPlugin(String pluginAppId,
String reason)
向插件开发者发起使用插件的申请
|
WxMaPluginListResult |
getPluginList()
查询已添加的插件
|
void |
unbindPlugin(String pluginAppId)
删除已添加的插件
|
void |
updatePlugin(String pluginAppId,
String userVersion)
快速更新插件版本号(第三方平台代小程序管理插件)
|
void applyPlugin(String pluginAppId, String reason) throws WxErrorException
pluginAppId - 插件 appIdreason - 申请使用理由WxErrorException - 异常WxMaPluginListResult getPluginList() throws WxErrorException
WxErrorException - the wx error exceptionvoid unbindPlugin(String pluginAppId) throws WxErrorException
pluginAppId - 插件 appIdWxErrorException - the wx error exceptionvoid updatePlugin(String pluginAppId, String userVersion) throws WxErrorException
pluginAppId - 插件 appiduserVersion - 升级至版本号,要求此插件版本支持快速更新WxErrorException - the wx error exceptionCopyright © 2024. All rights reserved.