2 Commits 5fd249df95 ... afb044f4a0

Auteur SHA1 Bericht Datum
  devin.zhu@doverfs.com afb044f4a0 地址信息 7 maanden geleden
  devin.zhu@doverfs.com 2f55a20717 修改地址 7 maanden geleden

+ 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;

+ 1 - 1
Ai.AgentServer/Server/HttpServer.cs

@@ -26,7 +26,7 @@ namespace Ai.AgentServer.Server
         {
             if (request == null || string.IsNullOrWhiteSpace(request.Type)) return new FuelReponse(5001, request);
             var client = _httpClientFactory.CreateClient("FuelClient");
-            var xunfeiUrl = "http://211.91.71.15:8899";
+            var xunfeiUrl = "http://117.48.149.67:8899";
             //配置文件读取
             if (!string.IsNullOrWhiteSpace(configuration1.GetSection("XunFei").Value))
             {

+ 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",