dyjh 6 yıl önce
ebeveyn
işleme
9c55f2c1be

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

xqd xqd
@@ -72,7 +72,7 @@ class AlbumPosterController extends Controller
         $store_id = $request->input('store_id');
         $info = AlbumPosterModel::where('store_id', $store_id)->first()->toArray();
         $WeChatApp = AlbumManufacturerModel::where('store_id', $store_id)->first();
-        dd($info);
+
         if ($userAuth->is_dealer != 1) {
             if ($userAuth->up_agent_id == 0) {
                 $name = $WeChatApp->name;
@@ -93,6 +93,7 @@ class AlbumPosterController extends Controller
             $name = $agent_check->realname;
             $phone = $agent_check->phone;
         }
+        dd(1);
         $info['phone'] = $phone;
         $info['username'] = $name;
         return $this->api(compact('info'));