Browse Source

号码归属地

duhongyu 4 years ago
parent
commit
34fca91e6a

+ 0 - 4
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/CallOutOptController.cs

110
                     }
110
                     }
111
                     else if (phone.Trim().Length < 11)
111
                     else if (phone.Trim().Length < 11)
112
                     {//号码小于11位,为本地
112
                     {//号码小于11位,为本地
113
-                        res = 1;
114
-                    }
115
-                    else if (phone.Trim().Length < 11)
116
-                    {//号码小于11位,为本地
117
                         res = 3;
113
                         res = 3;
118
                     }
114
                     }
119
                     else if (phone.Trim().Length > 11 && phone.Substring(0, 4).Equals(zipcode))
115
                     else if (phone.Trim().Length > 11 && phone.Substring(0, 4).Equals(zipcode))