瀏覽代碼

调整设备型号验证

fly 2 年之前
父節點
當前提交
50e119009b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Service/ConnectService.cs

+ 2 - 1
Service/ConnectService.cs

@@ -73,7 +73,8 @@ namespace WingDeviceService.Service
                 var deviceModelList = await _deviceInfoDBServiceProxy.FindDictionaryItemsAsync(new FindDictionaryItemsDBRequest { DictionaryType = (int)DictionaryTypeEnum.DeviceModel });
                 if (!deviceModelList.Select(x => x.Value).Contains(request.DeviceModel))
                 {
-                    ThrowCustomerException(CustomerRpcCode.DeviceModelError, "DeviceModel error");
+                    //ThrowCustomerException(CustomerRpcCode.DeviceModelError, "DeviceModel error");
+                    Logger.WriteLineWarn(CustomerRpcCode.DeviceModelError.ToString()+"_"+request.DeviceModel);
                 }
                 #endregion