public interface OfficialAccountsService
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createConditionalMenu(String source,
String code,
MenuBar menuBar,
MatchRule[] matchRules)
创建个性化菜单
|
void |
createMenu(String source,
MenuBar menuBar)
创建菜单
|
void |
deleteConditionalMenu(String source,
String code)
删除个性化菜单
|
void |
deleteMenu(String source)
删除菜单
|
String |
sendTemplateMessage(String source,
int userType,
String userInfo,
TemplateMessage message)
发送模块消息
|
void createMenu(String source, MenuBar menuBar) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源menuBar - 菜单栏com.gitlab.summercattle.commons.exception.CommonException - 异常void deleteMenu(String source) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源com.gitlab.summercattle.commons.exception.CommonException - 异常void createConditionalMenu(String source, String code, MenuBar menuBar, MatchRule[] matchRules) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源code - 编码menuBar - 菜单栏matchRules - 匹配规则com.gitlab.summercattle.commons.exception.CommonException - 异常void deleteConditionalMenu(String source, String code) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源code - 编码com.gitlab.summercattle.commons.exception.CommonException - 异常String sendTemplateMessage(String source, int userType, String userInfo, TemplateMessage message) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源userType - 用户类型userInfo - 用户信息message - 消息com.gitlab.summercattle.commons.exception.CommonException - 异常Copyright © 2022 Summer Cattle Team. All rights reserved.