diff --git a/application/common/service/RedpacketService.php b/application/common/service/RedpacketService.php index 57a343fd..02417654 100644 --- a/application/common/service/RedpacketService.php +++ b/application/common/service/RedpacketService.php @@ -193,7 +193,7 @@ class RedpacketService ->where('user_id',$userId) ->where('createtime', '>=', strtotime(date('Y-m-d'))) ->count(); - if($tady_red_num >= 5){ + if($tady_red_num <= 5){ model('api/Tasks')->tasks_complete($userId,36); } return [