Method | Description | |
---|---|---|
ConvertToOpenId ( string accessToken, string userId, string agentId = null, int timeOut = Config.TIME_OUT ) : |
userid转换成openid接口
|
|
ConvertToOpenIdAsync ( string accessToken, string userId, string agentId = null, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】userid转换成openid接口
|
|
ConvertToUserId ( string accessToken, string openId, int timeOut = Config.TIME_OUT ) : |
openid转换成userid接口
|
|
ConvertToUserIdAsync ( string accessToken, string openId, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】openid转换成userid接口
|
|
CreateMenu ( string accessToken, int agentId, |
创建菜单
|
|
DeleteMenu ( string accessToken, int agentId ) : |
删除菜单
|
|
DeleteMenuAsync ( string accessToken, int agentId ) : Task |
【异步方法】删除菜单
|
|
GetCallBackIp ( string accessToken ) : |
获取微信服务器的ip段
|
|
GetCallBackIpAsync ( string accessToken ) : Task |
【异步方法】获取微信服务器的ip段
|
|
GetMenu ( string accessToken, int agentId ) : |
获取当前菜单,如果菜单不存在,将返回null
|
|
GetMenuFromJsonResult ( GetMenuResultFull resultFull ) : |
根据微信返回的Json数据得到可用的GetMenuResult结果
|
|
GetProviderToken ( string corpId, string providerSecret, int timeOut = Config.TIME_OUT ) : |
获取应用提供商凭证
|
|
GetProviderTokenAsync ( string corpId, string providerSecret, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】获取应用提供商凭证
|
|
GetTicket ( string corpId, string corpSecret ) : |
获取调用微信JS接口的临时票据
|
|
GetTicketAsync ( string corpId, string corpSecret ) : Task |
【异步方法】获取调用微信JS接口的临时票据
|
|
GetToken ( string corpId, string corpSecret ) : |
获取AccessToken
|
|
GetTokenAsync ( string corpId, string corpSecret ) : Task |
获取AccessToken
|
Method | Description | |
---|---|---|
GetMenuFromJson ( string jsonString ) : |
||
GetSingleButtonFromJsonObject ( object>.Dictionary |
public static ConvertToOpenId ( string accessToken, string userId, string agentId = null, int timeOut = Config.TIME_OUT ) : |
||
accessToken | string | |
userId | string | 企业号内的成员id |
agentId | string | 需要发送红包的应用ID,若只是使用微信支付和企业转账,则无需该参数 |
timeOut | int | |
return |
public static ConvertToOpenIdAsync ( string accessToken, string userId, string agentId = null, int timeOut = Config.TIME_OUT ) : Task |
||
accessToken | string | |
userId | string | 企业号内的成员id |
agentId | string | 需要发送红包的应用ID,若只是使用微信支付和企业转账,则无需该参数 |
timeOut | int | |
return | Task |
public static ConvertToUserId ( string accessToken, string openId, int timeOut = Config.TIME_OUT ) : |
||
accessToken | string | |
openId | string | |
timeOut | int | |
return |
public static ConvertToUserIdAsync ( string accessToken, string openId, int timeOut = Config.TIME_OUT ) : Task |
||
accessToken | string | |
openId | string | |
timeOut | int | |
return | Task |
public static CreateMenu ( string accessToken, int agentId, |
||
accessToken | string | |
agentId | int | |
buttonData | 菜单内容 | |
timeOut | int | 代理请求超时时间(毫秒) |
return |
public static DeleteMenu ( string accessToken, int agentId ) : |
||
accessToken | string | 调用接口凭证 |
agentId | int | 企业应用的id,整型。可在应用的设置页面查看 |
return |
public static DeleteMenuAsync ( string accessToken, int agentId ) : Task |
||
accessToken | string | 调用接口凭证 |
agentId | int | 企业应用的id,整型。可在应用的设置页面查看 |
return | Task |
public static GetCallBackIp ( string accessToken ) : |
||
accessToken | string | |
return |
public static GetCallBackIpAsync ( string accessToken ) : Task |
||
accessToken | string | |
return | Task |
public static GetMenu ( string accessToken, int agentId ) : |
||
accessToken | string | 调用接口凭证 |
agentId | int | 企业应用的id,整型。可在应用的设置页面查看 |
return |
public static GetMenuFromJsonResult ( GetMenuResultFull resultFull ) : |
||
resultFull | GetMenuResultFull | |
return |
public static GetProviderToken ( string corpId, string providerSecret, int timeOut = Config.TIME_OUT ) : |
||
corpId | string | |
providerSecret | string | |
timeOut | int | |
return |
public static GetProviderTokenAsync ( string corpId, string providerSecret, int timeOut = Config.TIME_OUT ) : Task |
||
corpId | string | |
providerSecret | string | |
timeOut | int | |
return | Task |
public static GetTicket ( string corpId, string corpSecret ) : |
||
corpId | string | |
corpSecret | string | |
return |
public static GetTicketAsync ( string corpId, string corpSecret ) : Task |
||
corpId | string | |
corpSecret | string | |
return | Task |
public static GetToken ( string corpId, string corpSecret ) : |
||
corpId | string | |
corpSecret | string | |
return |
public static GetTokenAsync ( string corpId, string corpSecret ) : Task |
||
corpId | string | |
corpSecret | string | |
return | Task |