提交
This commit is contained in:
20
modules/space/service/space_info.go
Normal file
20
modules/space/service/space_info.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"github.com/cool-team-official/cool-admin-go/cool"
|
||||
"github.com/cool-team-official/cool-admin-go/modules/space/model"
|
||||
)
|
||||
|
||||
type SpaceInfoService struct {
|
||||
*cool.Service
|
||||
}
|
||||
|
||||
func NewSpaceInfoService() *SpaceInfoService {
|
||||
return &SpaceInfoService{
|
||||
&cool.Service{
|
||||
Model: model.NewSpaceInfo(),
|
||||
},
|
||||
|
||||
// Service: cool.NewService(model.NewSpaceInfo()),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user