From 010257be6d530bbaa65316b8898adfebfcd5b976 Mon Sep 17 00:00:00 2001 From: chaosBreaking Date: Mon, 30 Sep 2019 11:58:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E8=B5=84=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/fund/fund.controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/fund/fund.controller.js b/src/modules/fund/fund.controller.js index c32d7db..7463dd8 100644 --- a/src/modules/fund/fund.controller.js +++ b/src/modules/fund/fund.controller.js @@ -117,6 +117,8 @@ module.exports = { (coinId === 'vic' && +amount < 1000) || +amount > (fund && +fund.fundSum || 10000) + || + +fund.fundSum === 0 ) { return res.json({ code: 4,