Commit 36d124b92b6a298ff5ecaaea56a369533a25ed16
1 parent
b630edf865
Exists in
master
and in
6 other branches
update code
Showing 2 changed files with 18 additions and 2 deletions
platform-msg-generate/src/main/java/com/lyms/platform/msg/service/impl/BaseServiceImpl.java
View file @
36d124b
... | ... | @@ -281,7 +281,16 @@ |
281 | 281 | } |
282 | 282 | else |
283 | 283 | { |
284 | - prefix = getPrefix(config, doctorId); | |
284 | + | |
285 | + if(StringUtils.isNotEmpty(config.getAreaPrefix())) | |
286 | + { | |
287 | + prefix = config.getAreaPrefix(); | |
288 | + } | |
289 | + else | |
290 | + { | |
291 | + prefix = getPrefix(config, doctorId); | |
292 | + } | |
293 | + | |
285 | 294 | } |
286 | 295 | return prefix; |
287 | 296 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/SmsConfigFacade.java
View file @
36d124b
... | ... | @@ -866,7 +866,14 @@ |
866 | 866 | } |
867 | 867 | else |
868 | 868 | { |
869 | - prefix = getPrefix(config, doctorId); | |
869 | + if(StringUtils.isNotEmpty(config.getAreaPrefix())) | |
870 | + { | |
871 | + prefix = config.getAreaPrefix(); | |
872 | + } | |
873 | + else | |
874 | + { | |
875 | + prefix = getPrefix(config, doctorId); | |
876 | + } | |
870 | 877 | } |
871 | 878 | return prefix; |
872 | 879 | } |