| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- /**
- * Niushop商城系统 - 团队十年电商经验汇集巨献!
- * =========================================================
- * Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
- * ----------------------------------------------
- * 官方网址: https://www.niushop.com
- * =========================================================
- */
- namespace app\shop\controller;
- use app\model\order\OrderCommon as OrderCommonModel;
- /**
- * 自提订单
- * Class storeorder
- * @package app\shop\controller
- */
- class Cashorder extends BaseShop
- {
- public function __construct()
- {
- //执行父类构造函数
- parent::__construct();
- }
- /**
- * 订单详情
- * @return mixed
- */
- public function detail()
- {
- $order_id = input("order_id", 0);
- $order_common_model = new OrderCommonModel();
- $order_detail_result = $order_common_model->getOrderDetail($order_id);
- $order_detail = $order_detail_result[ "data" ];
- $this->assign("order_detail", $order_detail);
- $this->assign("http_type", get_http_type());
- return $this->fetch("cashorder/detail");
- }
- }
|