feat: update QRCode id to Id

This commit is contained in:
weloe
2023-10-21 16:54:09 +08:00
parent 41a038d28e
commit 5fc3db66a1

View File

@@ -12,12 +12,12 @@ const (
) )
type QRCode struct { type QRCode struct {
id string Id string
State QRCodeState State QRCodeState
LoginId string LoginId string
Ticket string Ticket string
} }
func NewQRCode(id string) *QRCode { func NewQRCode(id string) *QRCode {
return &QRCode{id: id, State: WaitScan} return &QRCode{Id: id, State: WaitScan}
} }