YiTao/service/service.go
wzj 735aad8cc1
All checks were successful
Deploy on Tag / build-and-deploy (push) Successful in 38s
新增:历史记录与推荐接口
2025-01-21 14:37:34 +08:00

26 lines
504 B
Go

package service
type Service struct {
User *UserService
Captcha *CaptchaService
LoginLog *LoginLogService
Common *CommonService
Item *ItemService
File *FileService
Recomment *RecommentService
}
func InitService() *Service {
s := new(Service)
s.User = new(UserService)
s.Captcha = new(CaptchaService)
s.LoginLog = new(LoginLogService)
s.Common = new(CommonService)
s.Item = new(ItemService)
s.File = new(FileService)
s.Recomment = new(RecommentService)
return s
}