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