package request import "errors" type BaseDispatchOrderIdRequest struct { BaseRequest DispatchOrderId string } // 参数合法性检验 func (request *BaseDispatchOrderIdRequest) CheckParameter() (err error) { if len(request.DispatchOrderId) == 0 { err = errors.New("DispatchOrderId不能为空") return } return } type DispatchOrderCompleteRequest struct { BaseDispatchOrderIdRequest SellerUserId string }