Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sentinel
Commits
a4ef7b0c
Commit
a4ef7b0c
authored
Aug 30, 2018
by
曲欣亮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重构
parent
d6d272e5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
LanguageController.java
src/main/java/com/egolm/lang/LanguageController.java
+1
-1
LoginController.java
src/main/java/com/egolm/lang/LoginController.java
+1
-1
OpenInterceptor.java
...va/com/egolm/lang/config/interceptor/OpenInterceptor.java
+1
-1
LoginToken.java
src/main/java/com/egolm/lang/model/LoginToken.java
+1
-1
No files found.
src/main/java/com/egolm/lang/LanguageController.java
View file @
a4ef7b0c
...
@@ -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"
);
...
...
src/main/java/com/egolm/lang/LoginController.java
View file @
a4ef7b0c
...
@@ -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
...
...
src/main/java/com/egolm/lang/config/interceptor/OpenInterceptor.java
View file @
a4ef7b0c
...
@@ -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
{
...
...
src/main/java/com/egolm/lang/
bean
/LoginToken.java
→
src/main/java/com/egolm/lang/
model
/LoginToken.java
View file @
a4ef7b0c
package
com
.
egolm
.
lang
.
bean
;
package
com
.
egolm
.
lang
.
model
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment