Initial commit

This commit is contained in:
2026-05-20 16:13:58 +08:00
commit ceffbe382e
500 changed files with 157469 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package consumer
import (
"context"
downloadinfo "stat/models/downloadinfo"
)
func TrackDcAndPcByIp(ctx context.Context, appId int32, ip, sysType string) (dc, pc string) {
data, _ := downloadinfo.FindOneChannelIP(ctx, appId, ip, sysType)
return data.DC, data.PC
}