Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
77bebfde
Commit
77bebfde
authored
Mar 16, 2019
by
Sun Xin
Browse files
搜索参数修改
parent
71c4dc2a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
doc/4.6.5-to-4.7.0-mysql.sql
View file @
77bebfde
This diff is collapsed.
Click to expand it.
doc/db-mcms-mysql-4.7.0.sql
View file @
77bebfde
This diff is collapsed.
Click to expand it.
src/main/java/net/mingsoft/cms/action/web/SearchAction.java
View file @
77bebfde
...
@@ -148,7 +148,7 @@ public class SearchAction extends BaseAction {
...
@@ -148,7 +148,7 @@ public class SearchAction extends BaseAction {
if
(
ObjectUtil
.
isNull
(
search
))
{
if
(
ObjectUtil
.
isNull
(
search
))
{
this
.
outJson
(
response
,
false
);
this
.
outJson
(
response
,
false
);
}
}
Map
<
String
,
Object
>
map
=
BasicUtil
.
assemblyRequest
Map
();
Map
<
String
,
Object
>
map
=
new
Hash
Map
<>
();
// 读取请求字段
// 读取请求字段
Map
<
String
,
String
[]>
field
=
request
.
getParameterMap
();
Map
<
String
,
String
[]>
field
=
request
.
getParameterMap
();
Map
<
String
,
String
>
basicField
=
getMapByProperties
(
net
.
mingsoft
.
mdiy
.
constant
.
Const
.
BASIC_FIELD
);
Map
<
String
,
String
>
basicField
=
getMapByProperties
(
net
.
mingsoft
.
mdiy
.
constant
.
Const
.
BASIC_FIELD
);
...
@@ -273,11 +273,8 @@ public class SearchAction extends BaseAction {
...
@@ -273,11 +273,8 @@ public class SearchAction extends BaseAction {
page
.
setPreUrl
(
preUrl
);
page
.
setPreUrl
(
preUrl
);
page
.
setLastUrl
(
lastUrl
);
page
.
setLastUrl
(
lastUrl
);
map
.
put
(
ParserUtil
.
URL
,
BasicUtil
.
getUrl
());
map
.
put
(
ParserUtil
.
URL
,
BasicUtil
.
getUrl
());
Map
<
Object
,
Object
>
searchMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
searchMap
=
BasicUtil
.
assemblyRequestMap
();
searchMap
.
put
(
BASIC_TITLE
,
BasicUtil
.
getString
(
BASIC_TITLE
));
searchMap
.
put
(
ParserUtil
.
PAGE_NO
,
pageNo
);
searchMap
.
put
(
ParserUtil
.
PAGE_NO
,
pageNo
);
//设置栏目集合
searchMap
.
put
(
"categoryIds"
,
categoryIds
);
map
.
put
(
SEARCH
,
searchMap
);
map
.
put
(
SEARCH
,
searchMap
);
map
.
put
(
ParserUtil
.
PAGE
,
page
);
map
.
put
(
ParserUtil
.
PAGE
,
page
);
//动态解析
//动态解析
...
...
Write
Preview
Supports
Markdown
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