投诉骑手

This commit is contained in:
苏尹岚
2019-12-23 15:27:06 +08:00
parent 3f98af6a11
commit 166f5320d3
7 changed files with 119 additions and 0 deletions

View File

@@ -363,3 +363,8 @@ func limitOrderWeight(weight int) int {
}
return weight
}
func (c *DeliveryHandler) ComplaintRider(bill *model.Waybill, resonID int, resonContent string) (err error) {
err = api.DadaAPI.ComplaintRider(bill.VendorOrderID, resonID)
return err
}

View File

@@ -246,3 +246,8 @@ func limitOrderWeight(weight int) int {
}
return weight
}
func (c *DeliveryHandler) ComplaintRider(bill *model.Waybill, resonID int, resonContent string) (err error) {
err = api.MtpsAPI.EvaluateRider(utils.Str2Int64(bill.VendorWaybillID2), bill.VendorWaybillID, 1, resonContent)
return err
}