投资限制

This commit is contained in:
chaosBreaking
2019-09-30 11:58:58 +08:00
parent d5e5f727da
commit 010257be6d

View File

@@ -117,6 +117,8 @@ module.exports = {
(coinId === 'vic' && +amount < 1000) (coinId === 'vic' && +amount < 1000)
|| ||
+amount > (fund && +fund.fundSum || 10000) +amount > (fund && +fund.fundSum || 10000)
||
+fund.fundSum === 0
) { ) {
return res.json({ return res.json({
code: 4, code: 4,