public function __construct() { parent::__construct(); $orderModel = new \Loan\Model\OrderModel(); $this->_field_text_map['order_type'] = $this->_order_type = $orderModel->getType(); $this->_field_text_map['status'] = $this->_status = $orderModel->getStatus(); }
public function __construct() { parent::__construct(); $model = new \Loan\Model\CompanyModel(); $this->_type = $model->getType(); $this->_field_text_map = ['type' => $this->_type, 'status' => $this->_status]; }
public function __construct() { parent::__construct(); $this->assign('menu', 'weixin'); $this->assign('mLeft', 'weixin_' . strtolower(ACTION_NAME)); $this->weixin = C('WEIXIN'); }
public function __construct() { parent::__construct(); $this->assign('module', 4); $this->appeal = D('Appeal'); $this->appeal_reply = D('Appeal_reply'); }
public function __construct() { parent::__construct(); $orderModel = new \Loan\Model\OrderModel(); $this->_type = $orderModel->getType(); $this->_status = $orderModel->getStatus(); }
public function __construct() { parent::__construct(); $this->orderForm = D('OrderForm'); $this->orderGoods = D('OrderGoods'); $this->customer = D('Customer'); $this->relation = new OrderRelationModel(); }
public function __construct() { parent::__construct(); $this->goods = D('Goods'); $this->myUpload = $this->upload; $path = './Picture/Goods/'; $this->myUpload->savePath = $path; $this->urlArray = array('urlonSheleves' => U('onShelevesManager'), 'urlunderSheleves' => U('underShelevesManager'), 'urladd' => U('add')); }
public function __construct() { parent::__construct(); $config = D("Config"); $configArr = $config->fetConfig(); $this->beginDate = $configArr[0]['value']; $this->endDate = $configArr[1]['value']; $this->dateArr = $this->_getTimes(); }
public function __construct() { $model_id = I('model_id'); $this->m_name = $model_id; if (is_numeric($model_id)) { $this->m_info = get_model($model_id); } else { $this->m_info = M('Model')->where("`table`='{$model_id}'")->find(); } parent::__construct(); }
public function __construct() { parent::__construct(); $this->_type_config[1] = 'PC版-首页-精选商品'; foreach ($this->_category() as $id => $name) { $this->_type_config['3_' . $id] = 'PC版-首页-分类-' . $name; } $this->_type_config[2] = '手机版-首页-精选商品'; foreach ($this->_category() as $id => $name) { $this->_type_config['4_' . $id] = '手机版-首页-分类-' . $name; } $this->assign('_type', $this->_type_config); }
public function __construct() { parent::__construct(); $this->assign('menu', 'user'); $this->assign('mLeft', 'user_' . strtolower(ACTION_NAME)); }
public function __construct() { parent::__construct(); $this->AuthRole = D('AuthRole'); }
public function __construct() { parent::__construct(); $this->attr = D('Attr'); }
public function __construct() { parent::__construct(); $this->goodsModel = D('Goods'); }
public function __construct() { parent::__construct(); $this->_field_text_map = ['status' => [1 => '正常', 0 => '禁用'], 'level' => ['1' => '校园主任', '2' => '学区经理', '3' => '校园经理', '4' => '校园专员']]; }
public function __construct() { parent::__construct(); $this->address = D('ShippingAddress'); }
public function __construct() { parent::__construct(); $this->assign('module', 3); $this->auth = D('Auth'); }
public function __construct() { parent::__construct(); $this->assign('module', 2); $this->category = D('Category'); }
public function __construct() { parent::__construct(); $this->menu = D('AdminMenu'); }
public function __construct() { parent::__construct(); $this->assign('module', 1); $this->banner = D('Banner'); }
public function __construct() { $this->achDateInf = D('config'); parent::__construct(); }
public function __construct() { parent::__construct(); $this->specModel = D('Spec'); }
public function __construct() { parent::__construct(); $this->assign('menu', 'desktop'); }
public function __construct() { parent::__construct(); $this->slide = D('SlideShow'); }
public function __construct() { parent::__construct(); $this->assign('_type', $this->_type_config); }
public function __construct() { parent::__construct(); $this->category = D('GoodsCategory'); }
public function __construct() { parent::__construct(); $this->category = D('ArticleCategory'); }
public function __construct() { parent::__construct(); $this->assign('module', 5); $this->expert = D('Expert'); }
public function __construct() { parent::__construct(); $this->assign('_category', $this->_category()); }
public function __construct() { parent::__construct(); $this->articleModel = D('Article'); }