Commit 89c048cd authored by shiyu's avatar shiyu

个人主页判断开店是否过期2

parent 403ef7fb
...@@ -203,7 +203,7 @@ public class OpenShopServiceImpl implements OpenShopService { ...@@ -203,7 +203,7 @@ public class OpenShopServiceImpl implements OpenShopService {
@Override @Override
public Result createGuaranteeMoneyOrder(GuaranteeMoneyRecordRequestDto dto) { public Result createGuaranteeMoneyOrder(GuaranteeMoneyRecordRequestDto dto) {
try { try {
if (Integer.valueOf(dto.getAmount()) < 3) { if (Double.valueOf(dto.getAmount()) < 0.01) {
return Result.failed("质保金最低300元"); return Result.failed("质保金最低300元");
} }
Date now = new Date(); Date now = new Date();
......
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