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 <luuvansinh555@gmail.com>
This commit is contained in:
Sinh 2024-07-18 16:15:58 +07:00
parent b7195b364f
commit 4b621b9b41
1 changed files with 2 additions and 3 deletions

View File

@ -20,9 +20,8 @@ const (
baseURLStag = "https://stg-gw.viettelpost.vn" baseURLStag = "https://stg-gw.viettelpost.vn"
baseURLAuthStag = "https://stg-keycloak.viettelpost.vn" baseURLAuthStag = "https://stg-keycloak.viettelpost.vn"
// TODO: update prod url baseURLProd = "https://gw.viettelpost.vn"
baseURLProd = "" baseURLAuthProd = "https://dws-sso.viettelpost.vn"
baseURLAuthProd = ""
pathAuth = "/realms/wms/protocol/openid-connect/token" pathAuth = "/realms/wms/protocol/openid-connect/token"
pathUpdateORLogisticInfo = "/wms-core/api/v1/obms/outbound-request/outbound-request-partner/%s" pathUpdateORLogisticInfo = "/wms-core/api/v1/obms/outbound-request/outbound-request-partner/%s"