chengkun
2025-05-26 8f3df543230cd4403368b39b9bbe5726d11a0284
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
 
class reportlist_controller extends common{
    /**
     * 简历详情
     * 举报简历
     * 2019-06-24
     */
    function index_action(){
        
        $cacheM     =   $this->MODEL('cache');
        $cache      =   $cacheM -> GetCache(array('user'));
        $this       ->  yunset($cache);
        
        $this -> yunset('headertitle', '举报');
        $this -> seo('report');
        $this -> yuntpl(array('wap/reportlist'));
    }
    function saveReport_action(){
        
        if ($this->uid){
            $data1['c_uid']      =   $_POST['uid'];
            $data1['inputtime']  =   time();
            $data1['p_uid']      =   $this->uid;
            $data1['did']        =   $this->userdid;
            $data1['usertype']   =   $this->usertype;
            $data1['eid']        =   $_POST['eid'];
            $data1['r_name']     =   $_POST['r_name'];
            $data1['username']   =   $this->username;
            $data1['reason']     =   @implode(',', $_POST['reason']);
            
            $reportM             =     $this -> MODEL('report');
            $result              =   $reportM->ReportResume($data1);
            
            $this->layer_msg($result['msg'], $result['errcode']);
        }else{
            $this->layer_msg('请先登录', 8);
        }
    }
}
?>