Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lzzzzl
/
liexin_scm_service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
29418cf7
authored
May 14, 2020
by
lzzzzl
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改列表api
parent
af3d942a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
app/Http/Controllers/ServicesController.php
common
app/Http/Controllers/ServicesController.php
View file @
29418cf7
...
...
@@ -22,7 +22,7 @@ class ServicesController extends Controller
* 获取仓库信息
*/
public
function
ApiStoreInfo
(
$request
)
{
$params
=
$request
->
only
([
'limit'
,
'page'
,
'store_sn'
,
'store_name'
,
'erp_store_sn'
]);
$params
=
$request
->
only
([
'limit'
,
'page'
,
'store_sn'
,
'store_name'
,
'erp_store_sn'
,
'admin_id'
,
'admin_name'
]);
$arr
=
array
(
'limit'
=>
!
empty
(
$params
[
'limit'
])
?
$params
[
'limit'
]
:
10
,
...
...
@@ -101,7 +101,7 @@ class ServicesController extends Controller
* 获取区域信息
*/
public
function
ApiZoneInfo
(
$request
)
{
$params
=
$request
->
only
([
'limit'
,
'page'
,
'zone_sn'
,
'zone_name'
,
'store_name'
,
'store_id'
]);
$params
=
$request
->
only
([
'limit'
,
'page'
,
'zone_sn'
,
'zone_name'
,
'store_name'
,
'store_id'
,
'admin_id'
,
'admin_name'
]);
$arr
=
array
(
'limit'
=>
!
empty
(
$params
[
'limit'
])
?
$params
[
'limit'
]
:
10
,
...
...
@@ -178,7 +178,7 @@ class ServicesController extends Controller
* 获取货位信息
*/
public
function
ApiLocationInfo
(
$request
)
{
$params
=
$request
->
only
([
'limit'
,
'page'
,
'location_name'
,
'zone_name'
,
'store_id'
]);
$params
=
$request
->
only
([
'limit'
,
'page'
,
'location_name'
,
'zone_name'
,
'store_id'
,
'admin_id'
,
'admin_name'
]);
$arr
=
array
(
'limit'
=>
!
empty
(
$params
[
'limit'
])
?
$params
[
'limit'
]
:
10
,
...
...
@@ -249,7 +249,7 @@ class ServicesController extends Controller
* 获取物料信息
*/
public
function
ApiGoodsInfo
(
$request
)
{
$params
=
$request
->
only
([
'limit'
,
'page'
,
'goods_name'
]);
$params
=
$request
->
only
([
'limit'
,
'page'
,
'goods_name'
,
'admin_id'
,
'admin_name'
]);
$arr
=
array
(
'limit'
=>
!
empty
(
$params
[
'limit'
])
?
$params
[
'limit'
]
:
10
,
...
...
@@ -305,7 +305,7 @@ class ServicesController extends Controller
* 获取客户信息
*/
public
function
ApiCustomerInfo
(
$request
)
{
$params
=
$request
->
only
([
'limit'
,
'page'
,
'customer_name'
]);
$params
=
$request
->
only
([
'limit'
,
'page'
,
'customer_name'
,
'admin_id'
,
'admin_name'
]);
$arr
=
array
(
'limit'
=>
!
empty
(
$params
[
'limit'
])
?
$params
[
'limit'
]
:
10
,
...
...
@@ -392,7 +392,7 @@ class ServicesController extends Controller
* 获取供应商信息
*/
public
function
ApiSupplierInfo
(
$request
)
{
$params
=
$request
->
only
([
'limit'
,
'page'
,
'supplier_name'
]);
$params
=
$request
->
only
([
'limit'
,
'page'
,
'supplier_name'
,
'admin_id'
,
'admin_name'
]);
$arr
=
array
(
'limit'
=>
!
empty
(
$params
[
'limit'
])
?
$params
[
'limit'
]
:
10
,
...
...
common
@
a2ccb5e4
Subproject commit
5bcda7380c3de327edf2199567cb70eb295b0424
Subproject commit
a2ccb5e4c01af94885bf8280f5e69802a0070150
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