fixbug
This commit is contained in:
parent
3e109ec65a
commit
b83f06ac8a
|
@ -38,7 +38,7 @@ func (o *OaSdk) GetQrCode(sceneStr string) (string, error) {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
url := fmt.Sprintf("?access_token=%s", oaQrCodeCreateUrl, accessToken)
|
url := fmt.Sprintf("%s?access_token=%s", oaQrCodeCreateUrl, accessToken)
|
||||||
res, err := http.Post(url, "application/json", bytes.NewBuffer(marshal))
|
res, err := http.Post(url, "application/json", bytes.NewBuffer(marshal))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
|
|
Loading…
Reference in New Issue