Explorar o código

feature: 增加验收要求日志

Walker hai 1 ano
pai
achega
6333b68260

+ 2 - 1
onemini-hospital-empty/src/main/java/com/ywt/alipaympapi/service/impl/IsvPayServiceImpl.java

@@ -880,8 +880,9 @@ public class IsvPayServiceImpl implements IsvPayService {
 //            bizContent.put("extend_params", extendParams);
 
         request.setBizContent(JSONObject.toJSONString(bizContent));
+        log.info("验收:获取线上医保授权凭证:入参:{}", JSONObject.toJSONString(request));
         AlipayCommerceMedicalAuthinfoAuthQueryResponse response = alipayService.getAlipayClient(appId).execute(request, accessToken); //accessToken为用户授权token
-        System.out.println("返回:" + response.getBody());
+        log.info("验收:获取线上医保授权凭证:出参:{}", JSONObject.toJSONString(response));
         // 出参
         String authUrl = ""; // 当用户需要授权时,返回该参数,医药机构前端直接跳转该地址。
         String payAuthNo = ""; // 当用户已经授权支付时,直接返回该字段。线上支付授权编码。