Browse Source

fix[litemall-core]: bug fix.

Junling Bu 7 years ago
parent
commit
147c836dcc

+ 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));