Initial commit: web_hghl_server

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 16:28:14 +08:00
co-authored by Claude Opus 4.7
commit 65fca60622
653 changed files with 135901 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
package srv_contactus
import (
"videoweb/pub/models/contactusmod"
"videoweb/pub/pubdef"
"go.mongodb.org/mongo-driver/bson/primitive"
)
type GetContactusListReq struct {
pubdef.Page
Ip *string `form:"ip" json:"ip"` // ip
Name *string `form:"name" json:"name"` // 姓名
Email *string `form:"email" json:"email"` // 邮箱
CategoryName *string `form:"categoryName" json:"categoryName"` // 分类
}
type GetContactusListResp struct {
Total int64 `json:"total"`
List contactusmod.ContactUsModelList `json:"list"`
}
type DelOneContactusReq struct {
Id primitive.ObjectID `form:"id" json:"id"`
}
type UpdateContactusReq struct {
Id primitive.ObjectID `form:"id" json:"id"`
Status int64 `form:"status" json:"status"`
}