C# Class Senparc.Weixin.Utilities.WeixinUtility.ApiUtility

Mostra file Open project: JeffreySu/WeiXinMPSDK

Public Methods

Method Description
GetExpireTime ( int expireInSeconds ) : System.DateTime

获取过期时间

IsAppId ( string accessTokenOrAppId ) : bool

判断accessTokenOrAppId参数是否是AppId

Method Details

GetExpireTime() public static method

获取过期时间
public static GetExpireTime ( int expireInSeconds ) : System.DateTime
expireInSeconds int 有效时间(秒)
return System.DateTime

IsAppId() public static method

判断accessTokenOrAppId参数是否是AppId
public static IsAppId ( string accessTokenOrAppId ) : bool
accessTokenOrAppId string
return bool