修复 无法获取价格的问题

This commit is contained in:
iVampireSP.com 2022-08-27 21:49:32 +08:00
parent cfda7c9be7
commit b235fade37
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -48,8 +48,8 @@ public function handle()
$response_json = $response->json();
// 检测是否有价格
if (isset($response_json['price'])) {
$host->price = $response_json['price'];
if (isset($response_json['data']['price'])) {
$host->price = $response_json['data']['price'];
} else {
$host->status = 'error';
}