service/api/message/request/HYGBaseReq.go

21 lines
327 B
Go

package request
type HYGBaseReq struct {
CooperatorId string `json:"cooperatorId"`
Sign string `json:"sign"`
}
func (req *HYGBaseReq) SetSign(sign string) {
if req == nil {
return
}
req.Sign = sign
}
func (req *HYGBaseReq) GetCooperatorId() string {
if req == nil {
return ""
}
return req.CooperatorId
}