Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
M
mydressin-cart-service
Gestion
Activité
Membres
Labels
Programmation
Tickets
0
Tableaux des tickets
Jalons
Wiki
Jira
Code
Requêtes de fusion
0
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Service d'assistance
Analyse
Données d'analyse des chaînes de valeur
Contributor analytics
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
mydressin
mydressin-cart-service
Validations
7c1a211b
Valider
7c1a211b
rédigé
il y a 7 mois
par
aya zouity
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Add a methode to get Referred PromoCode By Uid
parent
67d0be15
Branches
Branches contenant la validation
1 requête de fusion
!81
MYD-640 /Add a methode to get Referred PromoCode By Uid
Modifications
3
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
3 fichiers modifiés
CHANGELOG.md
+1
-0
1 ajout, 0 suppression
CHANGELOG.md
pom.xml
+1
-1
1 ajout, 1 suppression
pom.xml
src/main/java/com/marketingconfort/mydressin/services/impl/ExternalApiServiceImpl.java
+1
-1
1 ajout, 1 suppression
...nfort/mydressin/services/impl/ExternalApiServiceImpl.java
avec
3 ajouts
et
2 suppressions
CHANGELOG.md
+
1
−
0
Voir le fichier @
7c1a211b
## [1.0.59-RELEASE]
### Added
-
Add new conditions in apply promo code to cart.
-
Add a methode to get Referred PromoCode By Uid
### Changed
-
Changes in existing function.
...
...
This diff is collapsed.
Click to expand it.
pom.xml
+
1
−
1
Voir le fichier @
7c1a211b
...
...
@@ -18,7 +18,7 @@
<dependency>
<groupId>
com.marketingconfort
</groupId>
<artifactId>
mydressin-common
</artifactId>
<version>
1.0.14
2
-RELEASE
</version>
<version>
1.0.14
4
-RELEASE
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/marketingconfort/mydressin/services/impl/ExternalApiServiceImpl.java
+
1
−
1
Voir le fichier @
7c1a211b
...
...
@@ -253,7 +253,7 @@ public class ExternalApiServiceImpl implements ExternalApiService {
}
@Override
public
List
<
ReferralPromoCodeRequest
>
getReferredPromoCodeByUid
(
long
uid
)
throws
TechnicalException
{
String
url
=
"http://localhost:8093/api/addons/referral/r
eferr
er/p
romo
s
Code
/"
+
uid
;
String
url
=
nameUrl
.
getAddonsService
()
+
NameUri
.
ADDONS
+
AddonsServicePath
.
getR
eferr
alP
romoCode
ByUid
(
uid
)
;
try
{
ResponseEntity
<
ReferralPromoCodeRequest
[]>
response
=
mcRestTemplateService
.
getForObject
(
url
,
ReferralPromoCodeRequest
[].
class
);
if
(
response
.
getStatusCode
()
==
HttpStatus
.
OK
&&
response
.
getBody
()
!=
null
)
{
...
...
This diff is collapsed.
Click to expand it.
Aperçu
0%
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter