gomod引用
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user