Browse Source

Fixed:去掉多余的赋值

朱金辉 2 years ago
parent
commit
ea47049b06
1 changed files with 0 additions and 4 deletions
  1. 0 4
      util/image/qr.go

+ 0 - 4
util/image/qr.go

@@ -72,10 +72,6 @@ func (q *QR) Create() (*imagick.MagickWand, error) {
 	}
 
 	qr.DisableBorder = true
-
-	qr.ForegroundColor = color.RGBA{R: 0x33, G: 0x33, B: 0x66, A: 0xff}
-	qr.BackgroundColor = color.RGBA{R: 0xef, G: 0xef, B: 0xef, A: 0xff}
-
 	qr.ForegroundColor = frontColor
 	qr.BackgroundColor = backgroundColor