Commit 4cfaac69 authored by hangjun83's avatar hangjun83

openapi 震坤行

parent 2c6a18ce
......@@ -79,6 +79,7 @@ class RhawnOrdersService
$temp['p_id'] = $item['p_id'];
$temp['si_id'] = $item['si_id'];
$temp['so_no'] = $sOrder->so_no;
$temp['so_cus_po'] = $sOrder->so_cus_po;
if($item['si_if_cancel'] == 0){
$returnItem[] = $temp;
}
......
......@@ -360,7 +360,7 @@ class ZhenKhService
try{
$orderDetail = $this->rhawnOrderService->getSorderDetail($orderNo);
if($orderDetail){
return $this->apiService->orderConfirm($orderDetail['so_cus_po'], $this->getToken());
return $this->apiService->orderConfirm(current($orderDetail)['so_cus_po'], $this->getToken());
}
return false;
}catch(\Throwable $exception){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment