p2 project
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
574 B

5 months ago
<?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);
}
3 months ago
// 股票分析
public function stockAnalysis()
{
$service = new StockService();
$result = $service->stockAnalysis($this->request->userId, $this->request->param());
return json($result);
}
5 months ago
}