Browse Source

添加主页用户收发包信息统计功能

bigcat 2 years ago
parent
commit
7f28442ec3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/user.go

+ 1 - 1
controller/user.go

@@ -36,7 +36,7 @@ func GetStatisticsInfoForUser(c *gin.Context) {
 	userId := c.Params.ByName("userId")
 	db := common.GetDB()
 
-	//总发包
+	//待领取任务
 	var totalWaitingCount int64
 	db.Model(&model.Task{}).
 		Where("executor_id = ? and state = 3", userId).Count(&totalWaitingCount)