Explorar o código

增加 withdraw errMsg

DevYK %!s(int64=2) %!d(string=hai) anos
pai
achega
d04382f146
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      routes/sdk.js

+ 1 - 1
routes/sdk.js

@@ -686,7 +686,7 @@ async function getWithdrawStatus(ctx) {
                 chainId: info.chain_id,
                 transferTimestamp: info.update_time,
                 errorMsg: info.errorMsg
-            }, null)
+            }, info.errorMsg)
         }
     } else {
         ctx.body = utils.toJson(-1, null, obj.withdraw_id + ' id does not exist.')