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.
17 lines
343 B
17 lines
343 B
<?php
|
|
|
|
namespace app\home\controller;
|
|
|
|
use app\home\service\StockService;
|
|
|
|
class Stock extends HomeBaseController
|
|
{
|
|
|
|
// 获取股票市场状态
|
|
public function checkMarketStatus()
|
|
{
|
|
$service = new StockService();
|
|
$result = $service->checkMarketStatus($this->request->param());
|
|
return json($result);
|
|
}
|
|
}
|