|
|
@@ -7,6 +7,7 @@ import java.util.List;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
+import com.style24.core.biz.service.TscKcpService;
|
|
|
import com.style24.persistence.domain.CustDeliveryAddr;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -128,6 +129,9 @@ public class TsfMypageController extends TsfBaseController {
|
|
|
@Autowired
|
|
|
private TsfCommonService commonService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private TscKcpService kcpService;
|
|
|
+
|
|
|
/**
|
|
|
* 마이페이지 메인 화면
|
|
|
*
|
|
|
@@ -1392,16 +1396,12 @@ public class TsfMypageController extends TsfBaseController {
|
|
|
@ResponseBody
|
|
|
public GagaMap getAccountCheck(@RequestBody CustAccount custAccount) throws Exception {
|
|
|
custAccount.setIpAddress(TsfSession.getIpAddress());
|
|
|
-
|
|
|
- GagaMap result = coreCustomerService.checkAccount(custAccount);
|
|
|
-
|
|
|
+ boolean isValid = false;
|
|
|
+ GagaMap result = kcpService.checkAccount(custAccount);
|
|
|
if("0000".equals(result.get("recCd"))) {
|
|
|
- result.set("status", GagaResponseStatus.SUCCESS.getCode());
|
|
|
- result.set("isValid", true);
|
|
|
- } else {
|
|
|
- throw new IllegalStateException(message.getMessage("FAIL_0004"));
|
|
|
+ isValid = true;
|
|
|
}
|
|
|
-
|
|
|
+ result.set("isValid", isValid);
|
|
|
return result;
|
|
|
}
|
|
|
|