Commit cbf8a54b by sdif

去除商城城市id

parent ed3de4a0
......@@ -47,7 +47,7 @@ public class AppletStoreGoodsController extends BaseController {
*/
@GetMapping("/shopList")
public TableDataInfo<StoreGoodsVo> shopList(StoreGoodsBo bo, PageQuery pageQuery, HttpServletRequest reques) {
bo.setCityId(CityIdUtils.setCityIdPasLong(reques));
//bo.setCityId(CityIdUtils.setCityIdPasLong(reques));
return iStoreGoodsService.shopAppShop(bo, pageQuery);
}
/**
......@@ -55,7 +55,7 @@ public class AppletStoreGoodsController extends BaseController {
*/
@GetMapping("/searchShop")
public TableDataInfo<StoreGoodsVo> searchShop(StoreGoodsBo bo, PageQuery pageQuery, HttpServletRequest reques) {
bo.setCityId(CityIdUtils.setCityIdPasLong(reques));
//bo.setCityId(CityIdUtils.setCityIdPasLong(reques));
return iStoreGoodsService.searchAppShop(bo, pageQuery);
}
......
......@@ -149,7 +149,7 @@ public class StoreGoodsServiceImpl implements IStoreGoodsService {
//查询所有商户分类
List<StoreApplyVo> storeApplies = storeApplyMapper.selectVoList(
new LambdaQueryWrapper<StoreApply>().eq(StoreApply::getStatus, 1)
.eq(StoreApply::getCityId,cityId)
);
//查询商户下面的商品
for (StoreApplyVo storeApply : storeApplies) {
......
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