|
@@ -11,12 +11,11 @@ import org.springframework.stereotype.Component;
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
|
|
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
|
|
|
|
|
|
|
|
|
|
+import com.gagaframework.web.util.GagaStringUtil;
|
|
|
import com.style24.front.support.security.session.TsfSession;
|
|
import com.style24.front.support.security.session.TsfSession;
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
|
|
-import com.gagaframework.web.util.GagaStringUtil;
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* 모든 Request에 대한 선처리
|
|
* 모든 Request에 대한 선처리
|
|
|
*
|
|
*
|
|
@@ -129,7 +128,7 @@ public class TsfDefaultInterceptor extends HandlerInterceptorAdapter {
|
|
|
private void setFrontGb(HttpServletRequest request) {
|
|
private void setFrontGb(HttpServletRequest request) {
|
|
|
Device device = DeviceUtils.getCurrentDevice(request);
|
|
Device device = DeviceUtils.getCurrentDevice(request);
|
|
|
|
|
|
|
|
- if (device == null) {
|
|
|
|
|
|
|
+ if (device == null || device.isNormal()) {
|
|
|
TsfSession.setAttribute("frontGb", "P");
|
|
TsfSession.setAttribute("frontGb", "P");
|
|
|
} else {
|
|
} else {
|
|
|
log.info("TsfSession.isApp: {}", TsfSession.getAttribute("isApp"));
|
|
log.info("TsfSession.isApp: {}", TsfSession.getAttribute("isApp"));
|