Przeglądaj źródła

微信推送工单提醒

duhongyu 5 lat temu
rodzic
commit
1be1777284

+ 4 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Configs/system.config

@@ -41,5 +41,8 @@
41 41
   <add key="password" value="Bing123456" />
42 42
   <!-- 文件保存位置 -->
43 43
   <add key="saveloc" value="\upload_wav\" />
44
-  
44
+   <!-- 短信配置 -->
45
+  <add key="sms" value="1" />
46
+  <!-- 设置微信 消息跳转url MessageUrl -->
47
+  <add key="MessageUrl" value="http://xinxiangxlx.800100.com.cn/index.html?menucode=DETA" />
45 48
 </appSettings>

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/report/WOReportController.cs

@@ -4376,7 +4376,7 @@ question, int page = 1, int limit = 10)
4376 4376
         /// <returns></returns>
4377 4377
         private float   TimeToOver(int id,int time)
4378 4378
         {
4379
-            var itemlasts = itembll.GetModelList("  F_ItemType=" + (int)EnumItemType.deal + " and  F_WoID=" + id + "order by F_ID desc ");
4379
+            var itemlasts = itembll.GetModelList("  F_ItemType=" + (int)EnumItemType.deal + " and  F_WoID=" + id + "");
4380 4380
             string time1 = "", time2 = ""; int x = 0, y = 0;
4381 4381
            
4382 4382
             if (itemlasts.Count > 0)

+ 2 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/weixin/WxLoginController.cs

@@ -1780,6 +1780,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
1780 1780
                     FileUrl = GetFileData(model.F_Files, configfj.F_ParamValue);
1781 1781
                 }
1782 1782
                 var ua = userAccountBLL.GetModelList(" F_WxOpenId='" + OpenId + "'").FirstOrDefault();
1783
+          
1783 1784
                 if (list.Count > 0)
1784 1785
                 {
1785 1786
                     List<WorkOrderNewInput> Input = modeltooip(list, ua);
@@ -1793,7 +1794,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
1793 1794
                             FileUrl,
1794 1795
                             total = itemlasts,
1795 1796
                         };
1796
-
1797
+                       
1797 1798
                         return Content(obj.ToJson());
1798 1799
                     }
1799 1800
                     else