书籍列表接口新增参数

This commit is contained in:
2025-08-13 15:19:42 +08:00
parent 6ccc87f2bf
commit 8afe651c64
201 changed files with 6987 additions and 1066 deletions

View File

@ -0,0 +1,33 @@
// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================
package service
import (
"context"
"server/internal/model"
)
type (
IAds interface {
// Upload 广告数据上传 - 处理用户广告状态流转
Upload(ctx context.Context, in *model.AdsUploadIn) (out *model.AdsUploadOut, err error)
}
)
var (
localAds IAds
)
func Ads() IAds {
if localAds == nil {
panic("implement not found for interface IAds, forgot register?")
}
return localAds
}
func RegisterAds(i IAds) {
localAds = i
}