Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     /**
      * 验证是否开启
      */
     if (C('pointprod_isuse') != '1') {
         @header('location: ' . SHOP_SITE_URL);
         die;
     }
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     if (!isset($_POST['c_id'])) {
         $this->c_id = 0;
     } else {
         $this->c_id = intval($_POST['c_id']);
     }
     if (isset($_POST['q_id'])) {
         $this->q_id = intval($_POST['q_id']);
     }
     if (!isset($_GET['r_id'])) {
         $this->r_id = intval($_POST['r_id']);
     } else {
         $this->r_id = intval($_GET['r_id']);
     }
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->member_info();
     $this->member_id = $this->member_info['member_id'];
 }
Ejemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->payment_code = isset($_GET['payment_code']) && trim($_GET['payment_code']) != '' ? trim($_GET['payment_code']) : 'alipay';
 }