修改奖励类型
This commit is contained in:
@ -1,33 +0,0 @@
|
||||
// ================================================================================
|
||||
// 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 (
|
||||
IStoreTaskReward interface {
|
||||
Create(ctx context.Context, in *model.StoreTaskRewardCreateIn) (out *model.StoreTaskRewardCreateOut, err error)
|
||||
Delete(ctx context.Context, in *model.StoreTaskRewardDeleteIn) (out *model.StoreTaskRewardDeleteOut, err error)
|
||||
}
|
||||
)
|
||||
|
||||
var (
|
||||
localStoreTaskReward IStoreTaskReward
|
||||
)
|
||||
|
||||
func StoreTaskReward() IStoreTaskReward {
|
||||
if localStoreTaskReward == nil {
|
||||
panic("implement not found for interface IStoreTaskReward, forgot register?")
|
||||
}
|
||||
return localStoreTaskReward
|
||||
}
|
||||
|
||||
func RegisterStoreTaskReward(i IStoreTaskReward) {
|
||||
localStoreTaskReward = i
|
||||
}
|
||||
Reference in New Issue
Block a user