dyjh 6 anos atrás
pai
commit
22d2ff315c

+ 2 - 2
app/Http/Controllers/Api/V1/AlbumController.php

xqd
@@ -228,9 +228,9 @@ class AlbumController extends Controller
                 }
                // \Log::info($add_record);
                 AlbumWatchRecord::create($add_record);
-                dd($check_user);
+              //  dd($add_record);
                 $user_agent = AlbumAgentModel::where([['id',$add_record['agent_id']],['store_id',$datas['store_id']]])->first();
-                //dd($user_agent);
+               // dd($user_agent);
                 if ($user_agent) {
                     if (empty($check_new_customer)) {
                         $user_agent->get_count++;

+ 1 - 0
app/Models/AlbumWatchRecord.php

xqd
@@ -34,6 +34,7 @@ class AlbumWatchRecord extends BaseModel
     protected $fillable = [
         'agent_id',
         'open_id',
+        'is_new',
         'action',
         'detail',
         'store_id'