|
|
@@ -527,6 +527,38 @@ public class TsaCustomerController extends TsaBaseController {
|
|
|
|
|
|
return mav;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 메시지 발송 팝업 화면
|
|
|
+ *
|
|
|
+ * @param elementCellPhnno - 휴대폰
|
|
|
+ * @param elementCustNo - 고객일련번호
|
|
|
+ * @param maskingCellPhnno - 마스킹된 휴대폰
|
|
|
+ * @return ModelAndView
|
|
|
+ * @author moon
|
|
|
+ * @since 2021. 09. 07
|
|
|
+ */
|
|
|
+ @GetMapping("/lms/popup/form2")
|
|
|
+ public ModelAndView lmsPopupForm2(@RequestParam(value = "elementCellPhnno", required = false) String elementCellPhnno, @RequestParam(value = "elementCustNo") String elementCustNo, @RequestParam(value = "elementMaskingCellPhnno", required = false) String maskingCellPhnno, @RequestParam(value = "pageGb", required = false) String pageGb) {
|
|
|
+ ModelAndView mav = new ModelAndView();
|
|
|
+ // 휴대폰 번호
|
|
|
+ mav.addObject("elementCellPhnno", elementCellPhnno);
|
|
|
+
|
|
|
+ // 휴대폰 번호
|
|
|
+ mav.addObject("maskingCellPhnno", StringUtils.defaultString(maskingCellPhnno, ""));
|
|
|
+
|
|
|
+ // 고객 아이디
|
|
|
+ mav.addObject("elementCustNo", elementCustNo);
|
|
|
+
|
|
|
+ mav.addObject("callBack", TscConstants.CALLCENTER_TEL_NO);
|
|
|
+
|
|
|
+ mav.addObject("pageGb", StringUtils.defaultString(pageGb, ""));
|
|
|
+
|
|
|
+ mav.setViewName("customer/LmsPopupForm2");
|
|
|
+
|
|
|
+ return mav;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 메시지 발송
|
|
|
@@ -573,6 +605,29 @@ public class TsaCustomerController extends TsaBaseController {
|
|
|
|
|
|
return super.ok(message.getMessage("SUCC_0005"));
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 메시지 발송
|
|
|
+ *
|
|
|
+ * @param customer -고객정보
|
|
|
+ * @return GagaResponse
|
|
|
+ * @author moon
|
|
|
+ * @since 2021. 09. 07
|
|
|
+ */
|
|
|
+ @PostMapping("/message/send3")
|
|
|
+ @ResponseBody
|
|
|
+ public GagaResponse sendLms3(@RequestBody Customer customer) {
|
|
|
+ //Customer custInfo = customerService.getCustomerInfo(customer.getCustNo());
|
|
|
+ //customer.setCustNm(custInfo.getCustNm());
|
|
|
+ //customer.setCustNo(custInfo.getCustNo());
|
|
|
+ log.info("sendLms3 {}"+customer);
|
|
|
+ if (StringUtils.isNotBlank(customer.getCellPhnno())) {
|
|
|
+ Integer userNo = TsaSession.getInfo().getUserNo();
|
|
|
+ kakaotalkService.sendBasicLms3(customer, userNo);
|
|
|
+ }
|
|
|
+
|
|
|
+ return super.ok(message.getMessage("SUCC_0005"));
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 메시지 발송 팝업 화면
|