bourse stock
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.

25 lines
497 B

3 months ago
<?php
namespace app\admin\controller\setting;
use app\admin\controller\AdminBaseController;
use app\admin\service\setting\StockIndexService;
/**
* 股票指数操作
*/
class StockIndex extends AdminBaseController
{
public function index()
{
$result = (new StockIndexService())->index();
return json($result);
}
public function update()
{
$result = (new StockIndexService())->update($this->request->param());
return json($result);
}
}