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.
23 lines
571 B
23 lines
571 B
<?php
|
|
namespace app\admin\controller\setting;
|
|
use app\admin\controller\AdminBaseController;
|
|
use app\admin\service\setting\GoldFuturesService;
|
|
|
|
class GoldFutures extends AdminBaseController
|
|
{
|
|
// 印度股指名称列表
|
|
public function getTradeNameList()
|
|
{
|
|
$result = (new GoldFuturesService())->getTradeNameList();
|
|
return json($result);
|
|
}
|
|
|
|
// 黄金期货列表
|
|
public function goldFuturesList()
|
|
{
|
|
$result = (new GoldFuturesService())->inrStockIndexList($this->request->param());
|
|
return json($result);
|
|
}
|
|
|
|
|
|
}
|
|
|