文档更新

master
yixian 3 years ago
parent 6bfd69ce06
commit a827c30bc9

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

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

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

Loading…
Cancel
Save