From 41c065d0edec232634f7b4fd36d10e75289b9648 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Thu, 26 Oct 2023 16:43:58 +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 836b2df5..14179d3a 100644 --- a/app/controller/api/user/Zhibo.php +++ b/app/controller/api/user/Zhibo.php @@ -35,7 +35,7 @@ class Zhibo extends BaseController { $params = $this->request->params(['live_stream_id', 'gift_id', 'master_id']); $user = $this->request->userInfo(); - if (empty($params['live_stream_id']) || empty($params['master_id']) || empty($params['gift_id'])) { + 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 参数不能为空'); } if ($params['amount'] > $user['now_money']) {