实现奖励类型的增删改查

This commit is contained in:
2025-06-17 16:25:04 +08:00
parent 3dceeeddb7
commit 427e70f94e
29 changed files with 1175 additions and 1 deletions

View File

@ -0,0 +1,32 @@
// ================================================================================
// 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 (
IReward interface {
List(ctx context.Context, in *model.RewardListIn) (out *model.RewardListOut, err error)
}
)
var (
localReward IReward
)
func Reward() IReward {
if localReward == nil {
panic("implement not found for interface IReward, forgot register?")
}
return localReward
}
func RegisterReward(i IReward) {
localReward = i
}