REQ-3444: 调用方控制是否截断参数
This commit is contained in:
parent
f27881e394
commit
b5107667d8
@ -165,7 +165,7 @@ public class SmsSendManagerComposite implements SmsSendManager, ApplicationConte
|
|||||||
*/
|
*/
|
||||||
private String handleSmsVariableSize(MessageSendRequestDto request, String str) {
|
private String handleSmsVariableSize(MessageSendRequestDto request, String str) {
|
||||||
VariableAbbreviation abbreviation = request.getAbbreviation();
|
VariableAbbreviation abbreviation = request.getAbbreviation();
|
||||||
if (abbreviation == null) {
|
if (abbreviation == null || request.getChannelCode().equals("aliyun")) {
|
||||||
abbreviation = VariableAbbreviation.defaultAbbreviate();
|
abbreviation = VariableAbbreviation.defaultAbbreviate();
|
||||||
}
|
}
|
||||||
if (!abbreviation.isAbbreviate()) {
|
if (!abbreviation.isAbbreviate()) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user