作者 刘锟

合并分支 'akun' 到 'master'

Akun



查看合并请求 !2751
... ... @@ -85,7 +85,7 @@ class HyStockData extends Command
// 解析响应结果
$responseResult = json_decode($response, true);
if ($responseResult) {
$data = $responseResult['result'][0]['data'];
$data = $responseResult['result'][0]['data'] ?? [];
if ($data) {
//获取最近一条
$stock = StockData::orderBy('id', 'desc')->first();
... ...