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 {
id string
Id string
State QRCodeState
LoginId string
Ticket string
}
func NewQRCode(id string) *QRCode {
return &QRCode{id: id, State: WaitScan}
return &QRCode{Id: id, State: WaitScan}
}