Explorar el Código

'判断bug修复'

zhuchengjie hace 3 años
padre
commit
7a265e7534
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/QuickApp/Book/BookController.php

+ 1 - 1
app/Http/Controllers/QuickApp/Book/BookController.php

@@ -209,7 +209,7 @@ class BookController extends BaseController
             if(!$this->send_order_id || $this->send_order_id == 0 ){
                 \Log::info('un_send_order_book:uid:'.$this->uid);
                 $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 $this->getCheckBids($channel,$books,0);