Initial commit: web_hghl_server
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
Reference in New Issue
Block a user