liyuanyuan 2 anni fa
parent
commit
c3b611b7df

+ 1 - 1
RMYY_CallCenter_Api/Common/InvokeZD.cs

37
 
37
 
38
             var result = client.PostAsync(url, content).Result.Content.ReadAsStringAsync().Result;
38
             var result = client.PostAsync(url, content).Result.Content.ReadAsStringAsync().Result;
39
             JObject jo = (JObject)JsonConvert.DeserializeObject(result);
39
             JObject jo = (JObject)JsonConvert.DeserializeObject(result);
40
-            string code = jo["success"].ToString();
40
+            string code = jo["success"].ToString().ToLower();
41
             if (code == "true")
41
             if (code == "true")
42
                 return jo["result"].ToString();
42
                 return jo["result"].ToString();
43
             else
43
             else

+ 2 - 2
RMYY_CallCenter_Api/Configs/system.config

103
 
103
 
104
   <add key="zddomainUrl" value="http://dev.zdha.cn"/>  
104
   <add key="zddomainUrl" value="http://dev.zdha.cn"/>  
105
   <add key="zdappKey" value="dev"/>
105
   <add key="zdappKey" value="dev"/>
106
-  <add key="zdappSecret" value="uvMIVfC+TRPJJipOtydJO/65WbfUZC/L"/>
107
-  <add key="zdtokenurl" value="http://39.107.58.45:7788/hyht/access/author/getToken"/>
106
+  <add key="zdappSecret" value="nksO/xSVtA1MAZbq9D5ZUZT9sz7ZREJc"/>
107
+  <add key="zdtokenurl" value="http://39.107.58.45:7788/hyht/access/getToken"/>
108
  
108
  
109
   <add key="zdaddurl" value="http://39.107.58.45:7788/hyht/access/incident/add "/>
109
   <add key="zdaddurl" value="http://39.107.58.45:7788/hyht/access/incident/add "/>
110
   <add key="zdrevokeurl" value="http://39.107.58.45:7788/hyht/access/incident/close"/>
110
   <add key="zdrevokeurl" value="http://39.107.58.45:7788/hyht/access/incident/close"/>

+ 5 - 2
RMYY_CallCenter_Api/Controllers/FaultRepairController.cs

1029
                     Dictionary<string, object> dic = new Dictionary<string, object>();
1029
                     Dictionary<string, object> dic = new Dictionary<string, object>();
1030
                     dic.Add("incidentNo", model.F_OrderNo);
1030
                     dic.Add("incidentNo", model.F_OrderNo);
1031
                     dic.Add("userNo", User.F_UserCode);
1031
                     dic.Add("userNo", User.F_UserCode);
1032
-                    if (!string.IsNullOrEmpty(BackReason))
1032
+                    if (string.IsNullOrEmpty(BackReason))
1033
                     {
1033
                     {
1034
                         BackReason = "无需再进行处理";
1034
                         BackReason = "无需再进行处理";
1035
                     }
1035
                     }
2227
                                     dic.Add("userNo", User.F_UserCode);
2227
                                     dic.Add("userNo", User.F_UserCode);
2228
                                     dic.Add("satisfactionType",4);
2228
                                     dic.Add("satisfactionType",4);
2229
                                     dic.Add("solveState", 1);
2229
                                     dic.Add("solveState", 1);
2230
-                                    dic.Add("userSay", SX + "小时未评价自动评价满意");                   
2230
+                                    dic.Add("userSay", SX + "小时未评价自动评价满意");
2231
+                                    dic.Add("confirmType", 1);
2231
                                     InvokeZD.ZDEvaluate(dic);
2232
                                     InvokeZD.ZDEvaluate(dic);
2232
                                 }
2233
                                 }
2233
                                 catch (Exception)
2234
                                 catch (Exception)
2647
                                 dic.Add("userNo", User.F_UserCode);
2648
                                 dic.Add("userNo", User.F_UserCode);
2648
                                 dic.Add("satisfactionType", satisfactionType);
2649
                                 dic.Add("satisfactionType", satisfactionType);
2649
                                 dic.Add("solveState", 1);
2650
                                 dic.Add("solveState", 1);
2651
+                                dic.Add("confirmType", 1);
2652
+                                
2650
                                 if (string.IsNullOrEmpty(EvaluateContent))
2653
                                 if (string.IsNullOrEmpty(EvaluateContent))
2651
                                 {
2654
                                 {
2652
                                     EvaluateContent = "   ";
2655
                                     EvaluateContent = "   ";