From 235b795eb85fdefbad9d54e9a469fcafde2383f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Tue, 16 Dec 2025 11:44:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E9=A2=86=E5=8F=96=E5=A5=96=E5=8A=B1?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=95=B0=E9=87=8F=E6=8E=A5=E5=8F=A3=E6=8F=90?= =?UTF-8?q?=E4=BA=A4-=E5=BF=83=E8=B7=B3=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Xintiao.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/application/api/controller/Xintiao.php b/application/api/controller/Xintiao.php index 61ea8d77..7b2bee63 100644 --- a/application/api/controller/Xintiao.php +++ b/application/api/controller/Xintiao.php @@ -101,8 +101,12 @@ class Xintiao extends BaseCom } } } - - return V(1, '成功', null); + //返回任务未领取奖励数 + $not_received_tasks_num = model('Tasks')->daily_tasks_unfinished_count($user_id); + $return_data = [ + 'not_received_tasks_num' => $not_received_tasks_num['data']['num'] + ]; + return V(1, '成功', $return_data); }