Commit 5f918c8b authored by shiyu's avatar shiyu

发布线上参数调整

parent d27433fa
......@@ -82,7 +82,7 @@ public class OpenShopServiceImpl implements OpenShopService {
//查询是否粉丝数超过了100
long fansNum = followFansRecordDao.countFans(userId);
map.put("fansNum", fansNum);
map.put("fansNumAble", fansNum >= 2);
map.put("fansNumAble", fansNum >= 10);
//查询发布的商品数是否达到10个
long itemNum = supplierItemDao.countByCreatorId(userId);
......@@ -204,7 +204,7 @@ public class OpenShopServiceImpl implements OpenShopService {
@Override
public Result createGuaranteeMoneyOrder(GuaranteeMoneyRecordRequestDto dto) {
try {
if (Double.valueOf(dto.getAmount()) < 0.01) {
if (Double.valueOf(dto.getAmount()) < 1) {
return Result.failed("质保金最低300元");
}
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