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