Ken 3 дней назад
Родитель
Сommit
02a69216fd
1 измененных файлов с 13 добавлено и 13 удалено
  1. 13 13
      app/Services/QianBaoWithdrawService.php

+ 13 - 13
app/Services/QianBaoWithdrawService.php

@@ -149,19 +149,19 @@ class QianBaoWithdrawService
             ];
         }
 
-//        $activityUser = ActivityUserService::findOne([
-//            'member_id' => $chatId,
-//            'status' => 0
-//        ]);
-//        if ($activityUser) {
-//            $text = lang("您有未完成的活动") . "\n";
-//            $text .= lang("任何疑问都可以联系唯一客服") . ":@{$serviceAccount}";
-//            return [
-//                'chat_id' => $chatId,
-//                'text' => $text,
-//                'message_id' => $messageId,
-//            ];
-//        }
+        $activityUser = ActivityUserService::findOne([
+            'member_id' => $chatId,
+            'status' => 0
+        ]);
+        if ($activityUser) {
+            $text = lang("您有未完成的活动") . "\n";
+            $text .= lang("任何疑问都可以联系唯一客服") . ":@{$serviceAccount}";
+            return [
+                'chat_id' => $chatId,
+                'text' => $text,
+                'message_id' => $messageId,
+            ];
+        }
 
 
         $keyboard = [