mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-04-09 17:25:20 +08:00
优化代码
This commit is contained in:
@@ -67,5 +67,5 @@ func (this *OtpQrcodeAction) RunGet(params struct {
|
||||
return
|
||||
}
|
||||
this.AddHeader("Content-Type", "image/png")
|
||||
this.Write(data)
|
||||
_, _ = this.Write(data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user