打印日志
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user