Subversion Repositories SmartDukaan

Rev

Rev 32763 | Rev 32868 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32763 Rev 32778
Line 1635... Line 1635...
1635
        sendNotificationModel.setExpiresat(LocalDateTime.now().plusDays(1));
1635
        sendNotificationModel.setExpiresat(LocalDateTime.now().plusDays(1));
1636
        sendNotificationModel.setMessageType(MessageType.notification);
1636
        sendNotificationModel.setMessageType(MessageType.notification);
1637
        sendNotificationModel.setUserIds(Arrays.asList(userAccountRepository.selectUserIdByRetailerId(byPassRequest.getFofoId())));
1637
        sendNotificationModel.setUserIds(Arrays.asList(userAccountRepository.selectUserIdByRetailerId(byPassRequest.getFofoId())));
1638
 
1638
 
1639
        notificationService.sendNotification(sendNotificationModel);
1639
        notificationService.sendNotification(sendNotificationModel);
1640
 
-
 
-
 
1640
        //TODO-Whatsapp
1641
        notificationService.sendWhatsappMessage(message, title, address.getPhoneNumber());
1641
        //notificationService.sendWhatsappMessage(message, title, address.getPhoneNumber());
1642
 
1642
 
1643
        model.addAttribute("response1", mvcResponseSender.createResponseString(true));
1643
        model.addAttribute("response1", mvcResponseSender.createResponseString(true));
1644
        return "response";
1644
        return "response";
1645
    }
1645
    }
1646
 
1646