将微信sdk包中的slf4j引入去掉
parent
0ce8ccd514
commit
b004be34f1
|
|
@ -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);
|
||||
/**
|
||||
* 编码用户昵称
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue