实现了门店奖励的增删改查
This commit is contained in:
@ -12,6 +12,14 @@ import (
|
||||
|
||||
type (
|
||||
IReward interface {
|
||||
// Create 创建奖励
|
||||
Create(ctx context.Context, in *model.RewardCreateIn) (out *model.RewardCreateOut, err error)
|
||||
// Update 更新奖励
|
||||
// Update 更新奖励
|
||||
Update(ctx context.Context, in *model.RewardUpdateIn) (out *model.RewardUpdateOut, err error)
|
||||
// Delete 删除奖励
|
||||
Delete(ctx context.Context, in *model.RewardDeleteIn) (out *model.RewardDeleteOut, err error)
|
||||
// List 奖励列表
|
||||
List(ctx context.Context, in *model.RewardListIn) (out *model.RewardListOut, err error)
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user