fix - 彻底优化日志 没意义日志
This commit is contained in:
@@ -190,9 +190,6 @@ public class VenueService extends BaseServiceImpl {
|
||||
// 编码长度5位的经度为2.4km
|
||||
geoHashList.add(GeoHashUtils.encodeHash(longitude, latitude, zoom));
|
||||
geoHashList.addAll(GeoHashUtils.neighbours(geoHashList.get(0)));
|
||||
for (String neighbours : geoHashList) {
|
||||
System.out.println(neighbours);
|
||||
}
|
||||
}
|
||||
List<VenueDTO> venueDTOS = new ArrayList<>();
|
||||
if (geoHashList.size() == 0) {
|
||||
|
||||
@@ -139,7 +139,6 @@ public class WechatPayService extends BaseServiceImpl {
|
||||
|
||||
// 记录统一下单接口返回
|
||||
logger.info(ToStringBuilder.reflectionToString(response));
|
||||
System.out.println(ToStringBuilder.reflectionToString(response));
|
||||
if (response.isSuccess()) {
|
||||
wechatPayParam = this.createGzhBizPackage(response,payConfig);
|
||||
orderService.updatePrepayId(orderSn,response.getPrepayId());
|
||||
@@ -287,7 +286,6 @@ public class WechatPayService extends BaseServiceImpl {
|
||||
// String notifyUrl = "https://api.smartvenue.ydd100.cn//weixin/order/refund";
|
||||
OrderResponse response = weChatPayHelper.refund("",memberRefund.getOrderSn(),memberRefund.getOutRefundNo(),payMoney,refundMoney,payConfig.getCancel());
|
||||
logger.info(ToStringBuilder.reflectionToString(response));
|
||||
System.out.println(ToStringBuilder.reflectionToString(response));
|
||||
if (response.isSuccess()) {
|
||||
String refundId = response.getRefundId();
|
||||
//更新‘用户退款记录表’中微信退款单号
|
||||
|
||||
@@ -148,7 +148,7 @@ public class FaceService {
|
||||
try {
|
||||
CloseableHttpResponse response = httpClient.execute(req);
|
||||
|
||||
System.out.println(EntityUtils.toString(response.getEntity()));
|
||||
logger.debug("face response: {}", EntityUtils.toString(response.getEntity()));
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
@@ -8,9 +8,13 @@ import javax.crypto.Mac;
|
||||
import javax.crypto.spec.SecretKeySpec;
|
||||
import java.net.URLEncoder;
|
||||
import java.text.MessageFormat;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class DingTalkSignUtils {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(DingTalkSignUtils.class);
|
||||
|
||||
private static final String TIME_LINK = "×tamp=";
|
||||
|
||||
private static final String SIGN_LINK = "&sign=";
|
||||
@@ -33,7 +37,7 @@ public class DingTalkSignUtils {
|
||||
format
|
||||
,sendMsg.getViewUrl());
|
||||
String r3 = HttpClientUtils.doPostJson(signUrl(webhook,secret), JsonUtils.encode(msg3));
|
||||
System.out.println("发送消息=============" + r3);
|
||||
logger.debug("发送消息============={}", r3);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user