Commit d27433fa authored by shiyu's avatar shiyu

个人主页开店申请页面展示,兼容原来的供货商账号

parent 39682821
......@@ -301,6 +301,8 @@ public class SelfPageServiceImpl implements SelfPageService {
CollectorWhiteList collectorWhiteList = collectorWhiteListDao.findById(dto.getUserId());
if (collectorWhiteList != null && collectorWhiteList.getEndValidTime().after(now)) {
selfPageInfoVo.setIsCollector(true);
selfPageInfoVo.setOpenShopState(OpenShopApplyOrderEnum.StateEnum.PASSED.getCode());
selfPageInfoVo.setIsPayGuaranteeMoney(CommonEnum.StateEnum.VALID.getCode());
} else {
selfPageInfoVo.setIsCollector(false);
}
......
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