Ken 6 mesiacov pred
rodič
commit
45ddccb023
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  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("请选择网络类型");
         $text = lang("请选择网络类型");
         return [
         return [
             'chat_id' => $chatId,
             'chat_id' => $chatId,