Compare commits

..

No commits in common. "44fc0defb5fde84fa738cb11e52328e2a14ab534" and "8e972bb2ddf2a8f52f850169d396304cc672c576" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View File

@ -58,9 +58,6 @@ $response = $w->createProductOrder([
'owner' => 'ykxiao' 'owner' => 'ykxiao'
]); ]);
// 获取加工单
$response = $w->getProductOrder(1);
// 更新加工工单 // 更新加工工单
$response = $w->updateProductOrder([ $response = $w->updateProductOrder([
'id' => 1, 'id' => 1,

View File

@ -138,12 +138,12 @@ class Order
* @return mixed|string * @return mixed|string
* @throws GuzzleException * @throws GuzzleException
*/ */
public function getProductOrder($orderId) public function getProductOrder($order_sn)
{ {
$data = [ $data = [
'id' => $orderId 'order_sn' => $order_sn
]; ];
return $this->sendRequest('production.info', $data); return $this->sendRequest('production.status', $data);
} }
/** /**