获取工单信息
This commit is contained in:
parent
44fc0defb5
commit
5541bd41b6
|
@ -32,7 +32,7 @@ $options = [
|
||||||
$w = new Order($secretKey, 'callback url', $options);
|
$w = new Order($secretKey, 'callback url', $options);
|
||||||
|
|
||||||
// 获取工单数据
|
// 获取工单数据
|
||||||
$response = $w->getProductOrder('SN5436745676543');
|
$response = $w->getProductOrder(1);
|
||||||
|
|
||||||
// 加工工单原木材种
|
// 加工工单原木材种
|
||||||
$w->getWoodTypeOptions([
|
$w->getWoodTypeOptions([
|
||||||
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue