提现条件
This commit is contained in:
@@ -123,11 +123,11 @@ module.exports = {
|
||||
});
|
||||
const [user, fund] = await Promise.all([User.findById(userId), Fund.findOne({ userId })]);
|
||||
if (
|
||||
(coinId === 'vic' && +amount < 1000)
|
||||
(coinId === 'vic' && +amount < 30)
|
||||
||
|
||||
+amount > (fund && +fund.fundSum || 10000)
|
||||
+fund.fundSum < 500
|
||||
||
|
||||
+fund.fundSum === 0
|
||||
+user.verifyLevel < 1
|
||||
) {
|
||||
return res.json({
|
||||
code: 4,
|
||||
|
||||
Reference in New Issue
Block a user