auto logout

This commit is contained in:
Sas Andy
2024-12-12 09:53:29 +07:00
parent ecc5dfd9c0
commit 66333ea727
13 changed files with 611 additions and 23 deletions

View File

@@ -23,7 +23,8 @@ type RegisterUserPayload struct {
type User struct {
M_UserID int `json:"M_UserID" db:"M_UserID"`
M_UserEmail string `json:"M_UserEmail" db:"M_UserEmail"`
M_UserUsername string `json:"M_UserUsername" db:"M_UserUsername"`
M_UserName string `json:"M_UserName" db:"M_UserName"`
M_UserExpiredToken string `json:"M_UserExpiredToken" db:"M_UserExpiredToken"`
M_UserGroupDashboard string `json:"M_UserGroupDashboard" db:"M_UserGroupDashboard"`
M_UserDefaultTSampleStationID string `json:"M_UserDefaultT_SampleStationID" db:"M_UserDefaultT_SampleStationID"`
M_StaffName string `json:"M_StaffName" db:"M_StaffName"`