Explorar o código

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

bigcat %!s(int64=2) %!d(string=hai) anos
pai
achega
7f28442ec3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)