transfer
This commit is contained in:
parent
ebcda49a3b
commit
80903b9719
@ -705,6 +705,8 @@ class EarningController extends Controller
|
||||
$response = $client->post($url, $options);
|
||||
$content = $response->getBody();
|
||||
$res = json_decode($content, true);
|
||||
Log::info("请求结果:", ["data" => $res]);
|
||||
|
||||
if ($res && isset($res['code'])) {
|
||||
if ($res['code']) {
|
||||
throw new Exception($res['message']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user