Explorar o código

进件机构类型从redis获取

lcl hai 5 meses
pai
achega
4ebe06aef3
Modificáronse 1 ficheiros con 1 adicións e 8 borrados
  1. 1 8
      Areas/Api/Controllers/Main/MerchantAddInfoController.cs

+ 1 - 8
Areas/Api/Controllers/Main/MerchantAddInfoController.cs

@@ -371,14 +371,7 @@ namespace MySystem.Areas.Api.Controllers.v1
             Fields.Add("BrandId", BrandId); // 品牌(0 银联 1 好哒)
             Fields.Add("CybMakerCode", CybMakerCode); //创业帮创客编号
             Fields.Add("FeeRate", SettleFee); //费率
-            if(UserId == 2433)
-            {
-                Fields.Add("AgentName", "2"); //机构类型
-            }
-            else
-            {
-                Fields.Add("AgentName", function.CheckNull(RedisDbconn.Instance.Get<string>("PublicAgentName"))); //机构类型
-            }
+            Fields.Add("AgentName", function.CheckNull(RedisDbconn.Instance.Get<string>("PublicAgentName"))); //机构类型
             
             MerchantAddInfoId = (int)MerchantInfoUtil.EditMerchantInfo(MerchantAddInfoId, UserId, CertMerchantName, MobilePhone, BizAddressCode, BizStoreAddress, BindStatus, BrandId, CybMakerCode).Data;
             MerchantAddInfoUtil.EditMerchantAddInfo(Fields, MerchantAddInfoId);