Procházet zdrojové kódy

Merge branch 'master' of http://192.168.1.222:3000/duhongyu/Anyang_api

duhongyu %!s(int64=4) %!d(string=před) roky
rodič
revize
850dcd236d

+ 10 - 10
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/DepartmentController.cs

@@ -11,7 +11,7 @@ using System.Web.Mvc;
11 11
 
12 12
 namespace CallCenterApi.Interface.Controllers
13 13
 {
14
-    
14
+    [Authority]
15 15
     public class DepartmentController : BaseController
16 16
     {
17 17
         private BLL.T_Sys_Department departmentBLL = new BLL.T_Sys_Department();
@@ -85,7 +85,7 @@ namespace CallCenterApi.Interface.Controllers
85 85
         /// 获取二级部门列表
86 86
         /// </summary>
87 87
         /// <returns></returns>
88
-        [Authority]
88
+        //[Authority]
89 89
         public ActionResult GetSecondDeptList()
90 90
         {
91 91
             int userId = Utils.StrToInt(User.UserData["F_UserID"], 0);
@@ -108,7 +108,7 @@ namespace CallCenterApi.Interface.Controllers
108 108
         /// 获取部门列表
109 109
         /// </summary>
110 110
         /// <returns></returns>
111
-        [Authority]
111
+        //[Authority]
112 112
         public ActionResult GetDeptListtree(int pId = 0)
113 113
         {
114 114
             DataTable dt = new DataTable();
@@ -130,7 +130,7 @@ namespace CallCenterApi.Interface.Controllers
130 130
         /// <param name="tab"></param>
131 131
         /// <param name="parentid"></param>
132 132
         /// <returns></returns>
133
-        [Authority]
133
+        //[Authority]
134 134
         private List<Model.TreeModel> BindTree(DataTable tab, string parentid)
135 135
         {
136 136
             DataTable tab2 = new DataTable();
@@ -168,7 +168,7 @@ namespace CallCenterApi.Interface.Controllers
168 168
         /// </summary>
169 169
         /// <param name="deptId"></param>
170 170
         /// <returns></returns>
171
-        [Authority]
171
+        //[Authority]
172 172
         public ActionResult GetDept()
173 173
         {
174 174
             int id = RequestString.GetInt("id", 0);
@@ -224,7 +224,7 @@ namespace CallCenterApi.Interface.Controllers
224 224
         /// </summary>
225 225
         /// <param name="input"></param>
226 226
         /// <returns></returns>
227
-        [Authority]
227
+        //[Authority]
228 228
         [HttpPost]
229 229
         public ActionResult AddDept()
230 230
         {
@@ -333,7 +333,7 @@ namespace CallCenterApi.Interface.Controllers
333 333
                 }
334 334
             }
335 335
         }
336
-        [Authority]
336
+        //[Authority]
337 337
         [HttpPost]
338 338
         public ActionResult UpdateDeptRemark()
339 339
         {
@@ -380,7 +380,7 @@ namespace CallCenterApi.Interface.Controllers
380 380
         /// </summary>
381 381
         /// <param name="ids"></param>
382 382
         /// <returns></returns>
383
-        [Authority]
383
+        //[Authority]
384 384
         public ActionResult DelDept(string[] ids)
385 385
         {
386 386
             if (ids == null || ids.Length <= 0)
@@ -401,7 +401,7 @@ namespace CallCenterApi.Interface.Controllers
401 401
         /// </summary>
402 402
         /// <param name="ids"></param>
403 403
         /// <returns></returns>
404
-        [Authority]
404
+        //[Authority]
405 405
         public ActionResult DelDepts(int id)
406 406
         {
407 407
             if (id > 0)
@@ -419,7 +419,7 @@ namespace CallCenterApi.Interface.Controllers
419 419
             }
420 420
 
421 421
         }
422
-        [Authority]
422
+        //[Authority]
423 423
         public bool DelDeptsByPId(int id)
424 424
         {
425 425
             bool bl = true;

+ 5 - 5
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/DictionaryController.cs

@@ -12,7 +12,7 @@ using System.Web.Mvc;
12 12
 
13 13
 namespace CallCenterApi.Interface.Controllers
14 14
 {
15
-
15
+    [Authority]
16 16
     public class DictionaryController : BaseController
17 17
     {
18 18
         private BLL.T_Sys_DictionaryValue dictionaryValueBLL = new BLL.T_Sys_DictionaryValue();
@@ -101,7 +101,7 @@ namespace CallCenterApi.Interface.Controllers
101 101
 
102 102
         #region 字典值操作
103 103
 
104
-        [Authority]
104
+        //[Authority]
105 105
         /// <summary>
106 106
         /// 获取字典值列表
107 107
         /// </summary>
@@ -160,7 +160,7 @@ namespace CallCenterApi.Interface.Controllers
160 160
             return Content(obj.ToJson());
161 161
 
162 162
         }
163
-        //[Authority]
163
+        ////[Authority]
164 164
         /// <summary>
165 165
         /// 获取字典值列表
166 166
         /// </summary>
@@ -256,7 +256,7 @@ namespace CallCenterApi.Interface.Controllers
256 256
 
257 257
         }
258 258
 
259
-        [Authority]
259
+        //[Authority]
260 260
         /// <summary>
261 261
         /// 添加/编辑字典值
262 262
         /// </summary>
@@ -348,7 +348,7 @@ namespace CallCenterApi.Interface.Controllers
348 348
 
349 349
         }
350 350
 
351
-        [Authority]
351
+        //[Authority]
352 352
         /// <summary>
353 353
         /// 删除字典值
354 354
         /// </summary>

File diff suppressed because it is too large
+ 6 - 6
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs


binární
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Lib/Aspose.Words.dll