优化首页内容

This commit is contained in:
georgehao
2019-07-06 17:05:19 +08:00
parent 37fb659c4e
commit 6a30e9265c
49 changed files with 1060 additions and 729 deletions

View File

@@ -223,7 +223,7 @@ func (self *TaskController) Detail() {
//任务分组
groupName := "默认分组"
if task.GroupId > 0 {
group, err := models.TaskGroupGetById(task.GroupId)
group, err := models.GroupGetById(task.GroupId)
if err == nil {
groupName = group.GroupName
}