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