fix[litemall-core]: bug fix.

This commit is contained in:
Junling Bu
2018-07-23 14:23:27 +08:00
parent c1e96bfef4
commit 147c836dcc

View File

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