init: web_hgcg_server 初始化提交
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
package proto
|
||||
|
||||
import (
|
||||
"time"
|
||||
"videoweb/pub/common/response"
|
||||
"videoweb/pub/pubdef"
|
||||
)
|
||||
|
||||
// ContactUsListReq web端联系我们分页列表请求
|
||||
type ContactUsListReq struct {
|
||||
// 页码
|
||||
pubdef.Page
|
||||
// 用户ID
|
||||
UserId *int64 `form:"userId" json:"userId"`
|
||||
// 邮箱
|
||||
Email string `form:"email" json:"email"`
|
||||
// 问题类型,1-订单问题、2-账号问题、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"`
|
||||
}
|
||||
|
||||
// ContactUsListResp web端联系我们分页列表响应
|
||||
type ContactUsListResp struct {
|
||||
// ID
|
||||
Id int64 `json:"id"`
|
||||
// 用户ID
|
||||
UserId int64 `json:"userId"`
|
||||
// 用户名称
|
||||
UserName string `json:"userName"`
|
||||
// 邮箱
|
||||
Email string `json:"email"`
|
||||
// 问题类型,1-订单问题、2-账号问题、3-功能问题、4-体验问题、5-其他
|
||||
Type int32 `json:"type"`
|
||||
// 标题
|
||||
Title string `json:"title"`
|
||||
// 内容
|
||||
Content string `json:"content"`
|
||||
// 附件地址
|
||||
Attachments []string `json:"attachments"`
|
||||
// 处理状态,0-待处理、1-已处理
|
||||
Status int32 `json:"status"`
|
||||
// 处理备注
|
||||
Remark string `json:"remark"`
|
||||
// 创建时间
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
// 更新时间
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
}
|
||||
|
||||
// ContactUsListPageResp web端联系我们分页列表响应
|
||||
type ContactUsListPageResp struct {
|
||||
response.BasePageResp
|
||||
}
|
||||
|
||||
// ContactUsHandleReq web端批量处理联系我们请求
|
||||
type ContactUsHandleReq struct {
|
||||
// 联系我们ID集合
|
||||
Ids []int64 `json:"ids" binding:"required"`
|
||||
// 处理状态,0-待处理、1-已处理
|
||||
Status int32 `json:"status" binding:"required"`
|
||||
// 处理备注
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
|
||||
// ContactUsHandleResp web端批量处理联系我们响应
|
||||
type ContactUsHandleResp struct {
|
||||
// 命中数量
|
||||
MatchedCount int64 `json:"matchedCount"`
|
||||
// 修改数量
|
||||
ModifiedCount int64 `json:"modifiedCount"`
|
||||
}
|
||||
Reference in New Issue
Block a user