public class WxMaQrcodeJumpServiceImpl extends Object implements WxMaQrcodeJumpService
| 构造器和说明 |
|---|
WxMaQrcodeJumpServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
addRule(WxMaQrcodeJumpRule rule)
添加二维码快速跳转规则。
|
String |
deleteRule(String prefix)
删除二维码快速跳转规则。
|
List<WxMaQrcodeJumpRule> |
getRuleList(Integer getType,
Integer pageNum,
Integer pageSize)
分页获取二维码快速跳转规则列表。
|
List<WxMaQrcodeJumpRule> |
getRules(Boolean isDefault,
String prefix)
获取二维码快速跳转规则。
|
public String addRule(WxMaQrcodeJumpRule rule) throws WxErrorException
WxMaQrcodeJumpServiceaddRule 在接口中 WxMaQrcodeJumpServicerule - 规则WxErrorExceptionpublic List<WxMaQrcodeJumpRule> getRules(Boolean isDefault, String prefix) throws WxErrorException
WxMaQrcodeJumpServicegetRules 在接口中 WxMaQrcodeJumpServiceisDefault - 是否查询默认规则prefix - 路径前缀(最长 32 个字符)WxErrorExceptionpublic List<WxMaQrcodeJumpRule> getRuleList(Integer getType, Integer pageNum, Integer pageSize) throws WxErrorException
WxMaQrcodeJumpServicegetRuleList 在接口中 WxMaQrcodeJumpServicegetType - 1:查询前缀匹配的规则;2:查询默认规则pageNum - 页码,从 1 开始pageSize - 每页条数,最多 20WxErrorExceptionpublic String deleteRule(String prefix) throws WxErrorException
WxMaQrcodeJumpServicedeleteRule 在接口中 WxMaQrcodeJumpServiceprefix - 路径前缀WxErrorExceptionCopyright © 2026. All rights reserved.