Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/3503/head
zouap 2 years ago
parent
commit
dfefa70bb9
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      models/user_analysis_for_activity.go

+ 8
- 0
models/user_analysis_for_activity.go View File

@@ -480,5 +480,13 @@ func QueryUserAnnualReport(userId int64) *UserSummaryCurrentYear {
} else {
log.Info("error:=" + err.Error())
}
dbuser, err := GetUserByID(userId)
if err == nil {
return &UserSummaryCurrentYear{
ID: dbuser.ID,
Name: dbuser.Name,
RegistDate: dbuser.CreatedUnix,
}
}
return nil
}

Loading…
Cancel
Save