public class WxOpenMaEmbeddedServiceImpl extends Object implements WxOpenMaEmbeddedService
半屏小程序管理
API_ADD_EMBEDDED, API_DELETE_AUTHORIZED_EMBEDDED, API_DELETE_EMBEDDED, API_GET_EMBEDDED_LIST, API_GET_OWN_LIST, API_SET_AUTHORIZED_EMBEDDED
构造器和说明 |
---|
WxOpenMaEmbeddedServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
void |
addEmbedded(String embeddedAppId,
String applyReason)
添加半屏小程序
|
void |
deleteAuthorizedEmbedded(String embeddedAppId)
取消授权小程序
|
void |
deleteEmbedded(String embeddedAppId)
删除半屏小程序
|
WxOpenMaEmbeddedListResult |
getEmbeddedList()
获取半屏小程序调用列表
|
WxOpenMaEmbeddedListResult |
getOwnList()
获取半屏小程序授权列表
|
WxOpenMaEmbeddedListResult |
getOwnList(Integer start,
Integer num)
获取半屏小程序授权列表
|
void |
setAuthorizedEmbedded(Integer flag)
设置授权方式
|
public void addEmbedded(String embeddedAppId, String applyReason) throws WxErrorException
addEmbedded
在接口中 WxOpenMaEmbeddedService
embeddedAppId
- 半屏小程序appIdapplyReason
- 申请理由WxErrorException
public void deleteEmbedded(String embeddedAppId) throws WxErrorException
deleteEmbedded
在接口中 WxOpenMaEmbeddedService
embeddedAppId
- 半屏小程序appIdWxErrorException
public WxOpenMaEmbeddedListResult getEmbeddedList() throws WxErrorException
getEmbeddedList
在接口中 WxOpenMaEmbeddedService
WxOpenMaEmbeddedListResult
WxErrorException
public void deleteAuthorizedEmbedded(String embeddedAppId) throws WxErrorException
deleteAuthorizedEmbedded
在接口中 WxOpenMaEmbeddedService
embeddedAppId
- 半屏小程序appIdWxErrorException
public WxOpenMaEmbeddedListResult getOwnList() throws WxErrorException
getOwnList
在接口中 WxOpenMaEmbeddedService
WxOpenMaEmbeddedListResult
WxErrorException
public WxOpenMaEmbeddedListResult getOwnList(Integer start, Integer num) throws WxErrorException
getOwnList
在接口中 WxOpenMaEmbeddedService
start
- 分页起始值 ,默认值为0num
- 一次拉取最大值,最大 1000,默认值为10WxOpenMaEmbeddedListResult
WxErrorException
public void setAuthorizedEmbedded(Integer flag) throws WxErrorException
setAuthorizedEmbedded
在接口中 WxOpenMaEmbeddedService
flag
- 半屏小程序授权方式。0表示需要管理员验证;1表示自动通过;2表示自动拒绝。WxErrorException
Copyright © 2024. All rights reserved.