feat(app): update
This commit is contained in:
24
pkg/dto/request/BaseDispatchOrerIdRequest.go
Normal file
24
pkg/dto/request/BaseDispatchOrerIdRequest.go
Normal file
@ -0,0 +1,24 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user