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.

78 lines
1.8 KiB

3 months ago
<?php
namespace app\admin\controller\setting;
use app\admin\controller\AdminBaseController;
use app\admin\service\setting\ForexService;
2 months ago
use app\admin\service\setting\HqService;
use app\model\ForexMarketModel;
3 months ago
// 合约交易对
class Forex extends AdminBaseController
{
public function index()
{
$service = new ForexService();
$result = $service->index();
return json($result);
}
public function add()
{
$service = new ForexService();
$result = $service->add($this->request->param());
return json($result);
}
public function edit()
{
$service = new ForexService();
$result = $service->edit($this->request->param());
return json($result);
}
public function getTradeNameList()
{
$service = new ForexService();
$result = $service->getTradeNameList($this->request->param());
return json($result);
}
public function setting()
{
$service = new ForexService();
$result = $service->setting($this->request->param());
return json($result);
}
2 months ago
public function hq_index()
3 months ago
{
$service = new ForexService();
2 months ago
$result = $service->hq_index();
3 months ago
return json($result);
}
2 months ago
public function hq_add()
{
$service = new ForexService();
$result = $service->hq_add($this->request->param());
return json($result);
}
public function hq_edit()
3 months ago
{
$service = new ForexService();
2 months ago
$result = $service->hq_edit($this->request->param());
3 months ago
return json($result);
}
2 months ago
public function hq_del()
3 months ago
{
$service = new ForexService();
2 months ago
$result = $service->hq_del($this->request->param());
3 months ago
return json($result);
}
2 months ago
3 months ago
}