Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
scm_wms_outstore_api
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
9edea337
authored
May 13, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
提交最新代码
parent
1a2a97a8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
app/Http/Controllers/OutStoreController.php
app/Http/Controllers/OutStoreController.php
View file @
9edea337
...
@@ -218,4 +218,21 @@ class OutStoreController extends Controller
...
@@ -218,4 +218,21 @@ class OutStoreController extends Controller
}
}
return
$this
->
returnJson
(
$returnData
[
'data'
]);
return
$this
->
returnJson
(
$returnData
[
'data'
]);
}
}
//获取箱子信息
public
function
get_pallet_info
(
$request
)
{
$data
=
$request
->
all
();
try
{
CommonLogic
::
checkEmpty
([
'pallet_sn'
],
$data
);
$returnData
=
$this
->
curl
(
'/out_store/get_pallet_info'
,
$data
,
$request
);
if
(
isset
(
$returnData
[
'errcode'
])
&&
!
empty
(
$returnData
[
'errcode'
])){
CommonLogic
::
$errCode
=
$returnData
[
'errcode'
];
throw
new
\Exception
(
$returnData
[
'data'
]);
}
}
catch
(
\Exception
$exception
){
return
$this
->
returnJson
(
$exception
->
getMessage
());
}
return
$this
->
returnJson
(
$returnData
[
'data'
]);
}
}
}
\ No newline at end of file
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