From 480c0834c2dc57721022cc9b06d527a3e7cad09b Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 18 七月 2025 13:09:55 +0800
Subject: [PATCH] gx百度sdk适配

---
 src/stores/StoresConfing.ts |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/stores/StoresConfing.ts b/src/stores/StoresConfing.ts
index f53b7c5..6aa200d 100644
--- a/src/stores/StoresConfing.ts
+++ b/src/stores/StoresConfing.ts
@@ -2,7 +2,9 @@
 import { ref } from 'vue'
 export const confingInfoStore =defineStore('confingInfo',()=>{
     const confingInfo=ref({
-        isLanFace:false,
+        isLanFace:false,//内网版
+        faceType:"百度",//人脸识别类型  baidu 阿里云
+        faceApi:'',
         screenTimeout: 150,
         // 启用人脸识别
         isUseFaceRecogService: true,
@@ -13,6 +15,7 @@
         //结果展示等待页面读秒
         timeJg:10000,
         base_api:"",
+        
         // 人脸识别请求间隔
         face_push:3,
         imgHeight:200,
@@ -50,12 +53,15 @@
         confingInfo.value=info
         // 给默认值
         if(info.BobaoJg===undefined){
-            confingInfo.value.BobaoJg=4
+            confingInfo.value.BobaoJg=10
         }
         // 
         if(info.isLanFace===undefined){
             confingInfo.value.isLanFace=false
         }
+        if(info.faceType===undefined){
+            confingInfo.value.faceType="阿里云"
+        }
     }
     return {confingInfo,setconfingInfo}
 })
\ No newline at end of file

--
Gitblit v1.8.0