- SelfDeliveredAndUpdateStatus added.
This commit is contained in:
@@ -81,7 +81,7 @@ func (c *OrderController) FinishedPickup() {
|
||||
}
|
||||
|
||||
// @Title 转自送
|
||||
// @Description 转自送
|
||||
// @Description 转自送,对于配送类型为纯自送的,就是表示自送开始
|
||||
// @Param token header string true "认证toke"
|
||||
// @Param vendorOrderID formData string true "订单ID"
|
||||
// @Param vendorID formData int true "订单所属的厂商ID"
|
||||
@@ -94,6 +94,20 @@ func (c *OrderController) Swtich2SelfDeliver() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 自送送达
|
||||
// @Description 自送送达
|
||||
// @Param token header string true "认证toke"
|
||||
// @Param vendorOrderID formData string true "订单ID"
|
||||
// @Param vendorID formData int true "订单所属的厂商ID"
|
||||
// @Success 200 {object} business.model.CallResult
|
||||
// @Failure 200 {object} business.model.CallResult
|
||||
// @router /SelfDelivered [post]
|
||||
func (c *OrderController) SelfDelivered() {
|
||||
c.orderOperate(func(vendorOrderID string, vendorID int, userName string) (interface{}, error) {
|
||||
return nil, basesch.FixedBaseScheduler.SelfDeliveredAndUpdateStatus(vendorOrderID, vendorID, userName)
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 创建三方运单
|
||||
// @Description 创建三方运单
|
||||
// @Param token header string true "认证toke"
|
||||
|
||||
Reference in New Issue
Block a user