|
@@ -209,7 +209,7 @@ class BookController extends BaseController
|
|
if(!$this->send_order_id || $this->send_order_id == 0 ){
|
|
if(!$this->send_order_id || $this->send_order_id == 0 ){
|
|
\Log::info('un_send_order_book:uid:'.$this->uid);
|
|
\Log::info('un_send_order_book:uid:'.$this->uid);
|
|
$result = $this->getCheckBids($channel,$books,$package_id);
|
|
$result = $this->getCheckBids($channel,$books,$package_id);
|
|
- if(isset($result[0]['books']) && !empty($result[0]['books'])){
|
|
|
|
|
|
+ if(isset($result[1]['books']) && !empty(get_object_vars($result[1]['books']))){
|
|
return response()->success($result);
|
|
return response()->success($result);
|
|
}
|
|
}
|
|
return $this->getCheckBids($channel,$books,0);
|
|
return $this->getCheckBids($channel,$books,0);
|