Method | Description | |
---|---|---|
GetAddrSign ( string appId, string appSecret, string noncestr, string timestamp, string url ) : string |
获取位置签名AddrSign
|
|
GetCardSign ( string appId, string appSecret, string locationId, string noncestr, string timestamp, string cardId, string cardType ) : string |
获取卡券签名CardSign
|
|
GetJsSdkUiPackage ( string appId, string appSecret, string url ) : Senparc.Weixin.MP.Helpers.JsSdkUiPackage |
获取给UI使用的JSSDK信息包
|
|
GetNoncestr ( ) : string |
获取随机字符串
|
|
GetSignature ( string ticket, string noncestr, string timestamp, string url ) : string |
获取JS-SDK权限验证的签名Signature
|
|
GetTimestamp ( ) : string |
获取时间戳
|
|
GetcardExtSign ( string api_ticket, string timestamp, string card_id, string nonce_str, string code = "", string openid = "" ) : string |
获取添加卡券时Ext参数内的签名
|
Method | Description | |
---|---|---|
CreateCardSha1 ( |
生成cardSign的加密方法
|
|
CreateNonekeySha1 ( |
添加卡券Ext参数的签名加密方法
|
|
CreateSha1 ( |
sha1加密
|
public static GetAddrSign ( string appId, string appSecret, string noncestr, string timestamp, string url ) : string | ||
appId | string | |
appSecret | string | |
noncestr | string | |
timestamp | string | |
url | string | |
return | string |
public static GetCardSign ( string appId, string appSecret, string locationId, string noncestr, string timestamp, string cardId, string cardType ) : string | ||
appId | string | |
appSecret | string | |
locationId | string | |
noncestr | string | |
timestamp | string | |
cardId | string | |
cardType | string | |
return | string |
public static GetJsSdkUiPackage ( string appId, string appSecret, string url ) : Senparc.Weixin.MP.Helpers.JsSdkUiPackage | ||
appId | string | |
appSecret | string | |
url | string | |
return | Senparc.Weixin.MP.Helpers.JsSdkUiPackage |
public static GetSignature ( string ticket, string noncestr, string timestamp, string url ) : string | ||
ticket | string | |
noncestr | string | |
timestamp | string | |
url | string | |
return | string |
public static GetcardExtSign ( string api_ticket, string timestamp, string card_id, string nonce_str, string code = "", string openid = "" ) : string | ||
api_ticket | string | |
timestamp | string | |
card_id | string | |
nonce_str | string | |
code | string | |
openid | string | |
return | string |