zhupei лет назад: 4
Родитель
Сommit
c6a0e2d0b0

+ 0 - 3
RMYY_CallCenter_Api.Utility/RMYY_CallCenter_Api.Utility.csproj

@@ -83,13 +83,10 @@
83 83
     <Compile Include="Helper\ConfigHelper.cs" />
84 84
     <Compile Include="Extention\Json.cs" />
85 85
     <Compile Include="Properties\AssemblyInfo.cs" />
86
-    <Compile Include="Request\RequestString.cs" />
87
-    <Compile Include="Request\TypeConverter.cs" />
88 86
     <Compile Include="Tree\Tree.cs" />
89 87
     <Compile Include="Tree\TreeModel.cs" />
90 88
     <Compile Include="Tree\TreeSelect.cs" />
91 89
     <Compile Include="Tree\TreeSelectModel.cs" />
92
-    <Compile Include="Web\WebHelper.cs" />
93 90
   </ItemGroup>
94 91
   <ItemGroup>
95 92
     <None Include="packages.config" />

+ 4 - 4
RMYY_CallCenter_Api/Controllers/CallOutOptController.cs

@@ -16,8 +16,8 @@ namespace RMYY_CallCenter_Api.Controllers
16 16
             ActionResult res = NoToken("未知错误,请重新登录");
17 17
             if (Request.IsAuthenticated)
18 18
             {
19
-                string phone1 = RequestString.ToDBC(RequestString.RemoveNotNumber(WebHelper.NoHtml(phone)));
20
-                string tophone = phone1;
19
+                //string phone1 = RequestString.ToDBC(RequestString.RemoveNotNumber(WebHelper.NoHtml(phone)));
20
+                string tophone = phone;
21 21
                 string zipcode = ""; string bfix = ""; string wfix = ""; string fix = "";
22 22
                 string userseatgroupid = User.F_SeatGroup.ToString();
23 23
                 if (userseatgroupid != "" && userseatgroupid != "0")
@@ -30,7 +30,7 @@ namespace RMYY_CallCenter_Api.Controllers
30 30
                         wfix = smodel.F_WHWDKey.Trim();
31 31
                     }
32 32
                 }
33
-                int zip = GetZipCodeByPhone(phone1, zipcode);
33
+                int zip = GetZipCodeByPhone(phone, zipcode);
34 34
                 #region 
35 35
                 if (zip == 1)
36 36
                 {//手机本地号码
@@ -41,7 +41,7 @@ namespace RMYY_CallCenter_Api.Controllers
41 41
                     fix = wfix;
42 42
                 }
43 43
                 else {
44
-                    tophone = phone1.TrimStart('0');
44
+                    tophone = phone.TrimStart('0');
45 45
                     if (zip == 3)
46 46
                     {//本地固话去0加9 比如:988888517,937188888517
47 47
                         fix = bfix;