文档更新

master
yixian 3 years ago
parent 6bfd69ce06
commit a827c30bc9

@ -382,23 +382,17 @@ consultResultItemAlipayPlus:
type: object
required:
- sub_channel
- enabled
- sub_channel_name
properties:
sub_channel:
type: string
description: 钱包名称用于作为pay_type参数传递给下单api
enabled:
type: boolean
description: 是否可用
preferred:
type: boolean
description: 是否推荐
sub_channel_name:
type: string
description: 钱包品牌名称,用于展示
logo:
type: string
description: 钱包logo图片地址
disable_reason:
type: string
description: 钱包不可用原因
customInfo:
type: object
properties:

@ -379,23 +379,17 @@ consultResultItemAlipayPlus:
type: object
required:
- sub_channel
- enabled
- sub_channel_name
properties:
sub_channel:
type: string
description: wallet name. should be passed as pay_type parameter in new order requests
enabled:
type: boolean
description: is this wallet available to use
preferred:
type: boolean
description: is this wallet recommended
sub_channel_name:
type: string
description: wallet brand name which can be display to customers
logo:
type: string
description: wallet logo
disable_reason:
type: string
description: reason for why this wallet was unable to use
customInfo:
type: object
properties:

@ -212,7 +212,7 @@ public class PlatformClearAnalysisServiceImpl implements PlatformClearService {
try {
tencentSettle = mpPaymentApi.settlementLogs(settleDate.get("from"), settleDate.get("to"), mch.getMerchantId());
if (tencentSettle == null) {
logger.info("【" + mch.getMerchantId() + "】下没有清算记录");
logger.info("【{}】下没有清算记录", mch.getMerchantId());
} else {
for (SettlementLog settle : tencentSettle) {
JSONObject params = new JSONObject();
@ -246,11 +246,11 @@ public class PlatformClearAnalysisServiceImpl implements PlatformClearService {
platformSettlementMapper.save(params);
}
params.clear();
logger.info(mch.getMerchantId() + "的微信清算记录查询完成");
logger.info("{}的微信清算记录查询完成", mch.getMerchantId());
}
}
} catch (Exception e) {
logger.error("【" + mch.getMerchantId() + "】下没有清算记录", e);
logger.error("【{}】下没有清算记录", mch.getMerchantId(), e);
}
}
}

Loading…
Cancel
Save