|
@@ -154,6 +154,7 @@ async function withdrawV3(ctx) {
|
|
var log_obj = { ...obj }
|
|
var log_obj = { ...obj }
|
|
logger.log('withdrawV3', log_obj)
|
|
logger.log('withdrawV3', log_obj)
|
|
var obj_ = decrypt_withdraw_content(log_obj.content)
|
|
var obj_ = decrypt_withdraw_content(log_obj.content)
|
|
|
|
+ obj_.withdraw_id = obj_.withdrawId;
|
|
// var obj_ = log_obj
|
|
// var obj_ = log_obj
|
|
if (obj_.withdraw_id) {
|
|
if (obj_.withdraw_id) {
|
|
var isExist = await withdraw_db.withdraw_id_exist(obj_.withdraw_id)
|
|
var isExist = await withdraw_db.withdraw_id_exist(obj_.withdraw_id)
|
|
@@ -220,6 +221,7 @@ async function withdrawV2(ctx) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
async function withdraw_(obj) {
|
|
async function withdraw_(obj) {
|
|
console.log("withdraw_", obj);
|
|
console.log("withdraw_", obj);
|
|
var log_obj = { ...obj }
|
|
var log_obj = { ...obj }
|
|
@@ -272,7 +274,7 @@ async function getWithdrawStatus(ctx) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
const obj = ctx.request.body;
|
|
const obj = ctx.request.body;
|
|
- var info = await withdraw_db.queryWithdrawInfoFromWithdrawId(obj.withdrawId)
|
|
|
|
|
|
+ var info = await withdraw_db.queryWithdrawInfoFromWithdrawId(obj.withdraw_id)
|
|
logger.log('getWithdrawStatus info', JSON.stringify(info))
|
|
logger.log('getWithdrawStatus info', JSON.stringify(info))
|
|
if (info) {
|
|
if (info) {
|
|
// try {
|
|
// try {
|