feat: 从黄果 NET hgdjnet-server 9bfbafe 导入 HKDJ 官网后端
来源:hgdjnet-server 9bfbafe10d417deea959bd53117bc88a10e60a83 项目身份 HKDJ / JHA-216,独立官网仓库,Jenkins 守卫键 hkdjnet 测试目录 /server/hkdj_net,App/Web API 30331/30332 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
package proto
|
||||
|
||||
import (
|
||||
"hkdj-web-server/pub/common/response"
|
||||
"hkdj-web-server/pub/pubdef"
|
||||
"time"
|
||||
)
|
||||
|
||||
// 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