Explorar el Código

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

yangyang hace 3 meses
padre
commit
f252fa0c5d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      IotPlatformClient/IotPlatformClient/PlatformSelect.cs

+ 1 - 1
IotPlatformClient/IotPlatformClient/PlatformSelect.cs

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