|
@@ -554,7 +554,7 @@ func BannerGetQRCode(c *gin.Context) {
|
|
|
randStr := utils.GetRandStringNoSpecialChar(28)
|
|
|
filePath := "./static/" + randStr + ".png"
|
|
|
fileName := randStr + ".png"
|
|
|
- url := "pages-report/signUpPage/signUpPage&RealName?%s&CompanyName?%s&Mobile?%s&BannerId?%s"
|
|
|
+ url := "pages-report/signUpPage/signUpPage&RealName?%s&CompanyName?%s&Mobile?%s&BannerId?%d"
|
|
|
url = fmt.Sprintf(url, wxUserInfo.RealName, companyName, userDetail.Mobile, bannerId)
|
|
|
|
|
|
err = qrcode.WriteFile(url, qrcode.Medium, 256, filePath)
|