|
|
@@ -360,7 +360,7 @@ namespace RMYY_CallCenter_Api.Controllers
|
|
360
|
360
|
{
|
|
361
|
361
|
state = "success",
|
|
362
|
362
|
message = "成功",
|
|
363
|
|
- allButtons = GetButtons(model.F_State.Value, User.F_RoleCode),
|
|
|
363
|
+ allButtons = GetButton1(model.F_State.Value, User.F_RoleCode),
|
|
364
|
364
|
model = model
|
|
365
|
365
|
};
|
|
366
|
366
|
return Content(obj.ToJson());
|
|
|
@@ -454,7 +454,7 @@ namespace RMYY_CallCenter_Api.Controllers
|
|
454
|
454
|
}
|
|
455
|
455
|
|
|
456
|
456
|
|
|
457
|
|
- public List<button> GetButtons(int state, string role)
|
|
|
457
|
+ public List<button> GetButton1(int state, string role)
|
|
458
|
458
|
{
|
|
459
|
459
|
List<button> buttons = new List<button>();
|
|
460
|
460
|
switch (state)
|