初始上传
This commit is contained in:
38
app/shop/controller/Cashorder.php
Executable file
38
app/shop/controller/Cashorder.php
Executable file
@@ -0,0 +1,38 @@
|
||||
<?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
|
||||
{
|
||||
|
||||
/**
|
||||
* 订单详情
|
||||
* @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');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user