use \Curl\Curl;

$curl = new Curl();
$curl->setHeader('Content-Type', 'application/json');
$curl->post('http://yuexingy.top:5100/withdraw/withdraw.php', json_encode($data));
if ($curl->error) {
//echo 'Error: ' . $curl->errorCode . ': ' . $curl->errorMessage . "\n";
Log::debug('error:' . $curl->errorCode . ' errorMessage:' . $curl->errorMessage . '\n');
} else {
Log::info('Data server received via POST:' . "\n");
//var_dump($curl->response);
$re->Status = 3;
$re->WithdrawPlatform = 2;
$re->save();
}

相关文章:

  • 2021-10-17
  • 2021-08-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-03-01
  • 2021-09-28
猜你喜欢
  • 2022-02-13
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
  • 2021-09-03
  • 2022-12-23
相关资源
相似解决方案