接口修改14

This commit is contained in:
mkm 2023-02-27 17:42:22 +08:00
parent 5be1a4b2c1
commit 6d3ac63622

View File

@ -46,8 +46,9 @@ class Index extends BaseController
{
$street_id=Db::table('fa_szxc_information_useraddress')->where('admin_id',$this->adminInfo['id'])->value('street_id');
$street_name=Db::table('fa_geo_street')->where('admin_id',$street_id)->value('street_name');
if ($this->adminInfo['group_access']==4){
$urls="http://zhen.lihaink.cn?street_id=$street_id";
$urls="http://zhen.lihaink.cn?street_id=$street_id"."&street_name=".$street_name;
return <<<EOT
<div id="your-element-selector" style="height: 100%">
<a href="$urls" target="_blank" style="font-size: 100px;
@ -71,7 +72,7 @@ VANTA.WAVES({
</script>
EOT;
}elseif($this->adminInfo['group_access']==5){
$urls="http://zhenqiye.lihaink.cn?street_id=$street_id";
$urls="http://zhenqiye.lihaink.cn?street_id=$street_id"."&street_name=".$street_name;
return <<<EOT
<div id="your-element-selector" style="height: 100%">
<a href="$urls" target="_blank" style="font-size: 100px;