Commit 2cef0817 authored by hangjun83's avatar hangjun83

openapi 震坤行

parent 44edc699
...@@ -63,6 +63,9 @@ class ZhenKhService ...@@ -63,6 +63,9 @@ class ZhenKhService
if(!$result['reset'] || $result['reset'] != true){ if(!$result['reset'] || $result['reset'] != true){
break; break;
} }
if(!$result){
break;
}
} }
while(true){ while(true){
...@@ -75,6 +78,9 @@ class ZhenKhService ...@@ -75,6 +78,9 @@ class ZhenKhService
if(!$result['reset'] || $result['reset'] != true){ if(!$result['reset'] || $result['reset'] != true){
break; break;
} }
if(!$result){
break;
}
} }
} }
...@@ -240,10 +246,11 @@ class ZhenKhService ...@@ -240,10 +246,11 @@ class ZhenKhService
if(!isset($orderDetail['reset']) || $orderDetail['reset'] != true){ if(!isset($orderDetail['reset']) || $orderDetail['reset'] != true){
break; break;
} }
if(!$orderDetail){
break;
} }
if($orderDetail){
$result = $this->rhawnOrderService->updateZhenkhOrders($order,$orderDetail);
} }
$result = $this->rhawnOrderService->updateZhenkhOrders($order,$orderDetail);
} }
} catch (\Throwable $exception) { } 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