init: web_hgdjc_server
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
package proto
|
||||
|
||||
import (
|
||||
"time"
|
||||
"videoweb/pub/common/response"
|
||||
"videoweb/pub/pubdef"
|
||||
)
|
||||
|
||||
// FeedbackListReq web端意见反馈分页列表请求
|
||||
type FeedbackListReq struct {
|
||||
// 页码
|
||||
pubdef.Page
|
||||
// 用户ID
|
||||
UserId *int64 `form:"userId" json:"userId"`
|
||||
// 问题类型,1-功能建议、2-Bug反馈、3-体验问题、4-账号问题、5-其他
|
||||
Type *int32 `form:"type" json:"type"`
|
||||
// 处理状态,0-待处理、1-已处理
|
||||
Status *int32 `form:"status" json:"status"`
|
||||
// 创建开始时间,格式:2026-06-08 00:00:00
|
||||
CreateStartTime string `form:"createStartTime" json:"createStartTime"`
|
||||
// 创建结束时间,格式:2026-06-09 00:00:00
|
||||
CreateEndTime string `form:"createEndTime" json:"createEndTime"`
|
||||
}
|
||||
|
||||
// FeedbackListResp web端意见反馈分页列表响应
|
||||
type FeedbackListResp struct {
|
||||
// ID
|
||||
Id int64 `json:"id"`
|
||||
// 用户ID
|
||||
UserId int64 `json:"userId"`
|
||||
// 用户名称
|
||||
UserName string `json:"userName"`
|
||||
// 问题类型,1-功能建议、2-Bug反馈、3-体验问题、4-账号问题、5-其他
|
||||
Type int32 `json:"type"`
|
||||
// 描述内容
|
||||
Content string `json:"content"`
|
||||
// 问题截图
|
||||
Screenshots []string `json:"screenshots"`
|
||||
// 联系方式
|
||||
Contact string `json:"contact"`
|
||||
// 处理状态,0-待处理、1-已处理
|
||||
Status int32 `json:"status"`
|
||||
// 处理备注
|
||||
Remark string `json:"remark"`
|
||||
// 创建时间
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
// 更新时间
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
}
|
||||
|
||||
// FeedbackListPageResp web端意见反馈分页列表响应
|
||||
type FeedbackListPageResp struct {
|
||||
response.BasePageResp
|
||||
}
|
||||
|
||||
// FeedbackHandleReq web端批量处理意见反馈请求
|
||||
type FeedbackHandleReq struct {
|
||||
// 意见反馈ID集合
|
||||
Ids []int64 `json:"ids" binding:"required"`
|
||||
// 处理状态,0-待处理、1-已处理
|
||||
Status int32 `json:"status" binding:"required"`
|
||||
// 处理备注
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
|
||||
// FeedbackHandleResp web端批量处理意见反馈响应
|
||||
type FeedbackHandleResp struct {
|
||||
// 命中数量
|
||||
MatchedCount int64 `json:"matchedCount"`
|
||||
// 修改数量
|
||||
ModifiedCount int64 `json:"modifiedCount"`
|
||||
}
|
||||
Reference in New Issue
Block a user