Explorar o código

Weenier 168otc项目部署 0630

wesmiler %!s(int64=3) %!d(string=hai) anos
pai
achega
f3cf05caf0
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      app/Http/Controllers/Api/TaskController.php

+ 2 - 1
app/Http/Controllers/Api/TaskController.php

@@ -47,7 +47,8 @@ class TaskController extends webApp
                 RedisService::set("caches:wallet:catchTransfer:{$v['id']}_result", $result, 600);
             }else{
                 $failedCount++;
-                RedisService::set("caches:wallet:catchTransfer:{$v['id']}_result", UsdtWalletService::make()->getError(), 600);
+                $error = lang(UsdtWalletService::make()->getError());
+                RedisService::set("caches:wallet:catchTransfer:{$v['id']}_result", $error, 600);
             }
         }