优化通道资源取用逻辑

This commit is contained in:
2025-12-05 16:52:40 +08:00
parent 2d053ddf49
commit 3f24fba1ae
4 changed files with 96 additions and 35 deletions

View File

@@ -37,7 +37,7 @@ func (s *channelBaiyinService) CreateChannels(source netip.Addr, resourceId int3
batch := ID.GenReadable("bat")
// 获取用户套餐
resource, err := findResource(q.Q, resourceId, count, now)
resource, err := findResource(resourceId)
if err != nil {
return nil, err
}