🐛修复创建订单的流程,使用到 API Bean 未声明的报错
parent
38e88b02f5
commit
67d365475c
@ -0,0 +1 @@
|
|||||||
|
package cn.iocoder.yudao.module.product.api;
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
package cn.iocoder.yudao.module.product.api.sku;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.module.product.api.sku.dto.SkuDecrementStockBatchReqDTO;
|
||||||
|
import cn.iocoder.yudao.module.product.api.sku.dto.SkuInfoRespDTO;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.util.Collection;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* todo 注释
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class ProductSkuApiImpl implements ProductSkuApi {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<SkuInfoRespDTO> getSkusByIds(Collection<Long> skuIds) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void decrementStockBatch(SkuDecrementStockBatchReqDTO batchReqDTO) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
package cn.iocoder.yudao.module.product.api.spu;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.module.product.api.spu.dto.SpuInfoRespDTO;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.util.Collection;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* todo 注释
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class ProductSpuApiImpl implements ProductSpuApi {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<SpuInfoRespDTO> getSpusByIds(Collection<Long> spuIds) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
package cn.iocoder.yudao.module.pay.api;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.module.pay.api.order.PayOrderApi;
|
||||||
|
import cn.iocoder.yudao.module.pay.api.order.PayOrderDataCreateReqDTO;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TODO 注释
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class PayOrderApiImpl implements PayOrderApi {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Long createPayOrder(PayOrderDataCreateReqDTO reqDTO) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue