com.tmsps.ne4weixin.pay.WXPayDomain Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ne4weixin Show documentation
Show all versions of ne4weixin Show documentation
Ne4WeiXin For Spring is good :)
package com.tmsps.ne4weixin.pay;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class WXPayDomain implements IWXPayDomain {
@Override
public void report(String domain, long elapsedTimeMillis, Exception ex) {
log.warn("request {} by {} with {}",domain, elapsedTimeMillis, ex);
}
@Override
public DomainInfo getDomain(WXPayConfig config) {
IWXPayDomain.DomainInfo domainInfo = new DomainInfo(WXPayConstants.DOMAIN_API, true);
return domainInfo;
}
}