获取工单信息

This commit is contained in:
hongwenwu 2023-09-11 16:28:44 +08:00
parent 44fc0defb5
commit 5541bd41b6
1 changed files with 1 additions and 4 deletions

View File

@ -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,