You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
639 B
29 lines
639 B
<?php
|
|
|
|
namespace app\store\controller\apps\dealer;
|
|
|
|
use app\store\controller\Controller;
|
|
use app\store\model\dealer\Order as OrderModel;
|
|
|
|
/**
|
|
* 分销订单
|
|
* Class Order
|
|
* @package app\store\controller\apps\dealer
|
|
*/
|
|
class Order extends Controller
|
|
{
|
|
/**
|
|
* 分销订单列表
|
|
* @param null $user_id
|
|
* @param int $is_settled
|
|
* @return mixed
|
|
* @throws \think\exception\DbException
|
|
*/
|
|
public function index($user_id = null, $is_settled = -1)
|
|
{
|
|
$model = new OrderModel;
|
|
$list = $model->getList($user_id, $is_settled);
|
|
return $this->fetch('index', compact('list'));
|
|
}
|
|
|
|
}
|