用户反馈信息基本CRUD

This commit is contained in:
chy
2025-06-05 17:43:22 +08:00
parent 77067adf33
commit 830f9c236b
23 changed files with 682 additions and 58 deletions

View File

@ -0,0 +1,36 @@
// ================================================================================
// 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 (
IFeedback interface {
List(ctx context.Context, in *model.FeedbackIn) (out *model.FeedbackOut, err error)
Create(ctx context.Context, in *model.FeedbackCreateIn) (out *model.FeedbackCreateOut, err error)
Update(ctx context.Context, in *model.FeedbackUpdateIn) (out *model.FeedbackUpdateOut, err error)
UpdateReply(ctx context.Context, in *model.FeedbackUpdateReplyIn) (out *model.FeedbackUpdateReplyOut, err error)
InfoFeedback(ctx context.Context, in *model.FeedbackInfoIn) (out *model.FeedbackInfoOut, err error)
}
)
var (
localFeedback IFeedback
)
func Feedback() IFeedback {
if localFeedback == nil {
panic("implement not found for interface IFeedback, forgot register?")
}
return localFeedback
}
func RegisterFeedback(i IFeedback) {
localFeedback = i
}