dyjh %!s(int64=6) %!d(string=hai) anos
pai
achega
0ef8c9574d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumController.php

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

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