Ken hai 10 horas
pai
achega
45ddccb023
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      app/Services/TopUpService.php

+ 5 - 0
app/Services/TopUpService.php

@@ -267,6 +267,11 @@ class TopUpService
             ]
         ];
 
+        $receivingType = ConfigService::getVal("receiving_type");
+        if ($receivingType == 1) {
+            unset($keyboard[0][1]);
+        }
+
         $text = lang("请选择网络类型");
         return [
             'chat_id' => $chatId,