作者 lyh

gx

  1 +<?php
  2 +/**
  3 + * @remark :
  4 + * @name :UpdateRoute.php
  5 + * @author :lyh
  6 + * @method :post
  7 + * @time :2023/11/20 15:07
  8 + */
  9 +
  10 +namespace App\Console\Commands;
  11 +
  12 +use Illuminate\Console\Command;
  13 +
  14 +/**
  15 + * @remark :更新所有项目的路由
  16 + * @name :UpdateRoute
  17 + * @author :lyh
  18 + * @method :post
  19 + * @time :2023/11/20 15:08
  20 + */
  21 +class UpdateRoute extends Command
  22 +{
  23 + /**
  24 + * The name and signature of the console command.
  25 + *
  26 + * @var string
  27 + */
  28 + protected $signature = 'update_route';
  29 +
  30 + /**
  31 + * The console command description.
  32 + *
  33 + * @var string
  34 + */
  35 + protected $description = '一键生成tdk';
  36 +}
@@ -836,7 +836,7 @@ class ProjectController extends BaseController @@ -836,7 +836,7 @@ class ProjectController extends BaseController
836 $user_list = $channelUserModel->list(['channel_id'=>$v1['id']]); 836 $user_list = $channelUserModel->list(['channel_id'=>$v1['id']]);
837 $channel_list[$k1]['user_list'] = $user_list; 837 $channel_list[$k1]['user_list'] = $user_list;
838 } 838 }
839 - $zone_list[$k] = $channel_list; 839 + $zone_list[$k]['channel_list'] = $channel_list;
840 } 840 }
841 $this->response('success',Code::SUCCESS,$zone_list); 841 $this->response('success',Code::SUCCESS,$zone_list);
842 } 842 }
@@ -300,5 +300,4 @@ class LoginController extends BaseController @@ -300,5 +300,4 @@ class LoginController extends BaseController
300 return $data; 300 return $data;
301 } 301 }
302 302
303 -  
304 } 303 }