rdluck 4 years ago
parent
commit
5cf9ac0c21
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/wechat.go

+ 1 - 0
controllers/wechat.go

@@ -202,6 +202,7 @@ func (this *WechatCommonController) WechatLogin() {
 		codeLog.FirstLogin = firstLogin
 		codeLog.Authorization = token
 		codeLog.UserPermission = permission
+		codeLog.CreateTime=time.Now()
 		models.AddWxUserCode(codeLog)
 	}