Ver Fonte

增加 withdraw errMsg

DevYK há 2 anos atrás
pai
commit
d04382f146
1 ficheiros alterados com 1 adições e 1 exclusões
  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.')