2023-12-29 21:28:16 +08:00
|
|
|
package SponsorService
|
|
|
|
|
|
|
|
import (
|
|
|
|
"PersonalMain/internal/logic/SponsorServiceImpl"
|
2024-01-02 00:28:12 +08:00
|
|
|
"PersonalMain/internal/model/entity"
|
2023-12-29 21:28:16 +08:00
|
|
|
"github.com/gogf/gf/v2/net/ghttp"
|
|
|
|
)
|
|
|
|
|
|
|
|
func NewSponsorService() SponsorService {
|
|
|
|
return &SponsorServiceImpl.SponsorServiceImpl{}
|
|
|
|
}
|
|
|
|
|
|
|
|
type SponsorService interface {
|
|
|
|
GetSponsor(*ghttp.Request)
|
2024-01-02 00:28:12 +08:00
|
|
|
AddSponsor(*ghttp.Request, entity.SponsorAddVO)
|
2024-01-06 22:41:38 +08:00
|
|
|
GetCheckSponsor(*ghttp.Request)
|
|
|
|
CheckSponsor(*ghttp.Request, entity.CheckSponsorVO)
|
2024-01-09 21:06:03 +08:00
|
|
|
EditSponsor(*ghttp.Request, entity.SponsorEditVO)
|
|
|
|
DeleteSponsor(*ghttp.Request, entity.SponsorDelVO)
|
2023-12-29 21:28:16 +08:00
|
|
|
}
|