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.
52 lines
1.1 KiB
52 lines
1.1 KiB
3 months ago
|
<?php
|
||
|
|
||
|
namespace app\admin\controller\setting;
|
||
|
|
||
|
use app\admin\controller\AdminBaseController;
|
||
|
use app\admin\service\setting\BlockStockService;
|
||
|
|
||
|
// 大宗交易
|
||
|
class BlockStock extends AdminBaseController
|
||
|
{
|
||
|
|
||
|
// 列表
|
||
|
public function index()
|
||
|
{
|
||
|
$service = new BlockStockService();
|
||
|
$result = $service->index($this->request->param());
|
||
|
return json($result);
|
||
|
}
|
||
|
|
||
|
// 新增
|
||
|
public function add()
|
||
|
{
|
||
|
$service = new BlockStockService();
|
||
|
$result = $service->add($this->request->param());
|
||
|
return json($result);
|
||
|
}
|
||
|
|
||
|
|
||
|
// 编辑
|
||
|
public function edit()
|
||
|
{
|
||
|
$service = new BlockStockService();
|
||
|
$result = $service->edit($this->request->param());
|
||
|
return json($result);
|
||
|
}
|
||
|
|
||
|
// 上市
|
||
|
// public function open()
|
||
|
// {
|
||
|
// $service = new BlockStockService();
|
||
|
// $result = $service->open($this->request->param());
|
||
|
// return json($result);
|
||
|
// }
|
||
|
|
||
|
// 删除
|
||
|
// public function del()
|
||
|
// {
|
||
|
// $service = new BlockStockService();
|
||
|
// $result = $service->del($this->request->param());
|
||
|
// return json($result);
|
||
|
// }
|
||
|
}
|