Пример #1
0
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->app = $app;
     $this->_response->set_header('Cache-Control', 'no-store');
     $this->set_tmpl('list');
 }
Пример #2
0
 public function __construct($app)
 {
     parent::__construct($app);
     $this->goods_stage = vmc::singleton('b2c_goods_stage');
     if ($this->app->member_id = vmc::singleton('b2c_user_object')->get_member_id()) {
         $this->goods_stage->set_member($this->app->member_id);
     }
 }
Пример #3
0
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->_response->set_header('Cache-Control', 'no-store');
     vmc::singleton('base_session')->start();
     $this->user_obj = vmc::singleton('b2c_user_object');
     $this->passport_obj = vmc::singleton('b2c_user_passport');
 }
Пример #4
0
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->_response->set_header('Cache-Control', 'no-store');
     $this->verify_member();
     //$this->app->member_id  已赋值
     $this->cart_stage = vmc::singleton('b2c_cart_stage');
     $this->cart_stage->set_member_id($this->app->member_id);
     $this->logger = vmc::singleton('b2c_order_log');
 }
Пример #5
0
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->_response->set_header('Cache-Control', 'no-store');
     $this->verify_member();
     $this->action = $this->_request->get_act_name();
     $this->member = $this->get_current_member();
     $this->set_tmpl('member');
     //刷新经验值和会员等级
     //vmc::singleton('b2c_member_exp')->renew($this->member['member_id']);
 }
Пример #6
0
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->_response->set_header('Cache-Control', 'no-store');
     vmc::singleton('base_session')->start();
     $this->blank_url = $this->gen_url(array('app' => 'b2c', 'ctl' => 'mobile_cart', 'act' => 'blank'));
     $this->cart_stage = vmc::singleton('b2c_cart_stage');
     if ($this->app->member_id = vmc::singleton('b2c_user_object')->get_member_id()) {
         $this->pagedata['member_id'] = $this->app->member_id;
         $this->cart_stage->set_member_id($this->app->member_id);
     }
 }
Пример #7
0
 public function __construct($app)
 {
     parent::__construct($app);
 }