diff --git a/app/admin/controller/Index.php b/app/admin/controller/Index.php index 9b68589..20d7231 100644 --- a/app/admin/controller/Index.php +++ b/app/admin/controller/Index.php @@ -44,11 +44,37 @@ class Index extends BaseController public function main() { + + $street_id=Db::table('fa_szxc_information_useraddress')->where('admin_id',$this->adminInfo['id'])->value('street_id'); if ($this->adminInfo['group_access']==4){ - $street_id=Db::table('fa_szxc_information_useraddress')->where('admin_id',$this->adminInfo['id'])->value('street_id'); + $urls="http://zhen.lihaink.cn?street_id=$street_id"; return << - 跳转大屏 + + + + +EOT; + }elseif($this->adminInfo['group_access']==5){ + $urls="http://zhenqiye.lihaink.cn?street_id=$street_id"; + return << +