mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-02-23 18:05:36 +08:00
优化代码
This commit is contained in:
@@ -71,5 +71,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