正在显示
1 个修改的文件
包含
41 行增加
和
1 行删除
| 1 | -hello world | ||
| 1 | +第e仓代售商API | ||
| 2 | +=== | ||
| 3 | + | ||
| 4 | +### install | ||
| 5 | +``` | ||
| 6 | +composer require lackoxygen/top-warehouse | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +### git | ||
| 10 | +``` | ||
| 11 | +http://47.107.73.162:8099/lackoxygen/top-warehouse.git | ||
| 12 | +``` | ||
| 13 | + | ||
| 14 | +### 配置仓库 | ||
| 15 | +``` | ||
| 16 | +{ | ||
| 17 | + "type": "git", | ||
| 18 | + "url": "http://47.107.73.162:8099/lackoxygen/top-warehouse.git" | ||
| 19 | +} | ||
| 20 | +``` | ||
| 21 | + | ||
| 22 | +### 配置文件 | ||
| 23 | +``` | ||
| 24 | +发布暂时无法生成,手动copy到config | ||
| 25 | +``` | ||
| 26 | + | ||
| 27 | +### 用法 | ||
| 28 | +``` | ||
| 29 | + $request = new GetStockInventoryRequest(); | ||
| 30 | + | ||
| 31 | + $request->type = 2; | ||
| 32 | + $request->deliveryItemId = 1; | ||
| 33 | + $request->goods_id = 1; | ||
| 34 | + $request->warehouse_id = 1; | ||
| 35 | + $obj = new TopWarehouse(); | ||
| 36 | + $response = $obj->getStockInventor($request); | ||
| 37 | + var_dump($response->getContents()); | ||
| 38 | +``` | ||
| 39 | + | ||
| 40 | + | ||
| 41 | + |
-
请 注册 或 登录 后发表评论