rdluck %!s(int64=4) %!d(string=hai) anos
pai
achega
5cf9ac0c21
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)
 	}