gomod引用

This commit is contained in:
2025-12-19 10:20:30 +08:00
parent ed0e384907
commit dcfd6fec21
8 changed files with 32 additions and 18 deletions

View File

@@ -2,9 +2,11 @@ package service
import (
"cid/dao"
"cid/model/config"
"cid/model/dto"
"cid/model/entity"
"context"
"github.com/gogf/gf/v2/errors/gerror"
)
@@ -40,7 +42,7 @@ func (s *adSourceService) CreateAdSource(ctx context.Context, req *dto.CreateAdS
Code: req.Code,
Provider: req.Provider,
Type: req.Type,
APIConfig: entity.APIConfig{
APIConfig: config.APIConfig{
Endpoint: req.APIEndpoint,
},
}