兼容修改
This commit is contained in:
@@ -78,7 +78,7 @@ class DiscSpinningController extends Frontend
|
|||||||
'draws' => $resp
|
'draws' => $resp
|
||||||
]);
|
]);
|
||||||
$resp = convertToCamelCase($resp);
|
$resp = convertToCamelCase($resp);
|
||||||
$resp['img'] = $resp['imgUrl'];
|
$resp['img'] = $resp['img_url'] ?? '';
|
||||||
$this->successWithData($resp);
|
$this->successWithData($resp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user