dyjh 6 years ago
parent
commit
453ef8d1bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumPosterController.php

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

xqd
@@ -203,7 +203,7 @@ class AlbumPosterController extends Controller
             } else {
                 $agent_check = AlbumAgentModel::where([
                     ['store_id',$data['store_id']],
-                    ['user_id',$userAuth->up_agent_id]
+                    ['id',$userAuth->up_agent_id]
                 ])->first();
                 $name = $agent_check->realname;
                 $phone = $agent_check->phone;