1
This commit is contained in:
@@ -202,23 +202,7 @@ func (a *API) OrderStatusAndPsInfoNew(param map[string]interface{}) error {
|
|||||||
}
|
}
|
||||||
request.Param.RiderLatitude = utils.String2Pointer(param["latitude"].(string))
|
request.Param.RiderLatitude = utils.String2Pointer(param["latitude"].(string))
|
||||||
request.Param.RiderLongitude = utils.String2Pointer(param["longitude"].(string))
|
request.Param.RiderLongitude = utils.String2Pointer(param["longitude"].(string))
|
||||||
//// 纬度
|
|
||||||
//if param["latitude"].(string) != "" && param["longitude"].(string) != "" {
|
|
||||||
// if len(param["latitude"].(string)) > len("39.978573") && len(param["longitude"].(string)) > len("116.5031060") { // 是否为百度坐标
|
|
||||||
// //lat, lng, _ := jxutils.IntCoordinate2MarsStandard(param["longitude"].(string), param["latitude"].(string), 1)
|
|
||||||
// lat, lng := AutoGaoDe2BaiDu(param["latitude"].(string), param["longitude"].(string))
|
|
||||||
// request.Param.RiderLatitude = utils.String2Pointer(lat)
|
|
||||||
// request.Param.RiderLongitude = utils.String2Pointer(lng)
|
|
||||||
// } else {
|
|
||||||
// request.Param.RiderLatitude = utils.String2Pointer(param["latitude"].(string))
|
|
||||||
// request.Param.RiderLongitude = utils.String2Pointer(param["longitude"].(string))
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
||||||
if param["logistics_provider_code"].(string) != "MERCHANT" {
|
|
||||||
request.Param.DistributionDeliveryId = param["third_carrier_order_id"].(string)
|
request.Param.DistributionDeliveryId = param["third_carrier_order_id"].(string)
|
||||||
}
|
|
||||||
|
|
||||||
switch param["opcode"].(string) {
|
switch param["opcode"].(string) {
|
||||||
case TiktokLogisticsStatusCALLRIDER:
|
case TiktokLogisticsStatusCALLRIDER:
|
||||||
request.Param.Status = 101
|
request.Param.Status = 101
|
||||||
|
|||||||
Reference in New Issue
Block a user