|
|
@@ -2,6 +2,7 @@ package com.zhongzheng.modules.face.service.impl;
|
|
|
|
|
|
|
|
|
import cn.hutool.core.bean.BeanUtil;
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
import com.tencentcloudapi.common.Credential;
|
|
|
import com.tencentcloudapi.common.exception.TencentCloudSDKException;
|
|
|
import com.tencentcloudapi.common.profile.ClientProfile;
|
|
|
@@ -72,6 +73,7 @@ public class FaceServiceImpl implements IFaceService {
|
|
|
req.setBizToken(bizToken);
|
|
|
req.setRuleId("0");
|
|
|
GetDetectInfoResponse resp = client.GetDetectInfo(req);
|
|
|
+ JSONObject resultObject = JSONObject.parseObject(GetDetectInfoResponse.toJsonString(resp));
|
|
|
System.out.println(GetDetectInfoResponse.toJsonString(resp));
|
|
|
} catch (TencentCloudSDKException e) {
|
|
|
System.out.println(e.toString());
|