jaryhe 7 meses atrás
pai
commit
e6acbe693e
1 arquivos alterados com 13 adições e 0 exclusões
  1. 13 0
      impl/vehicle/group.go

+ 13 - 0
impl/vehicle/group.go

@@ -7,6 +7,7 @@ import (
 	"context"
 	"gd_vehicle/apis"
 	gutils "gd_vehicle/common.in/utils"
+	"gd_vehicle/consts"
 	"gd_vehicle/errors"
 	"gd_vehicle/impl/thirdparty_impl"
 	"gd_vehicle/utils"
@@ -364,6 +365,18 @@ func group(ctx context.Context, req *apis.CommonReq, reply *apis.CommonReply) er
 						return errors.NoRecord
 					}
 				}
+
+				tReq := &apis.ThirdpartRequest{
+					Ctx: ctx,
+					Params: respData,
+					ProviderApiCode: dutils.ADMU01,
+					ProviderMap:     req.ProviderMap,
+					RangeNo:         consts.RANGEONE,
+					Req:             req,
+					Reply:           reply,
+				}
+				//respData := make(map[string]interface{})
+				thirdparty_impl.CallThirdparty(tReq,respData)
 			// vin查车辆信息组
 			case  utils.ADMA02,utils.ADMA05:
 				if req.NeedVehicleInfo || getIsMatch(respData) == "1"{