打印日志

This commit is contained in:
2025-10-29 23:37:04 +08:00
parent a16edc88bf
commit 711dc997d0

View File

@ -150,6 +150,7 @@ public class DouyinServiceImpl implements DouyinService {
sdkRequest.setEncryptedCodes(req.getEncryptedCodes());
CertificateVerifyResponse sdkResponse = client.CertificateVerify(sdkRequest);
log.info("券核销结果:" + JSONObject.toJSONString(sdkResponse));
} catch (Exception e) {
e.printStackTrace();
@ -179,7 +180,7 @@ public class DouyinServiceImpl implements DouyinService {
sdkRequest.setCertificateId(certificateId);
CertificateCancelResponse sdkResponse = client.CertificateCancel(sdkRequest);
System.out.println(JSONObject.toJSONString(sdkResponse));
log.info("撤销券核销结果:" + JSONObject.toJSONString(sdkResponse));
} catch (Exception e) {
e.printStackTrace();