chengkun
2025-04-27 a0402d122fee696e2b7684ef7edfc504ade12640
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
 
class index_controller extends common{
    function index_action(){
         
          if ($_GET['token'] && $this->config['sy_datav_token'] && $_GET['token'] == $this->config['sy_datav_token']){
               
               $sy_datav_diydata = json_decode($this->config['sy_datav_diydata'],true); 
 
               if($sy_datav_diydata['datavtitle']){
                    $title = $sy_datav_diydata['datavtitle'];
               }else{
                    $title = $this->config['sy_webname'].'大数据平台';
               }
 
               $this->yunset('token',$_GET['token']);
               $this->yunset('datavtitle',$title);
               $this->yun_tpl(array('index'));
          }else{
               header("location:".$this->config['sy_weburl']);
          }
 
         
    }
 
}
?>