Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
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
西魏
cms_sys
Commits
dba51002
Commit
dba51002
authored
Dec 02, 2020
by
wujj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
国际化
parent
00dd38dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
5.2-patch.sql
doc/5.2-patch.sql
+2
-1
WebConfig.java
src/main/java/net/mingsoft/config/WebConfig.java
+4
-0
No files found.
doc/5.2-patch.sql
View file @
dba51002
...
@@ -80,7 +80,8 @@ DROP COLUMN `app_id`;
...
@@ -80,7 +80,8 @@ DROP COLUMN `app_id`;
ALTER
TABLE
`cms_category`
ALTER
TABLE
`cms_category`
MODIFY
COLUMN
`category_id`
bigint
(
20
)
ZEROFILL
NULL
DEFAULT
NULL
COMMENT
'所属栏目'
AFTER
`id`
,
MODIFY
COLUMN
`category_id`
bigint
(
20
)
ZEROFILL
NULL
DEFAULT
NULL
COMMENT
'所属栏目'
AFTER
`id`
,
MODIFY
COLUMN
`mdiy_model_id`
int
(
11
)
NULL
DEFAULT
NULL
COMMENT
'栏目管理的内容模型id'
AFTER
`dict_id`
;
MODIFY
COLUMN
`mdiy_model_id`
int
(
11
)
NULL
DEFAULT
NULL
COMMENT
'栏目管理的内容模型id'
AFTER
`dict_id`
;
ALTER
TABLE
`cms_category`
CHANGE
COLUMN
`category_parent_id`
`category_parent_ids`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'父类型编号,多个id逗号'
AFTER
`mdiy_model_id`
;
ALTER
TABLE
`cms_content`
ALTER
TABLE
`cms_content`
CHANGE
COLUMN
`content_category_id`
`category_id`
bigint
(
20
)
UNSIGNED
NULL
COMMENT
'所属栏目'
AFTER
`id`
;
CHANGE
COLUMN
`content_category_id`
`category_id`
bigint
(
20
)
UNSIGNED
NULL
COMMENT
'所属栏目'
AFTER
`id`
;
...
...
src/main/java/net/mingsoft/config/WebConfig.java
View file @
dba51002
...
@@ -154,6 +154,10 @@ public class WebConfig implements WebMvcConfigurer {
...
@@ -154,6 +154,10 @@ public class WebConfig implements WebMvcConfigurer {
return
pool
;
return
pool
;
}
}
/**
* 国际化配置拦截
* @return
*/
@Bean
@Bean
public
MSLocaleResolver
localeResolver
(){
public
MSLocaleResolver
localeResolver
(){
return
new
MSLocaleResolver
();
return
new
MSLocaleResolver
();
...
...
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