Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-serivce
/
glsx-config-server
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 4286e193
authored
Jun 24, 2020
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改出货统计 分页问题
1 parent
d0ec94d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
app/controller/biz/delivery.js
app/controller/biz/delivery.js
View file @
4286e19
/*
/*
* @Author: chenwq
* @Author: chenwq
* @Date: 2020-06-17 11:12:15
* @Date: 2020-06-17 11:12:15
* @Last Modified by:
chenwq
* @Last Modified by:
huyue
* @Last Modified time: 2020-06-
19 13:51:10
* @Last Modified time: 2020-06-
24 16:01:41
*/
*/
"use strict"
;
"use strict"
;
...
@@ -32,10 +32,10 @@
...
@@ -32,10 +32,10 @@
* @Request searcher
* @Request searcher
* @Response 200 response ok
* @Response 200 response ok
*/
*/
async
findAll
({
request
:
{
body
:
{
searcher
}}})
{
async
findAll
({
request
:
{
body
:
{
pager
,
searcher
}}})
{
// get请求获取参数
// get请求获取参数
// searcher = this.ctx.query
// searcher = this.ctx.query
const
result
=
await
this
.
deliveryServices
.
findAll
({
searcher
});
const
result
=
await
this
.
deliveryServices
.
findAll
({
pager
,
searcher
});
// const result = await this.deliveryServices.findAll({ pager, searcher });
// const result = await this.deliveryServices.findAll({ pager, searcher });
this
.
ctx
.
body
=
this
.
ServerResponse
.
Success
(
result
);
this
.
ctx
.
body
=
this
.
ServerResponse
.
Success
(
result
);
}
}
...
...
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