|
|
@@ -9944,11 +9944,24 @@ BType, case when (isnull(BusinessType,0)>0 or isnull(F_ServiceType,0)>0) then '
|
|
9944
|
9944
|
}
|
|
9945
|
9945
|
|
|
9946
|
9946
|
|
|
|
9947
|
+ //来电按钮统计 当天的数据
|
|
|
9948
|
+ [HttpGet]
|
|
|
9949
|
+ public string GetPressKeyValue()
|
|
|
9950
|
+ {
|
|
|
9951
|
+ ResponseData dataModel = new ResponseData();
|
|
|
9952
|
+ dataModel.code = 0;
|
|
|
9953
|
+ dataModel.data = workorderBLL.GetPressKeyValue();
|
|
|
9954
|
+ return JsonConvert.SerializeObject(dataModel);
|
|
|
9955
|
+
|
|
|
9956
|
+ }
|
|
|
9957
|
+
|
|
|
9958
|
+
|
|
9947
|
9959
|
|
|
9948
|
9960
|
// 下 三 话务自动回复数据
|
|
9949
|
9961
|
|
|
9950
|
9962
|
|
|
9951
|
|
- // 第三张。微信相关的
|
|
|
9963
|
+ // 第三张。
|
|
|
9964
|
+ //左 微信相关的
|
|
9952
|
9965
|
|
|
9953
|
9966
|
/// <summary>
|
|
9954
|
9967
|
/// 微信自动回复数据
|
|
|
@@ -9964,7 +9977,7 @@ BType, case when (isnull(BusinessType,0)>0 or isnull(F_ServiceType,0)>0) then '
|
|
9964
|
9977
|
|
|
9965
|
9978
|
string Url = "http://rexian.zzmetro.com/api/external/wxautoreply?begin="+ begintime+ "&end="+ endtime;
|
|
9966
|
9979
|
|
|
9967
|
|
- result= WebHelper.HttpWebRequest(Url);
|
|
|
9980
|
+ result= WebHelper.HttpWebRequest(Url);
|
|
9968
|
9981
|
result = Regex.Unescape(result);
|
|
9969
|
9982
|
|
|
9970
|
9983
|
JObject jo = (JObject)JsonConvert.DeserializeObject(result);
|
|
|
@@ -10064,15 +10077,53 @@ BType, case when (isnull(BusinessType,0)>0 or isnull(F_ServiceType,0)>0) then '
|
|
10064
|
10077
|
dic.Add("乘车指南", cczn);
|
|
10065
|
10078
|
dic.Add("新闻公告", xwgg);
|
|
10066
|
10079
|
dic.Add("在线购票", zxgp);
|
|
10067
|
|
- dic.Add("常见咨询问题", cjcxwt);
|
|
10068
|
|
-
|
|
10069
|
|
-
|
|
|
10080
|
+ dic.Add("常见咨询问题", cjcxwt);
|
|
10070
|
10081
|
|
|
10071
|
10082
|
return JsonConvert.SerializeObject(dic);
|
|
10072
|
10083
|
}
|
|
|
10084
|
+
|
|
|
10085
|
+ //右 1 微信当月统计
|
|
|
10086
|
+ [HttpGet]
|
|
|
10087
|
+ public string WXCurrentMonth()
|
|
|
10088
|
+ {
|
|
|
10089
|
+ string result = "";
|
|
|
10090
|
+ string Url = "http://rexian.zzmetro.com/api/external/wxcurrentmonth" ;
|
|
|
10091
|
+
|
|
|
10092
|
+ result = WebHelper.HttpWebRequest(Url);
|
|
|
10093
|
+ result = Regex.Unescape(result);
|
|
|
10094
|
+ return result;
|
|
|
10095
|
+
|
|
|
10096
|
+
|
|
|
10097
|
+ }
|
|
|
10098
|
+
|
|
|
10099
|
+ //右 下1 微信年度统计
|
|
|
10100
|
+ [HttpGet]
|
|
|
10101
|
+ public string WXYears()
|
|
|
10102
|
+ {
|
|
|
10103
|
+ string result = "";
|
|
|
10104
|
+ string Url = "http://rexian.zzmetro.com/api/external/wxyear";
|
|
|
10105
|
+
|
|
|
10106
|
+ result = WebHelper.HttpWebRequest(Url);
|
|
|
10107
|
+ result = Regex.Unescape(result);
|
|
|
10108
|
+ return result;
|
|
|
10109
|
+
|
|
|
10110
|
+ }
|
|
|
10111
|
+ //右 下2.微信季度统计
|
|
|
10112
|
+ [HttpGet]
|
|
|
10113
|
+ public string WXQuarteres()
|
|
|
10114
|
+ {
|
|
|
10115
|
+ string result = "";
|
|
|
10116
|
+ string Url = "http://rexian.zzmetro.com/api/external/wxquarter";
|
|
|
10117
|
+
|
|
|
10118
|
+ result = WebHelper.HttpWebRequest(Url);
|
|
|
10119
|
+ result = Regex.Unescape(result);
|
|
|
10120
|
+ return result;
|
|
|
10121
|
+
|
|
|
10122
|
+ }
|
|
|
10123
|
+
|
|
10073
|
10124
|
#endregion
|
|
10074
|
10125
|
|
|
10075
|
10126
|
}
|
|
10076
|
|
-
|
|
|
10127
|
+
|
|
10077
|
10128
|
|
|
10078
|
10129
|
}
|