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