jsshin 4 лет назад
Родитель
Сommit
174a3b551e
1 измененных файлов с 8 добавлено и 1 удалено
  1. 8 1
      src/main/java/com/style24/front/biz/web/TsfIndexController.java

+ 8 - 1
src/main/java/com/style24/front/biz/web/TsfIndexController.java

@@ -212,7 +212,12 @@ public class TsfIndexController extends TsfBaseController {
 	 * @since 2021. 02. 23
 	 */
 	@RequestMapping("/signin/snsLoginCallback")
-	public ModelAndView signinSnsLoginCallback(@RequestParam(value = "snsType", required = false) String snsType, HttpSession session, @RequestParam(value = "code", required = false) String code, @RequestParam(value = "state", required = false) String state, @RequestParam(value = "error", required = false) boolean isError, HttpServletRequest request) {
+	public ModelAndView signinSnsLoginCallback(@RequestParam(value = "snsType", required = false) String snsType
+			, @RequestParam(value = "code", required = false) String code
+			, @RequestParam(value = "state", required = false) String state
+			, @RequestParam(value = "error", required = false) boolean isError
+			, HttpSession session
+			, HttpServletRequest request) {
 
 		ModelAndView mav = new ModelAndView();
 
@@ -274,6 +279,8 @@ public class TsfIndexController extends TsfBaseController {
 			if ("EMPTY_PHONE_CUST".equals(custStat)) {
 				session.setAttribute("custSnsInfo", custSnsInfo);
 			}
+		} else {
+			resultMap.setString("custStat", "FAIL_CUST");
 		}
 
 		mav.addObject("resultMap", resultMap);