From 953d270dd90c5772d48e39c1622272db07071c0a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 14 Apr 2021 00:34:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20sms=20=E7=9A=84=E7=BC=93?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/sms/smsLog.vue | 2 +- ruoyi-ui/src/views/system/sms/smsTemplate.vue | 2 +- .../core/client/impl/AbstractSmsClient.java | 2 +- .../dal/mysql/sms/SysSmsChannelMapper.java | 8 +- .../dal/mysql/sms/SysSmsTemplateMapper.java | 5 + .../sms/SysSmsChannelRefreshConsumer.java | 29 ++++++ .../sms/SysSmsTemplateRefreshConsumer.java | 29 ++++++ .../sms/SysSmsChannelRefreshMessage.java | 17 ++++ .../sms/SysSmsTemplateRefreshMessage.java | 17 ++++ .../producer/permission/SysRoleProducer.java | 2 + .../mq/producer/sms/SysSmsProducer.java | 22 ++++- .../modules/system/service/package-info.java | 1 - .../permission/SysPermissionService.java | 2 +- .../permission/impl/SysRoleServiceImpl.java | 18 ++-- .../service/sms/SysSmsTemplateService.java | 13 +++ .../sms/impl/SysSmsChannelServiceImpl.java | 74 +++++++++++++-- .../service/sms/impl/SysSmsServiceImpl.java | 3 +- .../sms/impl/SysSmsTemplateServiceImpl.java | 92 ++++++++++++++++++- 18 files changed, 306 insertions(+), 32 deletions(-) create mode 100644 src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsChannelRefreshConsumer.java create mode 100644 src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsTemplateRefreshConsumer.java create mode 100644 src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsChannelRefreshMessage.java create mode 100644 src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsTemplateRefreshMessage.java delete mode 100644 src/main/java/cn/iocoder/dashboard/modules/system/service/package-info.java diff --git a/ruoyi-ui/src/views/system/sms/smsLog.vue b/ruoyi-ui/src/views/system/sms/smsLog.vue index d24968bdb..137f04850 100644 --- a/ruoyi-ui/src/views/system/sms/smsLog.vue +++ b/ruoyi-ui/src/views/system/sms/smsLog.vue @@ -84,7 +84,7 @@
{{ parseTime(scope.row.receiveTime) }}
- +