public static enum WxMpApiUrl.Marketing extends Enum<WxMpApiUrl.Marketing> implements WxMpApiUrl
WxMpApiUrl.AiOpen, WxMpApiUrl.Card, WxMpApiUrl.Comment, WxMpApiUrl.DataCube, WxMpApiUrl.Device, WxMpApiUrl.ImgProc, WxMpApiUrl.Kefu, WxMpApiUrl.Marketing, WxMpApiUrl.MassMessage, WxMpApiUrl.Material, WxMpApiUrl.MemberCard, WxMpApiUrl.Menu, WxMpApiUrl.Ocr, WxMpApiUrl.Other, WxMpApiUrl.Qrcode, WxMpApiUrl.ShakeAround, WxMpApiUrl.Store, WxMpApiUrl.SubscribeMsg, WxMpApiUrl.TemplateMsg, WxMpApiUrl.User, WxMpApiUrl.UserBlacklist, WxMpApiUrl.UserTag, WxMpApiUrl.Wifi
枚举常量和说明 |
---|
USER_ACTION_SETS_ADD
sets add.
|
USER_ACTION_SETS_GET
get.
|
USER_ACTIONS_ADD
add.
|
WECHAT_AD_LEADS_GET
get.
|
限定符和类型 | 方法和说明 |
---|---|
String |
getUrl(WxMpConfigStorage config)
得到api完整地址.
|
static WxMpApiUrl.Marketing |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static WxMpApiUrl.Marketing[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final WxMpApiUrl.Marketing USER_ACTION_SETS_ADD
public static final WxMpApiUrl.Marketing USER_ACTION_SETS_GET
public static final WxMpApiUrl.Marketing USER_ACTIONS_ADD
public static final WxMpApiUrl.Marketing WECHAT_AD_LEADS_GET
public static WxMpApiUrl.Marketing[] values()
for (WxMpApiUrl.Marketing c : WxMpApiUrl.Marketing.values()) System.out.println(c);
public static WxMpApiUrl.Marketing valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public String getUrl(WxMpConfigStorage config)
WxMpApiUrl
getUrl
在接口中 WxMpApiUrl
config
- 微信公众号配置Copyright © 2020. All rights reserved.