|
|
@@ -114,14 +114,14 @@ namespace CallCenterApi.Interface.Controllers
|
|
114
|
114
|
sModel.F_ZXZCode = input.ZXZCode.Trim();
|
|
115
|
115
|
else
|
|
116
|
116
|
{
|
|
117
|
|
- res = Error("编号不能为空");
|
|
|
117
|
+ res = Error("坐席组编号不能为空");
|
|
118
|
118
|
return res;
|
|
119
|
119
|
}
|
|
120
|
120
|
if (input.ZXZName != null)
|
|
121
|
121
|
sModel.F_ZXZName = input.ZXZName.Trim();
|
|
122
|
122
|
else
|
|
123
|
123
|
{
|
|
124
|
|
- res = Error("名称不能为空");
|
|
|
124
|
+ res = Error("坐席组名称不能为空");
|
|
125
|
125
|
return res;
|
|
126
|
126
|
}
|
|
127
|
127
|
if (input.ZXAtt != null)
|
|
|
@@ -183,6 +183,14 @@ namespace CallCenterApi.Interface.Controllers
|
|
183
|
183
|
{
|
|
184
|
184
|
if (Request.IsAuthenticated)
|
|
185
|
185
|
{
|
|
|
186
|
+ if (!Validate.IsNumber(input.WHWDKey.ToString()))
|
|
|
187
|
+ {
|
|
|
188
|
+ return Error("外呼外地前缀必须为数字");
|
|
|
189
|
+ }
|
|
|
190
|
+ if (!Validate.IsNumber(input.WHBDKey.ToString()))
|
|
|
191
|
+ {
|
|
|
192
|
+ return Error("外呼本地前缀必须为数字");
|
|
|
193
|
+ }
|
|
186
|
194
|
if (input.ZXZID <= 0)
|
|
187
|
195
|
return Error("请选择要编辑的坐席组");
|
|
188
|
196
|
|