Authored by tanling

payConfirmLogger去掉

... ... @@ -9,6 +9,7 @@ import com.yohoufo.order.model.request.PaymentRequest;
import com.yohoufo.order.service.IPaymentService;
import com.yohoufo.order.utils.LoggerUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
... ... @@ -18,7 +19,7 @@ import org.springframework.stereotype.Service;
@Service
public class PayRefundService {
private static final Logger logger = LoggerUtils.getPayConfirmLogger();
private static final Logger logger = LoggerFactory.getLogger(PayRefundService.class);
@Autowired
private IPaymentService paymentService;
... ...
... ... @@ -66,6 +66,7 @@ import com.yohoufo.order.utils.LoggerUtils;
import com.yohoufo.order.utils.PaymentHelper;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
... ... @@ -97,8 +98,7 @@ public class PaymentServiceImpl implements IPaymentService {
}
}
private static final Logger logger = LoggerUtils.getPayConfirmLogger();
private static final Logger logger = LoggerFactory.getLogger(PaymentServiceImpl.class);
@Autowired
OrderPaymentServiceFactory orderPaymentServiceFactory;
... ...
... ... @@ -20,9 +20,9 @@ public class LoggerUtils {
return buildByName("mqProducerLog");
}
public static Logger getPayConfirmLogger(){
return buildByName("payConfirmLog");
}
// public static Logger getPayConfirmLogger(){
// return buildByName("payConfirmLog");
// }
public static Logger getSellerOrderLogger(){
return buildByName("sellerOrderLog");
... ...