devin.zhu@doverfs.com преди 7 месеца
родител
ревизия
2f55a20717
променени са 2 файла, в които са добавени 5 реда и са изтрити 4 реда
  1. 3 3
      Ai.AgentServer/Controllers/FccController.cs
  2. 2 1
      Ai.AgentServer/appsettings.json

+ 3 - 3
Ai.AgentServer/Controllers/FccController.cs

@@ -53,10 +53,10 @@ namespace Ai.AgentServer.Controllers
                 //讯飞调用
                  reponse = await _server.SendCommon(body);
             }
-           
 
-            //格灵调用
-            reponse.MQTT_Public=await _mqttServer.PublicMessage(body.GLId,body.Type, body.BuildDto(2));
+          
+            ////格灵调用
+            //reponse.MQTT_Public=await _mqttServer.PublicMessage(body.GLId,body.Type, body.BuildDto(2));
 
             reponse.DataJson = body.BuildDto();
             return reponse;

+ 2 - 1
Ai.AgentServer/appsettings.json

@@ -6,12 +6,13 @@
     }
   },
   "AllowedHosts": "*",
-  "XunFei": "",
+  "XunFei": "http://117.48.149.67:8899",
   "GeLin": "",
   "Sysurl": "http://192.168.0.53:9001",
 
 
   "MqttSettings": {
+    "IsUse": "false",
     "Name": "Mqtt",
     "Host": "192.168.0.166",
     "Port": "1883",