Authored by chenchao

add log

... ... @@ -44,11 +44,14 @@ public class ErpSellerController {
@IgnoreSession
@RequestMapping("/getSellerWithAuth")
public SellerBo getSellerWithAuth(@RequestBody SellerReq sellerReq){
logger.info("erp invoke getSellerWithAuth,req {}", sellerReq);
Integer uid;
if (sellerReq == null || (uid =sellerReq.getUid()) == null){
return null;
}
SellerWrapper sellerWrapper = sellerService.getFullDimensionSeller(uid);
return sellerWrapper.buildSellerBo();
SellerBo sellerBo = sellerWrapper.buildSellerBo();
logger.info("erp invoke getSellerWithAuth,req {},sellerBo {}", sellerReq, sellerBo);
return sellerBo;
}
}
... ...