Commit 287958e3 by 吕明尚

增加查询优惠卷关联门店接口1

parent a81950db
...@@ -140,5 +140,10 @@ public class SCouponController extends BaseController ...@@ -140,5 +140,10 @@ public class SCouponController extends BaseController
return success(sCouponService.queryShopDeal()); return success(sCouponService.queryShopDeal());
} }
@GetMapping("/querySkuPoiList")
public AjaxResult querySkuPoiList() {
return success(sCouponService.querySkuPoiList());
}
} }
...@@ -78,4 +78,6 @@ public interface ISCouponService extends IService<SCoupon> ...@@ -78,4 +78,6 @@ public interface ISCouponService extends IService<SCoupon>
TableDataInfo listDuration(SCoupon sCoupon); TableDataInfo listDuration(SCoupon sCoupon);
List<SCoupon> selectSCouponByDealgroupId(Long dealgroupId); List<SCoupon> selectSCouponByDealgroupId(Long dealgroupId);
List<SCoupon> querySkuPoiList();
} }
...@@ -269,4 +269,9 @@ public class SCouponServiceImpl extends ServiceImpl<SCouponMapper, SCoupon> impl ...@@ -269,4 +269,9 @@ public class SCouponServiceImpl extends ServiceImpl<SCouponMapper, SCoupon> impl
public List<SCoupon> selectSCouponByDealgroupId(Long dealgroupId) { public List<SCoupon> selectSCouponByDealgroupId(Long dealgroupId) {
return sCouponMapper.selectSCouponByDealgroupId(dealgroupId); return sCouponMapper.selectSCouponByDealgroupId(dealgroupId);
} }
@Override
public List<SCoupon> querySkuPoiList() {
return null;
}
} }
...@@ -269,10 +269,7 @@ public class TiktokServiceImpl implements TiktokService { ...@@ -269,10 +269,7 @@ public class TiktokServiceImpl implements TiktokService {
list.stream().forEach(e -> { list.stream().forEach(e -> {
//在线状态 1-在线 2-下线 3-封禁 //在线状态 1-在线 2-下线 3-封禁
Integer onlineStatus = e.getInt("online_status"); Integer onlineStatus = e.getInt("online_status");
//商品
TiktokProduct product = (TiktokProduct) e.getObj("product");
//售卖单元
Sku sku = (Sku) e.getObj("sku");
}); });
return data.getJSONArray("records"); return data.getJSONArray("records");
} }
......
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