Commit a4ef7b0c authored by 曲欣亮's avatar 曲欣亮

重构

parent d6d272e5
...@@ -285,7 +285,7 @@ public class LanguageController { ...@@ -285,7 +285,7 @@ public class LanguageController {
tmp.add(map); tmp.add(map);
} }
} }
T_lang_tree node = service.getNodeByLink(sLink); T_lang_tree node = service.getNodeByLink(sLink, true);
Map<String, Object> textMap = GsonUtil.toMap(node.getsContentText()); Map<String, Object> textMap = GsonUtil.toMap(node.getsContentText());
String caption = (String)textMap.get("sCaption"); String caption = (String)textMap.get("sCaption");
List<?> list = (List<?>)textMap.get("sDocuments"); List<?> list = (List<?>)textMap.get("sDocuments");
......
...@@ -10,9 +10,9 @@ import org.springframework.web.bind.annotation.ResponseBody; ...@@ -10,9 +10,9 @@ import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.StringUtil; import com.egolm.common.StringUtil;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.lang.bean.LoginToken;
import com.egolm.lang.config.Constant; import com.egolm.lang.config.Constant;
import com.egolm.lang.config.XException; import com.egolm.lang.config.XException;
import com.egolm.lang.model.LoginToken;
@Controller @Controller
@RequestMapping @RequestMapping
......
...@@ -9,9 +9,9 @@ import org.springframework.stereotype.Component; ...@@ -9,9 +9,9 @@ import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.egolm.common.StringUtil; import com.egolm.common.StringUtil;
import com.egolm.lang.bean.LoginToken;
import com.egolm.lang.config.Constant; import com.egolm.lang.config.Constant;
import com.egolm.lang.config.XException; import com.egolm.lang.config.XException;
import com.egolm.lang.model.LoginToken;
@Component @Component
public class OpenInterceptor extends HandlerInterceptorAdapter { public class OpenInterceptor extends HandlerInterceptorAdapter {
......
package com.egolm.lang.bean; package com.egolm.lang.model;
import java.io.Serializable; import java.io.Serializable;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment