浏览代码

Merge branch 'crm_15.7' into debug

zwxi 10 月之前
父节点
当前提交
eaa21419b8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/public.go

+ 1 - 1
controller/public.go

@@ -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)