Commit 9edea337 by Joneq

提交最新代码

parent 1a2a97a8
Showing with 18 additions and 0 deletions
......@@ -218,4 +218,21 @@ class OutStoreController extends Controller
}
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment