Commit ce0d2beb6512a371170d961dbe4c9e5cac4c932d
1 parent
ea24fec21c
Exists in
master
and in
1 other branch
code update
Showing 2 changed files with 5 additions and 2 deletions
platform-common/src/main/java/com/lyms/platform/common/constants/ErrorCodeConstants.java
View file @
ce0d2be
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/SmsConfigFacade.java
View file @
ce0d2be
| ... | ... | @@ -738,7 +738,7 @@ |
| 738 | 738 | if (!isRunning) |
| 739 | 739 | { |
| 740 | 740 | BaseResponse objectResponse = new BaseResponse(); |
| 741 | - objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS); | |
| 741 | + objectResponse.setErrorcode(ErrorCodeConstants.NO_POWER); | |
| 742 | 742 | objectResponse.setErrormsg("暂无发送权限"); |
| 743 | 743 | return objectResponse; |
| 744 | 744 | } |
| ... | ... | @@ -761,7 +761,7 @@ |
| 761 | 761 | if (!isStart) |
| 762 | 762 | { |
| 763 | 763 | BaseResponse objectResponse = new BaseResponse(); |
| 764 | - objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS); | |
| 764 | + objectResponse.setErrorcode(ErrorCodeConstants.NO_POWER); | |
| 765 | 765 | objectResponse.setErrormsg("暂无发送权限"); |
| 766 | 766 | return objectResponse; |
| 767 | 767 | } |