Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7675fb72
authored
Mar 30, 2021
by
tyfanchz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改分页返回
1 parent
b0ee2de0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
src/main/java/com/glsx/admin/controller/SceneTemplateController.java
src/main/java/com/glsx/admin/controller/SceneTemplateController.java
View file @
7675fb7
package
com
.
glsx
.
admin
.
controller
;
package
com
.
glsx
.
admin
.
controller
;
import
javax.validation.groups.Default
;
import
java.util.Date
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.glsx.admin.pojo.GroupA
;
import
com.glsx.admin.pojo.GroupA
;
import
com.glsx.admin.pojo.request.SceneTemplateReq
;
import
com.glsx.admin.pojo.request.SceneTemplateReq
;
...
@@ -14,9 +16,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -14,9 +16,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.validation.groups.Default
;
import
java.util.Date
;
/**
/**
* <p>Description:
* <p>Description:
* <p>Project: chejia-smart
* <p>Project: chejia-smart
...
@@ -35,7 +34,7 @@ public class SceneTemplateController extends BaseController{
...
@@ -35,7 +34,7 @@ public class SceneTemplateController extends BaseController{
@RequestMapping
(
value
=
"/getList"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@RequestMapping
(
value
=
"/getList"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
public
R
getList
(
SceneTemplateReq
sceneTemplate
)
{
public
R
getList
(
SceneTemplateReq
sceneTemplate
)
{
log
.
info
(
"/sceneTemplate/getList param: {}"
,
JSON
.
toJSONString
(
sceneTemplate
));
log
.
info
(
"/sceneTemplate/getList param: {}"
,
JSON
.
toJSONString
(
sceneTemplate
));
return
R
.
ok
().
d
ata
(
templateFeignClient
.
getPageList
(
sceneTemplate
));
return
R
.
ok
().
putPageD
ata
(
templateFeignClient
.
getPageList
(
sceneTemplate
));
}
}
@RequestMapping
(
value
=
"/getById"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@RequestMapping
(
value
=
"/getById"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment