用户提取记录表增加批次字段

This commit is contained in:
2025-12-02 15:23:26 +08:00
parent d079f87089
commit d96f4bc4ef
5 changed files with 20 additions and 2 deletions

View File

@@ -143,11 +143,13 @@ func (s *channelBaiyinService) CreateChannels(source netip.Addr, resourceId int3
actions[i] = &m.LogsUserUsage{
UserID: user.ID,
ResourceID: resourceId,
BatchNo: batch,
Count: int32(count),
ISP: u.P(filter.Isp.String()),
Prov: filter.Prov,
City: filter.City,
IP: orm.Inet{Addr: source},
Time: now,
}
// 通道数据