소스 검색

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

bigcat 2 년 전
부모
커밋
7f28442ec3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)