将微信sdk包中的slf4j引入去掉

master
= 2022-07-17 19:23:53 +08:00
parent 0ce8ccd514
commit b004be34f1
4 changed files with 11 additions and 7 deletions

View File

@ -1,7 +1,9 @@
package com.weixin.pay.util;
import lombok.extern.slf4j.Slf4j;
//import lombok.extern.slf4j.Slf4j;
import org.apache.commons.codec.binary.Base64;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.UnsupportedEncodingException;
@ -11,9 +13,9 @@ import java.io.UnsupportedEncodingException;
* @author yclimb
* @date 2018/8/17
*/
@Slf4j
//@Slf4j
public class WXUserUtil {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(WXUserUtil.class);
/**
*
*

View File

@ -36,9 +36,10 @@ import java.util.concurrent.TimeUnit;
* @author yclimb
* @date 2018/8/17
*/
@Slf4j
//@Slf4j
@Component
public class WXUtils {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(WXUtils.class);
@Resource
private RestTemplate restTemplate;

View File

@ -16,11 +16,11 @@ import javax.servlet.http.HttpServletRequest;
* @author yclimb
* @date 2018/7/30
*/
@Slf4j
//@Slf4j
@RestController
@RequestMapping("/weixin/auth")
public class WXAuthController {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(WXAuthController.class);
@Resource
private WXUtils wxUtils;

View File

@ -23,10 +23,11 @@ import java.util.Map;
* @author yclimb
* @date 2018/6/15
*/
@Slf4j
//@Slf4j
@RestController
@RequestMapping("/weixin/pay")
public class WXPayController {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(WXPayController.class);
/**
* xml