dyjh 6 years ago
parent
commit
2ef7ac0092
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/Api/V1/AlbumController.php

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

xqd
@@ -299,10 +299,10 @@ class AlbumController extends Controller
                 $add_record['action'] = 4;
                 $add_record['store_id'] = $datas['store_id'];
                 $add_record['detail'] = null;
-                print_r(22);
+                print_r(22);die;
                 AlbumWatchRecord::create($add_record);
                 $user_agent = AlbumAgentModel::where('id',$add_record['agent_id'])->first();
-                $agent = AlbumUserModel::where('id',$user_agent->user_id)->first();die;
+                $agent = AlbumUserModel::where('id',$user_agent->user_id)->first();
                 try{
                     $this->sendLogsMessage($datas['store_id'],$agent->wechat_open_id,4,$userAuth->username);
                 }catch (\Exception $e){