Ken 2 주 전
부모
커밋
45ddccb023
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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,