书籍列表接口新增参数

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,43 @@
// ================================================================================
// 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 (
ISignInRewardDetails interface {
// Create 新增签到奖励明细
Create(ctx context.Context, in *model.SignInRewardDetail) (int64, error)
// Update 编辑签到奖励明细
Update(ctx context.Context, in *model.SignInRewardDetail) error
// Delete 删除签到奖励明细
Delete(ctx context.Context, in *model.SignInRewardDetailDeleteIn) (*model.SignInRewardDetailDeleteOut, error)
// Get 查询单个签到奖励明细
Get(ctx context.Context, in *model.SignInRewardDetailGetIn) (*model.SignInRewardDetailGetOut, error)
// List 根据 ruleId 查询签到奖励明细列表
List(ctx context.Context, in *model.SignInRewardDetailListIn) (*model.SignInRewardDetailListOut, error)
// SetStatus 设置签到奖励明细状态
SetStatus(ctx context.Context, in *model.SignInRewardDetailSetStatusIn) (*model.SignInRewardDetailSetStatusOut, error)
}
)
var (
localSignInRewardDetails ISignInRewardDetails
)
func SignInRewardDetails() ISignInRewardDetails {
if localSignInRewardDetails == nil {
panic("implement not found for interface ISignInRewardDetails, forgot register?")
}
return localSignInRewardDetails
}
func RegisterSignInRewardDetails(i ISignInRewardDetails) {
localSignInRewardDetails = i
}