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
<?php
 
class admin_recharge_controller extends adminCommon{
    function index_action(){
        $OrderM        =    $this -> MODEL('companyorder');
        $RatingM    =    $this -> MODEL('rating');
        if(isset($_POST['insert'])){
            $userarr    =    str_replace(',', ',', trim($_POST['userarr']));
            $userarr    =    @explode(',',trim($userarr));
            $post        =    array(
                'fs'            =>  intval($_POST['fs']),
                'price_int'        =>  trim($_POST['price_int']),
                'remark'        =>  trim($_POST['remark'])
            );
            $return            =    $OrderM -> PayMember($userarr,$post);
            $data['msg']    =    $return['msg'];
            $data['url']    =    $_SERVER['HTTP_REFERER'];
            $this->yunset("layer",$data);
        }
        $this->yunset("headertitle","会员充值");
        $this->yuntpl(array('wapadmin/admin_recharge'));
    }
    
}
?>