Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
brandkbs2
Overview
Overview
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
shenjunjie
brandkbs2
Commits
d657df98
Commit
d657df98
authored
Mar 21, 2023
by
shenjunjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移动端关键字搜索渠道列表调整
parent
a09866e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/main/java/com/zhiwei/brandkbs2/controller/mobile/MobileSearchController.java
+2
-2
No files found.
src/main/java/com/zhiwei/brandkbs2/controller/mobile/MobileSearchController.java
View file @
d657df98
...
@@ -55,14 +55,14 @@ public class MobileSearchController {
...
@@ -55,14 +55,14 @@ public class MobileSearchController {
@ApiImplicitParam
(
name
=
"size"
,
value
=
"每页记录数"
,
required
=
false
,
defaultValue
=
"10"
,
paramType
=
"query"
,
dataType
=
"int"
),
@ApiImplicitParam
(
name
=
"size"
,
value
=
"每页记录数"
,
required
=
false
,
defaultValue
=
"10"
,
paramType
=
"query"
,
dataType
=
"int"
),
@ApiImplicitParam
(
name
=
"keyword"
,
value
=
"关键字"
,
required
=
false
,
defaultValue
=
""
,
paramType
=
"query"
,
dataType
=
"String"
),
@ApiImplicitParam
(
name
=
"keyword"
,
value
=
"关键字"
,
required
=
false
,
defaultValue
=
""
,
paramType
=
"query"
,
dataType
=
"String"
),
@ApiImplicitParam
(
name
=
"platform"
,
value
=
"平台筛选"
,
required
=
false
,
defaultValue
=
"全部"
,
paramType
=
"query"
,
dataType
=
"String"
),
@ApiImplicitParam
(
name
=
"platform"
,
value
=
"平台筛选"
,
required
=
false
,
defaultValue
=
"全部"
,
paramType
=
"query"
,
dataType
=
"String"
),
@ApiImplicitParam
(
name
=
"emotion"
,
value
=
"情感倾向"
,
required
=
false
,
defaultValue
=
"
0
"
,
paramType
=
"query"
,
dataType
=
"int"
)
@ApiImplicitParam
(
name
=
"emotion"
,
value
=
"情感倾向"
,
required
=
false
,
defaultValue
=
"
-1
"
,
paramType
=
"query"
,
dataType
=
"int"
)
})
})
@GetMapping
(
"/channel"
)
@GetMapping
(
"/channel"
)
public
ResponseResult
searchChannelList
(
@RequestParam
(
value
=
"page"
,
defaultValue
=
"1"
)
int
page
,
public
ResponseResult
searchChannelList
(
@RequestParam
(
value
=
"page"
,
defaultValue
=
"1"
)
int
page
,
@RequestParam
(
value
=
"size"
,
defaultValue
=
"10"
)
int
size
,
@RequestParam
(
value
=
"size"
,
defaultValue
=
"10"
)
int
size
,
@RequestParam
(
value
=
"keyword"
,
defaultValue
=
""
)
String
keyword
,
@RequestParam
(
value
=
"keyword"
,
defaultValue
=
""
)
String
keyword
,
@RequestParam
(
value
=
"platform"
,
defaultValue
=
"全部"
)
String
platform
,
@RequestParam
(
value
=
"platform"
,
defaultValue
=
"全部"
)
String
platform
,
@RequestParam
(
value
=
"emotion"
,
defaultValue
=
"
0
"
)
int
emotion
)
{
@RequestParam
(
value
=
"emotion"
,
defaultValue
=
"
-1
"
)
int
emotion
)
{
JSONObject
sorter
=
new
JSONObject
();
JSONObject
sorter
=
new
JSONObject
();
sorter
.
put
(
"last_time"
,
"descend"
);
sorter
.
put
(
"last_time"
,
"descend"
);
return
ResponseResult
.
success
(
channelService
.
getChannelListNew
(
page
,
size
,
keyword
,
Collections
.
singletonList
(
platform
),
return
ResponseResult
.
success
(
channelService
.
getChannelListNew
(
page
,
size
,
keyword
,
Collections
.
singletonList
(
platform
),
...
...
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