Files
servicebase/pkg/dto/request/BaseDispatchOrerIdRequest.go
2025-11-19 14:24:13 +08:00

25 lines
423 B
Go

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
}