Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop

This commit is contained in:
richboo111
2023-05-25 09:52:48 +08:00
10 changed files with 106 additions and 40 deletions

View File

@@ -1370,3 +1370,20 @@ func (c *OrderController) UpdateMTOrderSettle() {
return nil, "", err
})
}
// @Title 获取三方配送的骑手坐标
// @Description 获取三方配送的骑手坐标
// @Param token header string true "认证token"
// @Param orderId formData string true "订单id"
// @Param deliveryId formData string true "运单id"
// @Param waybillVendorId formData int true "运单平台id"
// @Param orderVendorId formData int true "运单平台id"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetRiderLng [post]
func (c *OrderController) GetRiderLng() {
c.callGetRiderLng(func(params *tOrderGetRiderLngParams) (interface{}, string, error) {
rider, err := delivery.GetVendorRiderInfo(params.WaybillVendorId, params.OrderVendorId, params.OrderId, params.DeliveryId)
return rider, "", err
})
}