mirror of
https://github.com/weloe/token-go.git
synced 2025-09-27 03:46:01 +08:00
feat: update QRCode id to Id
This commit is contained in:
@@ -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}
|
||||
}
|
||||
|
Reference in New Issue
Block a user