From b26593a6f1aa98214e8422d6e27ca4224feb85e2 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 26 Oct 2023 16:52:50 +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 334caea7..f2776008 100644 --- a/app/controller/api/user/Zhibo.php +++ b/app/controller/api/user/Zhibo.php @@ -33,8 +33,8 @@ class Zhibo extends BaseController //用户直播送礼 public function reward() { - $params = $this->request->params(['live_stream_id', 'gift_id', 'master_id', 'live_name', 'gift_name', 'amount']); $user = $this->request->userInfo(); + $params = $this->request->params(['live_stream_id', 'gift_id', 'master_id', 'live_name', 'gift_name', 'amount']); 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 参数不能为空'); }