拆分device.Service接口
This commit is contained in:
@@ -34,7 +34,7 @@ func NewGeneralDeviceService(
|
||||
deviceCommandLogRepo repository.DeviceCommandLogRepository,
|
||||
pendingCollectionRepo repository.PendingCollectionRepository,
|
||||
comm transport.Communicator,
|
||||
) Service {
|
||||
) *GeneralDeviceService {
|
||||
return &GeneralDeviceService{
|
||||
ctx: ctx,
|
||||
deviceRepo: deviceRepo,
|
||||
|
||||
Reference in New Issue
Block a user