jaryhe hace 7 meses
padre
commit
1e1f482992
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      impl/thirdparty_impl/zr/vehicle_five.go

+ 2 - 2
impl/thirdparty_impl/zr/vehicle_five.go

@@ -16,7 +16,7 @@ import (
 
 
 func getZrVehicleFiveKey(req *apis.ThirdpartRequest) string {
-	key := req.ProviderApiCode + ":" +  req.Params["plateNumber"]
+	key := req.ProviderApiCode + ":" +  req.Params["vinOrPlateNumber"]
 	return key
 }
 
@@ -51,7 +51,7 @@ func  VehicleFiveNationalLocal(req *apis.ThirdpartRequest, respMap map[string]st
 }
 
 func VehicleFiveNational(req *apis.ThirdpartRequest, respMap map[string]string)  error {
-	plateNo := req.Params["plateNumber"]
+	plateNo := req.Params["vinOrPlateNumber"]
 	if plateNo == ""  {
 		return errors.ArgsError
 	}