From 4b621b9b4100c15928e843711bb4f9630b26140f Mon Sep 17 00:00:00 2001 From: Sinh Date: Thu, 18 Jul 2024 16:15:58 +0700 Subject: [PATCH] feat: update URLs and authentication base across files - Update production URLs in `viettel_ffm.go` - Change the authentication base URLs for staging and production Signed-off-by: Sinh --- partnerapi/viettelffm/viettel_ffm.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/partnerapi/viettelffm/viettel_ffm.go b/partnerapi/viettelffm/viettel_ffm.go index afdafa6..16b8e57 100644 --- a/partnerapi/viettelffm/viettel_ffm.go +++ b/partnerapi/viettelffm/viettel_ffm.go @@ -20,9 +20,8 @@ const ( baseURLStag = "https://stg-gw.viettelpost.vn" baseURLAuthStag = "https://stg-keycloak.viettelpost.vn" - // TODO: update prod url - baseURLProd = "" - baseURLAuthProd = "" + baseURLProd = "https://gw.viettelpost.vn" + baseURLAuthProd = "https://dws-sso.viettelpost.vn" pathAuth = "/realms/wms/protocol/openid-connect/token" pathUpdateORLogisticInfo = "/wms-core/api/v1/obms/outbound-request/outbound-request-partner/%s"