@Service public class OfficialAccountsServiceImpl extends Object implements OfficialAccountsService
| 构造器和说明 |
|---|
OfficialAccountsServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
发送模块消息
|
public void createMenu(String source, MenuBar menuBar) throws com.gitlab.summercattle.commons.exception.CommonException
OfficialAccountsServicecreateMenu 在接口中 OfficialAccountsServicesource - 来源menuBar - 菜单栏com.gitlab.summercattle.commons.exception.CommonException - 异常public void deleteMenu(String source) throws com.gitlab.summercattle.commons.exception.CommonException
OfficialAccountsServicedeleteMenu 在接口中 OfficialAccountsServicesource - 来源com.gitlab.summercattle.commons.exception.CommonException - 异常public void createConditionalMenu(String source, String code, MenuBar menuBar, MatchRule[] matchRules) throws com.gitlab.summercattle.commons.exception.CommonException
OfficialAccountsServicecreateConditionalMenu 在接口中 OfficialAccountsServicesource - 来源code - 编码menuBar - 菜单栏matchRules - 匹配规则com.gitlab.summercattle.commons.exception.CommonException - 异常public void deleteConditionalMenu(String source, String code) throws com.gitlab.summercattle.commons.exception.CommonException
OfficialAccountsServicedeleteConditionalMenu 在接口中 OfficialAccountsServicesource - 来源code - 编码com.gitlab.summercattle.commons.exception.CommonException - 异常public String sendTemplateMessage(String source, int userType, String userInfo, TemplateMessage message) throws com.gitlab.summercattle.commons.exception.CommonException
OfficialAccountsServicesendTemplateMessage 在接口中 OfficialAccountsServicesource - 来源userType - 用户类型userInfo - 用户信息message - 消息com.gitlab.summercattle.commons.exception.CommonException - 异常Copyright © 2022 Summer Cattle Team. All rights reserved.