|
|
@@ -8,8 +8,6 @@ import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import javax.servlet.http.HttpSession;
|
|
|
|
|
|
-import com.style24.core.biz.service.TscKakaotalkService;
|
|
|
-import com.style24.front.biz.service.TsfCouponService;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.core.env.Environment;
|
|
|
@@ -313,8 +311,6 @@ public class TsfIndexController extends TsfBaseController {
|
|
|
// SNS 로그인 성공시 정보 세션 저장
|
|
|
if (isSnsLoing) {
|
|
|
CustSnsInfo custSnsInfo = objectMapper.convertValue(userInfo, CustSnsInfo.class);
|
|
|
- log.info("custSnsInfo ==> {}", custSnsInfo.toString());
|
|
|
-
|
|
|
resultMap.setString("snsId", custSnsInfo.getSnsId());
|
|
|
resultMap.setString("snsType", custSnsInfo.getSnsType());
|
|
|
|
|
|
@@ -327,6 +323,9 @@ public class TsfIndexController extends TsfBaseController {
|
|
|
resultMap.setString("custNm", custSnsInfo.getCustNm());
|
|
|
resultMap.setString("custStat", "NEED_AGREE_CUST");
|
|
|
}
|
|
|
+
|
|
|
+ } else {
|
|
|
+ resultMap.setString("custStat", "FAIL_CUST");
|
|
|
}
|
|
|
|
|
|
mav.addObject("resultMap", resultMap);
|