package request import "fmt" // 自由职业者网签查询报文 type HYG10000001Req struct { *HYGBaseReq Timestamp string `json:"timestamp"` WorkerId string `json:"workerId"` } func (req *HYG10000001Req) GetArgString() string { return fmt.Sprintf("cooperatorId=%s×tamp=%s&workerId=%s", req.CooperatorId, req.Timestamp, req.WorkerId) }