Explorar o código

优化百度和face++代码

lideyin %!s(int64=5) %!d(string=hai) anos
pai
achega
3951208d07

+ 1 - 1
examcloud-core-oe-face-service/src/main/java/cn/com/qmth/examcloud/core/oe/student/face/service/impl/FaceLivenessServiceImpl.java

@@ -28,7 +28,7 @@ public class FaceLivenessServiceImpl implements FaceLivenessService {
     public JSONObject getBaiduFaceLivenessResultJson(String fileUrl) {
         JSONObject errorMsgJson = new JSONObject();
         String accessTokenResult = BaiduFaceVerifyUtil.getAccessToken(PropertyHolder.getString("$baidu.apiKey"),
-                PropertyHolder.getString("$$.$baidu.secretKey"));
+                PropertyHolder.getString("$baidu.secretKey"));
         //拿不到token
         if (StringUtils.isBlank(accessTokenResult)) {
             errorMsgJson.put(Constants.BAIDU_ERROR_CODE, "APP100001");