Commit d321f554 authored by ml's avatar ml

修改

parent 04558c14
......@@ -53,10 +53,6 @@ export async function userList(queryVO: QueryVO) {
where.user_id = queryVO.user_id;
}
if (!isNaN(queryVO.kyc_status)) {
where.real_name = queryVO.kyc_status ? { [ormDB.Op.not]: null } : "";
}
if (!isNaN(queryVO.lock_status)) {
where.is_lock = queryVO.lock_status;
}
......
......@@ -7,6 +7,7 @@ import { EMAIL_FORBID_TEMPLATE, REAL_NAME_DENY, REAL_NAME_PASS } from "../../../
import { KYC_STATUS, SETTING_FLAG } from "../../../constant/mUserInfoConst";
import { addOptLog, LogType } from "./userOptLog.service";
import { recordMUserOperateLog, TYPE } from "./mUserAccountOperateLog.service";
import { isNaN } from "lodash";
let { logger, } = require('@madex/ex-js-public');
......@@ -82,7 +83,7 @@ export async function kycList(queryVO: QueryVO, isAdmin: boolean) {
}]
}
}
if (queryVO.status) {
if (!isNaN(Number(queryVO.status))) {
where["status"] = queryVO.status
}
let resList = await userRealName.prototype.findAndCount({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment