edit model respone api login
This commit is contained in:
@@ -326,6 +326,7 @@ func (lh *LoginHandler) HandleSignInV3(c echo.Context) error {
|
||||
c.SetCookie(cookie)
|
||||
|
||||
user_str := string(user)
|
||||
// logger.Info("[INFO]", zap.Any("user data ", user_str))
|
||||
store := `
|
||||
<script>
|
||||
console.log("store token");
|
||||
|
||||
@@ -76,6 +76,8 @@ type Response struct {
|
||||
MUserGroupDashboard string `json:"M_UserGroupDashboard"`
|
||||
MUserDefaultTSampleStationID string `json:"M_UserDefaultT_SampleStationID"`
|
||||
MStaffName string `json:"M_StaffName"`
|
||||
MBranchID string `json:"M_BranchID"`
|
||||
MBranchName string `json:"M_BranchName"`
|
||||
IsCourier string `json:"is_courier"`
|
||||
TimeAutologout string `json:"time_autologout"`
|
||||
IP string `json:"ip"`
|
||||
|
||||
Reference in New Issue
Block a user