package request import "service/api/message" // 自由职业者网签查询报文 type HYG10000001Req struct { *HYGBaseReq Timestamp string `json:"timestamp"` WorkerId string `json:"workerId"` } func (req *HYG10000001Req) GetArgList() []*message.JsonParamEntry { list := make([]*message.JsonParamEntry, 0) list = append(list, &message.JsonParamEntry{Name: "cooperatorId", Value: req.HYGBaseReq.CooperatorId}) list = append(list, &message.JsonParamEntry{Name: "timestamp", Value: req.Timestamp}) list = append(list, &message.JsonParamEntry{Name: "workerId", Value: req.WorkerId}) return list }