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

+ 1 - 1
app/Services/TopUpService.php

@@ -281,7 +281,7 @@ class TopUpService
     //获取充值二维码
     public static function scan($chatId, $messageId, $type)
     {
-         $receivingType = Config::where('field', 'receiving_type')->first()->val;
+         $receivingType =  ConfigService::getVal("receiving_type");
         //自动
         if ($receivingType == 1) {
             $res = WalletService::getRechargeImageAddress($chatId);