This commit is contained in:
jiangyong27 2024-10-29 16:25:34 +08:00
parent 3e109ec65a
commit b83f06ac8a
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func (o *OaSdk) GetQrCode(sceneStr string) (string, error) {
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))
if err != nil {
return "", err