scheme url
This commit is contained in:
parent
06d2cab9d0
commit
c5bc528344
|
@ -15,6 +15,7 @@ const (
|
|||
accessTokenUrl string = "https://api.weixin.qq.com/cgi-bin/token"
|
||||
userPhoneNumberUrl string = "https://api.weixin.qq.com/wxa/business/getuserphonenumber"
|
||||
getWxACodeUnLimitUrl string = "https://api.weixin.qq.com/wxa/getwxacodeunlimit"
|
||||
getWxScheme string = "https://api.weixin.qq.com/wxa/generatescheme"
|
||||
code2UserinfoUrl string = "https://api.weixin.qq.com/sns/userinfo"
|
||||
oaQrCodeCreateUrl string = "https://api.weixin.qq.com/cgi-bin/qrcode/create"
|
||||
userInfoByOpenid string = "https://api.weixin.qq.com/cgi-bin/user/info"
|
||||
|
|
|
@ -119,8 +119,8 @@ func (o *MpSdk) GetScheme(params map[string]interface{}) (string, error) {
|
|||
jump_wxa["env_version"] = cast.ToString(params["env_version"])
|
||||
}
|
||||
|
||||
jump_wxa["path"] = params["path"]
|
||||
jump_wxa["query"] = params["query"]
|
||||
jump_wxa["path"] = cast.ToString(params["path"])
|
||||
jump_wxa["query"] = cast.ToString(params["query"])
|
||||
newParams["jump_wxa"] = jump_wxa
|
||||
|
||||
newParams["expire_interval"] = 30
|
||||
|
|
Loading…
Reference in New Issue