瀏覽代碼

增加 withdraw errMsg

DevYK 2 年之前
父節點
當前提交
d04382f146
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.')