浏览代码

8..19文档

duhongyu 5 年之前
父节点
当前提交
cf16a4bffe

+ 10 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/LogController.cs

109
         /// <returns></returns>
109
         /// <returns></returns>
110
         public ActionResult CallOpt(string direct, string type, string cont)
110
         public ActionResult CallOpt(string direct, string type, string cont)
111
         {
111
         {
112
-            string usercode = User.UserData["F_UserCode"];
112
+            string usercode = "";
113
+            try
114
+            {
115
+                 usercode = User.UserData["F_UserCode"];
116
+            }
117
+            catch
118
+            {
119
+                return Success("token失效");
120
+            }
121
+           
113
             string strtype = type;
122
             string strtype = type;
114
             switch (type.ToLower())
123
             switch (type.ToLower())
115
             {
124
             {

+ 1 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

7346
 
7346
 
7347
                                 AssignedInfo.F_State = 1;//0草稿  1正式
7347
                                 AssignedInfo.F_State = 1;//0草稿  1正式
7348
                                 AssignedInfo.F_CreateUser = modelT_Bus_AssignedInfo.F_CreateUser;
7348
                                 AssignedInfo.F_CreateUser = modelT_Bus_AssignedInfo.F_CreateUser;
7349
-                                AssignedInfo.F_CreateTime = modelT_Bus_AssignedInfo.F_CreateTime;
7349
+                                AssignedInfo.F_CreateTime =DateTime .Now ;
7350
                                 AssignedInfo.F_IsDelete = 0;
7350
                                 AssignedInfo.F_IsDelete = 0;
7351
                                 AssignedInfo.F_IsOverdue = 0;
7351
                                 AssignedInfo.F_IsOverdue = 0;
7352
                                 AssignedInfo.F_IsSure = 0;
7352
                                 AssignedInfo.F_IsSure = 0;