Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
sunbird-lms-service
Commits
b97d32c7
Unverified
Commit
b97d32c7
authored
3 years ago
by
AMIT KUMAR
Committed by
GitHub
3 years ago
Browse files
Options
Download
Patches
Plain Diff
Issue #SB-26253 feat:Fix bulk sms issue (#925)
parent
8ce68906
release-4.2.0
release-4.2.0_RC13
release-4.2.0_RC12
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/Msg91SmsProvider.java
+2
-2
...nbird/notification/sms/providerimpl/Msg91SmsProvider.java
core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/ProviderDetails.java
+8
-1
...unbird/notification/sms/providerimpl/ProviderDetails.java
with
10 additions
and
3 deletions
+10
-3
core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/Msg91SmsProvider.java
+
2
−
2
View file @
b97d32c7
...
...
@@ -141,7 +141,7 @@ public class Msg91SmsProvider implements ISmsProvider {
// create body
ProviderDetails
providerDetails
=
new
ProviderDetails
(
sender
,
smsRoute
,
country
,
1
,
smsList
);
new
ProviderDetails
(
sender
,
smsRoute
,
country
,
1
,
smsList
,
templateId
);
String
providerDetailsString
=
JsonUtil
.
toJson
(
providerDetails
);
...
...
@@ -384,7 +384,7 @@ public class Msg91SmsProvider implements ISmsProvider {
smsList
.
add
(
sms
);
// create body
ProviderDetails
providerDetails
=
new
ProviderDetails
(
sender
,
smsRoute
,
country
,
1
,
smsList
);
ProviderDetails
providerDetails
=
new
ProviderDetails
(
sender
,
smsRoute
,
country
,
1
,
smsList
,
templateId
);
String
providerDetailsString
=
JsonUtil
.
toJson
(
providerDetails
);
...
...
This diff is collapsed.
Click to expand it.
core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/ProviderDetails.java
+
8
−
1
View file @
b97d32c7
...
...
@@ -13,14 +13,16 @@ public class ProviderDetails implements Serializable {
private
String
route
;
private
String
country
;
private
int
unicode
;
private
String
DLT_TE_ID
;
private
List
<
Sms
>
sms
;
public
ProviderDetails
(
String
sender
,
String
route
,
String
country
,
int
unicode
,
List
<
Sms
>
sms
)
{
public
ProviderDetails
(
String
sender
,
String
route
,
String
country
,
int
unicode
,
List
<
Sms
>
sms
,
String
DLT_TE_ID
)
{
this
.
sender
=
sender
;
this
.
route
=
route
;
this
.
country
=
country
;
this
.
sms
=
sms
;
this
.
unicode
=
unicode
;
this
.
DLT_TE_ID
=
DLT_TE_ID
;
}
/** @return the serialversionuid */
...
...
@@ -52,4 +54,9 @@ public class ProviderDetails implements Serializable {
public
int
getUnicode
()
{
return
unicode
;
}
/** @return the DLT_TE_ID */
public
String
getDLT_TE_ID
()
{
return
DLT_TE_ID
;
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets