更新直播送礼
This commit is contained in:
parent
7395229cff
commit
6bc794b48b
@ -47,8 +47,8 @@ class Zhibo extends BaseController
|
||||
try {
|
||||
$client = new Client();
|
||||
$response = $client->request('POST', $this->checkUrl, [
|
||||
'timeout' => 5,
|
||||
'verify' => false,
|
||||
// 'timeout' => 5,
|
||||
'verify' => false,
|
||||
'headers' => ['X-Token' => $token],
|
||||
'json' => [
|
||||
"live_stream_id" => $params['live_stream_id'],
|
||||
@ -122,9 +122,9 @@ class Zhibo extends BaseController
|
||||
$message = "{$user['nickname']} 送出了 {$params['gift_name']}";
|
||||
$client = new Client();
|
||||
$client->request('POST', $this->giftUrl, [
|
||||
'verify' => false,
|
||||
'verify' => false,
|
||||
'headers' => ['X-Token' => $token],
|
||||
'json' => [
|
||||
'json' => [
|
||||
"live_stream_id" => $params['live_stream_id'],
|
||||
"app_name" => 'shop',
|
||||
"gift_id" => $params['gift_id'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user