From 5fc3db66a1f90278acf6c04be0d26bd1ad2ef103 Mon Sep 17 00:00:00 2001 From: weloe <1345895607@qq.com> Date: Sat, 21 Oct 2023 16:54:09 +0800 Subject: [PATCH] feat: update QRCode id to Id --- model/qrcode.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/qrcode.go b/model/qrcode.go index 983497c..8a957de 100644 --- a/model/qrcode.go +++ b/model/qrcode.go @@ -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} }