|
@@ -14,12 +14,8 @@ class Qc extends Base
|
|
|
|
|
|
public function index()
|
|
|
{
|
|
|
- $options = \think\Config::get('queue');
|
|
|
- $config = Config::where('name', 'order')->cache(300)->find(); // 读取配置自动缓存 5 分钟
|
|
|
- $config = isset($config) ? json_decode($config['value'], true) : [];
|
|
|
- $close_minue = (isset($config['order_auto_close']) && $config['order_auto_close'] > 0)
|
|
|
- ? $config['order_auto_close'] : 15;
|
|
|
- var_dump($options,$config,$close_minue);
|
|
|
+ $params = $this->request->get();
|
|
|
+ $this->success('订单详情', \addons\shopro\model\Order::detail($params));
|
|
|
}
|
|
|
|
|
|
}
|