fix
This commit is contained in:
parent
ea60e5c07c
commit
dc41f400a1
|
@ -12,7 +12,7 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
// 带logo的二维码图片生成 content-二维码内容 size-像素单位 logoPath-logo文件路径 x:x轴整体偏移 y:y轴整体偏移
|
||||
// 带logo的二维码图片生成 content-二维码内容 size-像素单位 outPath 保存路径(传空则不保存) logoPath-logo文件路径(传空就不带) x:x轴整体偏移 y:y轴整体偏移
|
||||
func CreateQrCodeBs64WithLogo(content, outPath string, logoPath string, size, x, y int, disableBorder bool) (data string, err error) {
|
||||
code, err := qrcode.New(content, qrcode.High)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user