|
@@ -188,12 +188,12 @@ class BookController extends BaseController
|
|
}
|
|
}
|
|
return $item;
|
|
return $item;
|
|
});
|
|
});
|
|
- $user = (new QappUserService)->getGolableUser();
|
|
|
|
- \Log::info('send_order_book:uid1:');
|
|
|
|
- \Log::info(json_encode($user));
|
|
|
|
- if(isset($user->uid) && !empty($user->uid)){
|
|
|
|
|
|
+// $user = (new QappUserService)->getGolableUser();
|
|
|
|
|
|
- if(!$this->uid || (isset($this->uid) && (!$this->send_order_id || $this->send_order_id == 0)) ){
|
|
|
|
|
|
+ if($this->user_info){
|
|
|
|
+ \Log::info('send_order_book:uid1:'.$this->uid);
|
|
|
|
+
|
|
|
|
+ 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);
|
|
$result = $this->getCheckBids($channel,$books);
|
|
return response()->success($result);
|
|
return response()->success($result);
|