|
|
@@ -16,6 +16,7 @@ import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
@@ -351,12 +352,13 @@ public class TsfIndexController extends TsfBaseController {
|
|
|
* @author jsshin
|
|
|
* @since 2021. 02. 23
|
|
|
*/
|
|
|
- @RequestMapping("/signin/yes24LoginCallback")
|
|
|
- public ModelAndView yes24LoginCallback(@RequestParam("ipin") String ipin, HttpSession session) {
|
|
|
+ @RequestMapping( "/signin/yes24LoginCallback")
|
|
|
+ public ModelAndView yes24LoginCallback(@RequestParam(value = "ipin", required = false) String ipin, @RequestParam(value = "ipn", required = false) String ipn, HttpSession session) {
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
boolean isSnsLoing = false;
|
|
|
GagaMap userInfo = new GagaMap();
|
|
|
-
|
|
|
+ log.info("ipn {}", ipn);
|
|
|
+ log.info("ipin {}", ipin);
|
|
|
if (StringUtils.isNotBlank(ipin)) {
|
|
|
userInfo = yes24Login.getUserInfo(ipin);
|
|
|
userInfo.setString("snsType", TscConstants.SnsType.YES24.value());
|