Commit 0aee91b7 authored by shiyu's avatar shiyu

开店条件放开

parent a197a13e
......@@ -82,12 +82,12 @@ public class OpenShopServiceImpl implements OpenShopService {
//查询是否粉丝数超过了100
long fansNum = followFansRecordDao.countFans(userId);
map.put("fansNum", fansNum);
map.put("fansNumAble", fansNum >= 100);
map.put("fansNumAble", fansNum >= 5);
//查询发布的商品数是否达到10个
long itemNum = supplierItemDao.countByCreatorId(userId);
map.put("itemNum", itemNum);
map.put("itemNumAble", itemNum >= 10);
map.put("itemNumAble", itemNum >= 1);
return Result.success(map);
} catch (Exception e) {
logger.error("检查是否满足开店条件失败 error : {}", e);
......
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