Commit fa14262a authored by shiyu's avatar shiyu

Merge branch 'quanku_v3.4' into quanku_v3.5

parents a9185157 18db4b40
......@@ -82,12 +82,14 @@ public class OpenShopServiceImpl implements OpenShopService {
//查询是否粉丝数超过了100
long fansNum = followFansRecordDao.countFans(userId);
map.put("fansNum", fansNum);
map.put("fansNumAble", fansNum >= 100);
map.put("needFansNum", 5);
map.put("fansNumAble", fansNum >= 5);
//查询发布的商品数是否达到10个
long itemNum = supplierItemDao.countByCreatorId(userId);
map.put("itemNum", itemNum);
map.put("itemNumAble", itemNum >= 10);
map.put("needItemNum", 1);
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