zhuchengjie 2 年之前
父節點
當前提交
d833f3eb7c
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      app/Http/Controllers/QuickApp/Book/BookController.php

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

@@ -1014,7 +1014,7 @@ class BookController extends BaseController
         if(empty($type) || empty($id) || empty($distribution_id)){
             return response()->success();
         }
-
+        \Log::info('getCheckAdvertisement:type:'.$type.' id:'.$id);
         $id = Hashids::decode($id)[0];
         if(!$id){
             return response()->success();
@@ -1033,6 +1033,8 @@ class BookController extends BaseController
         }
 
         $where = ['channel_ad_id' => $id, 'uid' => $this->uid, 'distribution_id' => $distribution_id];
+        \Log::info('insert_where:');
+        \Log::info(json_encode($where));
         ChannelAdUser::firstOrCreate($where);
 
         $date = date('Ymd');