45 lines
1.1 KiB
PHP
45 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* SaaSMall商城系统 - 团队十年电商经验汇集巨献!
|
|
* =========================================================
|
|
* Copy right 2019-2029 成都SAAS云科技有限公司, 保留所有权利。
|
|
* ----------------------------------------------
|
|
* 官方网址: https://www.gobuysaas.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");
|
|
}
|
|
|
|
|
|
} |