service/api/message/request/HYGBaseReq.go

21 lines
327 B
Go
Raw Normal View History

2024-06-17 22:25:43 +08:00
package request
type HYGBaseReq struct {
CooperatorId string `json:"cooperatorId"`
Sign string `json:"sign"`
}
func (req *HYGBaseReq) SetSign(sign string) {
2024-06-21 18:25:24 +08:00
if req == nil {
return
}
2024-06-17 22:25:43 +08:00
req.Sign = sign
}
func (req *HYGBaseReq) GetCooperatorId() string {
2024-06-21 18:25:24 +08:00
if req == nil {
return ""
}
2024-06-17 22:25:43 +08:00
return req.CooperatorId
}