فهرست منبع

进件子商户bug

lcl 5 ماه پیش
والد
کامیت
ebe27fa066
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Areas/Api/Controllers/Main/MerchantAddInfoController.cs

+ 2 - 2
Areas/Api/Controllers/Main/MerchantAddInfoController.cs

@@ -259,10 +259,10 @@ namespace MySystem.Areas.Api.Controllers.v1
                     Dictionary<string, object> Fiel = new Dictionary<string, object>();
                     Fiel.Add("CertMerchantName", CertMerchantName);
                     Fiel.Add("OutMchtNo", MerchantAddInfoService.Query(MerchantAddInfoId).OutMchtNo); //费率
-                    int AddInfoId = (int)MerchantAddInfoService.Add(Fiel, false).Data;
+                    MerchantAddInfoId = (int)MerchantAddInfoService.Add(Fiel, false).Data;
 
                     Fiel = new Dictionary<string, object>();
-                    Fiel.Add("Id", AddInfoId);
+                    Fiel.Add("Id", MerchantAddInfoId);
                     Fiel.Add("UserId", UserId);
                     Fiel.Add("Name", CertMerchantName);
                     MerchantInfoService.Add(Fiel, false);