Commit d0b1ba9e authored by shiyu's avatar shiyu

拍卖保证金

parent 9a5e4142
......@@ -27,6 +27,7 @@ import com.wwdz.ch.db.dto.request.openShop.GuaranteeMoneyRecordRequestDto;
import com.wwdz.ch.db.dto.request.openShop.OpenShopApplyOrderRequestDto;
import com.wwdz.ch.db.dto.request.openShop.OpenShopInfoRequestDto;
import com.wwdz.ch.wx.impl.AiAssistantServiceImpl;
import com.wwdz.ch.wx.service.UserAccountService;
import com.wwdz.ch.wx.service.openShop.OpenShopService;
import com.xxdxxs.utils.EntityMapper;
import org.slf4j.Logger;
......@@ -73,11 +74,15 @@ public class OpenShopServiceImpl implements OpenShopService {
@Autowired
OpenShopCostConfigDao openShopCostConfigDao;
@Autowired
UserAccountService userAccountService;
@Override
public Result checkAbleToOpenShop(OpenShopInfoRequestDto dto) {
try {
Map<String, Object> map = new HashMap<>();
long userId = dto.getUserId();
userAccountService.initAccount(userId);
Map<String, Object> map = new HashMap<>();
//查询是否粉丝数超过了100
long fansNum = followFansRecordDao.countFans(userId);
map.put("fansNum", fansNum);
......
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