Commit 79844768 by xiaoer.li

add::sdk+log

parent c5afff1c
......@@ -64,6 +64,7 @@ import static com.freemud.sdk.api.assortment.shoppingcart.constant.ShoppingCartC
* 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目
*/
@Service
@Slf4j
public interface ShoppingCartBaseService {
/**
......@@ -162,6 +163,7 @@ public interface ShoppingCartBaseService {
getProductInfoDto.setChannel(getProductInfoRequest.getMenuType());
ProductService productService = SDKCommonBaseContextWare.getBean(ProductService.class);
com.freemud.application.sdk.api.base.BaseResponse<ProductInfosDTO> productInfosDTOBaseResponse = productService.listProductInfoByIdList(getProductInfoDto, LogThreadLocal.getTrackingNo());
log.info("getProductsInfo req:{},rep:{}",JSON.toJSONString(getProductInfoDto),JSON.toJSONString(productInfosDTOBaseResponse));
if (!Objects.equals(ResponseResultEnum.SUCCESS.getCode(), productInfosDTOBaseResponse.getCode()) || productInfosDTOBaseResponse.getData() == null) {
return CartResponseUtil.error(productInfosDTOBaseResponse.getMessage());
}
......
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