|
|
|
hello world |
|
|
\ No newline at end of file |
|
|
|
第e仓代售商API
|
|
|
|
===
|
|
|
|
|
|
|
|
### install
|
|
|
|
```
|
|
|
|
composer require lackoxygen/top-warehouse
|
|
|
|
```
|
|
|
|
|
|
|
|
### git
|
|
|
|
```
|
|
|
|
http://47.107.73.162:8099/lackoxygen/top-warehouse.git
|
|
|
|
```
|
|
|
|
|
|
|
|
### 配置仓库
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "http://47.107.73.162:8099/lackoxygen/top-warehouse.git"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### 配置文件
|
|
|
|
```
|
|
|
|
发布暂时无法生成,手动copy到config
|
|
|
|
```
|
|
|
|
|
|
|
|
### 用法
|
|
|
|
```
|
|
|
|
$request = new GetStockInventoryRequest();
|
|
|
|
|
|
|
|
$request->type = 2;
|
|
|
|
$request->deliveryItemId = 1;
|
|
|
|
$request->goods_id = 1;
|
|
|
|
$request->warehouse_id = 1;
|
|
|
|
$obj = new TopWarehouse();
|
|
|
|
$response = $obj->getStockInventor($request);
|
|
|
|
var_dump($response->getContents());
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|