Browse Source

解决客户登录后平台选择界面列表显示的所有客户信息不是当前客户信息的BUG

yangyang 3 months ago
parent
commit
f252fa0c5d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      IotPlatformClient/IotPlatformClient/PlatformSelect.cs

+ 1 - 1
IotPlatformClient/IotPlatformClient/PlatformSelect.cs

@@ -53,7 +53,7 @@ namespace IotPlatformClient
             {
             {
                 BaseParm baseParm = new BaseParm();
                 BaseParm baseParm = new BaseParm();
                 baseParm.Param = txt_key.Text.Trim();
                 baseParm.Param = txt_key.Text.Trim();
-                baseParm.Int2 = customerInfo.CustomerId;
+                baseParm.CustomerId = customerInfo.CustomerId;
                 string postJson = JsonTools.ObjectToJson(baseParm);
                 string postJson = JsonTools.ObjectToJson(baseParm);
 
 
                 AjaxResult result = await HttpHelper.PostAsync(ApiKeyHelper.GetPlatformDeviceList, postJson);
                 AjaxResult result = await HttpHelper.PostAsync(ApiKeyHelper.GetPlatformDeviceList, postJson);