Ken 11 цаг өмнө
parent
commit
5dde31d49d

+ 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);