Kaynağa Gözat

Merge branch 'cygx/cygx_need_910' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

xingzai 1 yıl önce
ebeveyn
işleme
de864fbe2e
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 2 2
      controllers/company_user.go
  2. 1 1
      models/cygx/clpt_session.go

+ 2 - 2
controllers/company_user.go

@@ -1268,8 +1268,8 @@ func (this *CompanyUserController) List() {
 				//用户绑定注册数据
 				clptuserRecordRegisterList, _ := cygx.GetCygxClptSessionrByUserIdsMyfx(userIdStr)
 				for _, userRecordRegister := range clptuserRecordRegisterList {
-					mfyxuserRecordRegisterTimeMap[userRecordRegister.UserId] = userRecordRegister.CreatedTime
-					mfyxuserRecordRegisterMap[userRecordRegister.UserId] = userRecordRegister.CreatedTime.Format(utils.FormatDateTime)
+					mfyxuserRecordRegisterTimeMap[userRecordRegister.UserId] = userRecordRegister.CreateTime
+					mfyxuserRecordRegisterMap[userRecordRegister.UserId] = userRecordRegister.CreateTime.Format(utils.FormatDateTime)
 				}
 
 				mfyxuserRecordRegisterList, _ := models.GetUserRecordRegisterByUserIdsMyfx(userIdStr)

+ 1 - 1
models/cygx/clpt_session.go

@@ -11,7 +11,7 @@ type CygxClptSession struct {
 	UserId          int
 	AccessToken     string
 	ExpireTime      time.Time
-	CreatedTime     time.Time
+	CreateTime      time.Time
 	LastUpdatedTime time.Time
 	OpenId          string `description:"用户openid,最大长度:32"`
 	UnionId         string `description:"用户unionid,最大长度:64"`