C# Class Senparc.Weixin.QY.AdvancedAPIs.ShakeAroundApi

Datei anzeigen Open project: JeffreySu/WeiXinMPSDK

Public Methods

Method Description
GetSuiteToken ( string accessToken, string ticket, int timeOut = Config.TIME_OUT ) : GetShakeInfoResult

获取设备及用户信息

GetSuiteTokenAsync ( string accessToken, string ticket, int timeOut = Config.TIME_OUT ) : Task

【异步方法】获取设备及用户信息

Method Details

GetSuiteToken() public static method

获取设备及用户信息
public static GetSuiteToken ( string accessToken, string ticket, int timeOut = Config.TIME_OUT ) : GetShakeInfoResult
accessToken string
ticket string 摇周边业务的ticket,可在摇到的URL中得到,ticket生效时间为30分钟,每一次摇都会重新生成新的ticket
timeOut int
return Senparc.Weixin.QY.AdvancedAPIs.ShakeAround.GetShakeInfoResult

GetSuiteTokenAsync() public static method

【异步方法】获取设备及用户信息
public static GetSuiteTokenAsync ( string accessToken, string ticket, int timeOut = Config.TIME_OUT ) : Task
accessToken string
ticket string 摇周边业务的ticket,可在摇到的URL中得到,ticket生效时间为30分钟,每一次摇都会重新生成新的ticket
timeOut int
return Task