This commit is contained in:
Leufolium 2024-10-22 15:53:41 +08:00
parent 493ab2ac56
commit 3a69a803ae
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ func ApiGetRavenIQTestVisitCount(ctx *gin.Context) {
data := &Raven_IQ_test_visitproto.ApiCountData{
VisitCount: countMap[consts.RavenIQTest_VType_Visit],
PaidCount: countMap[consts.RavenIQTest_VType_Paid],
TotalCount: countMap[consts.RavenIQTest_VType_Visit] + countMap[consts.RavenIQTest_VType_Paid],
}
ReplyOk(ctx, data)