From 9d28e1f1aeea58c5b88a92e1111e80b19898e373 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 26 Oct 2023 16:46:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=9B=B4=E6=92=AD=E9=80=81?= =?UTF-8?q?=E7=A4=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/user/Zhibo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/user/Zhibo.php b/app/controller/api/user/Zhibo.php index 14179d3a..334caea7 100644 --- a/app/controller/api/user/Zhibo.php +++ b/app/controller/api/user/Zhibo.php @@ -33,7 +33,7 @@ class Zhibo extends BaseController //用户直播送礼 public function reward() { - $params = $this->request->params(['live_stream_id', 'gift_id', 'master_id']); + $params = $this->request->params(['live_stream_id', 'gift_id', 'master_id', 'live_name', 'gift_name', 'amount']); $user = $this->request->userInfo(); if (empty($params['live_stream_id']) || empty($params['master_id']) || empty($params['gift_id']) || empty($params['live_name']) || empty($params['gift_name']) || empty($params['amount'])) { return app('json')->fail('live_stream_id, master_id, gift_id, live_name, gift_name, amount 参数不能为空');