model = new \app\index\model\wanlshop\ShopFreight; $this->view->assign("deliveryList", $this->model->getDeliveryList()); $this->view->assign("isdeliveryList", $this->model->getIsdeliveryList()); $this->view->assign("valuationList", $this->model->getValuationList()); $this->view->assign("statusList", $this->model->getStatusList()); } /** * 发货 */ public function deliver() { $this->view->assign("stateList", ['2' => __('待发货订单'), '3' => __('发货中订单')]); return $this->view->fetch('wanlshop/order/index'); } /** * 运费模板 */ public function template() { return $this->view->fetch('wanlshop/freight/index'); } }