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.
26 lines
574 B
26 lines
574 B
<?php
|
|
|
|
namespace app\home\controller;
|
|
|
|
use app\home\service\BlockStockService;
|
|
|
|
// 大宗交易
|
|
class Block extends HomeBaseController
|
|
{
|
|
|
|
// 大宗交易列表
|
|
public function index()
|
|
{
|
|
$service = new BlockStockService();
|
|
$result = $service->index($this->request->param());
|
|
return json($result);
|
|
}
|
|
|
|
// 大宗交易订单列表列表
|
|
public function list()
|
|
{
|
|
$service = new BlockStockService();
|
|
$result = $service->list($this->request->param(), $this->request->userId);
|
|
return json($result);
|
|
}
|
|
}
|