浏览代码

fix[litemall-core]: bug fix.

Junling Bu 7 年之前
父节点
当前提交
147c836dcc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      litemall-core/src/main/java/org/linlinjava/litemall/core/notify/NotifyService.java

+ 1 - 1
litemall-core/src/main/java/org/linlinjava/litemall/core/notify/NotifyService.java

@@ -45,7 +45,7 @@ public class NotifyService {
      */
     @Async
     public void notifySmsTemplate(String phoneNumber, NotifyType notifyType, String[] params) {
-        if (wxTemplateSender == null)
+        if (smsSender == null)
             return;
 
         int templateId = Integer.parseInt(getTemplateId(notifyType, smsTemplate));