|
|
@@ -122,7 +122,7 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
122
|
122
|
if (dModel != null)
|
|
123
|
123
|
{
|
|
124
|
124
|
|
|
125
|
|
- if (!Utils.IsNumeric(telphone.Trim()))
|
|
|
125
|
+ if (!Validate.IsNumber(telphone.Trim()))
|
|
126
|
126
|
{
|
|
127
|
127
|
res = Error("电话号码必须为数字!");
|
|
128
|
128
|
return res;
|
|
|
@@ -144,7 +144,7 @@ namespace CallCenterApi.Interface.Controllers.tel
|
|
144
|
144
|
else
|
|
145
|
145
|
{
|
|
146
|
146
|
Model.T_Call_ZBDH dModel = new Model.T_Call_ZBDH();
|
|
147
|
|
- if (!Utils.IsNumeric(telphone.Trim()))
|
|
|
147
|
+ if (!Validate.IsNumber(telphone.Trim()))
|
|
148
|
148
|
{
|
|
149
|
149
|
res = Error("电话号码必须为数字!");
|
|
150
|
150
|
return res;
|