Compare commits
No commits in common. "44fc0defb5fde84fa738cb11e52328e2a14ab534" and "8e972bb2ddf2a8f52f850169d396304cc672c576" have entirely different histories.
44fc0defb5
...
8e972bb2dd
|
@ -58,9 +58,6 @@ $response = $w->createProductOrder([
|
|||
'owner' => 'ykxiao'
|
||||
]);
|
||||
|
||||
// 获取加工单
|
||||
$response = $w->getProductOrder(1);
|
||||
|
||||
// 更新加工工单
|
||||
$response = $w->updateProductOrder([
|
||||
'id' => 1,
|
||||
|
|
|
@ -138,12 +138,12 @@ class Order
|
|||
* @return mixed|string
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
public function getProductOrder($orderId)
|
||||
public function getProductOrder($order_sn)
|
||||
{
|
||||
$data = [
|
||||
'id' => $orderId
|
||||
'order_sn' => $order_sn
|
||||
];
|
||||
return $this->sendRequest('production.info', $data);
|
||||
return $this->sendRequest('production.status', $data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue