Compare commits
No commits in common. "8e972bb2ddf2a8f52f850169d396304cc672c576" and "06a645973e575cc76e277bbdec6ab8c5f7c4ea8e" have entirely different histories.
8e972bb2dd
...
06a645973e
11
README.md
11
README.md
|
@ -57,17 +57,6 @@ $response = $w->createProductOrder([
|
||||||
'number_pcs' => 10,
|
'number_pcs' => 10,
|
||||||
'owner' => 'ykxiao'
|
'owner' => 'ykxiao'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// 更新加工工单
|
|
||||||
$response = $w->updateProductOrder([
|
|
||||||
'id' => 1,
|
|
||||||
'company_id' => 1,
|
|
||||||
]);
|
|
||||||
|
|
||||||
// 撤回加工工单
|
|
||||||
$response = $w->revokeProductOrder([
|
|
||||||
'id' => 1
|
|
||||||
]);
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# 回调说明
|
# 回调说明
|
||||||
|
|
|
@ -175,24 +175,4 @@ class Order
|
||||||
{
|
{
|
||||||
return $this->sendRequest('production.create', $data);
|
return $this->sendRequest('production.create', $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 加工工单更新
|
|
||||||
* @return mixed|string
|
|
||||||
* @throws HttpException|GuzzleException
|
|
||||||
*/
|
|
||||||
public function updateProductOrder($data)
|
|
||||||
{
|
|
||||||
return $this->sendRequest('production.update', $data);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 加工工单撤回
|
|
||||||
* @return mixed|string
|
|
||||||
* @throws HttpException|GuzzleException
|
|
||||||
*/
|
|
||||||
public function revokeProductOrder($data)
|
|
||||||
{
|
|
||||||
return $this->sendRequest('production.revoke', $data);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue