From 011b0cc918bfa0e36a9ad4a0f45c18b801815920 Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期四, 15 六月 2023 21:00:36 +0800 Subject: [PATCH] faeture 历史消息 --- EZSDK/EZSDK/EZ/Global/HDLEZConstants.m | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/EZSDK/EZSDK/EZ/Global/HDLEZConstants.m b/EZSDK/EZSDK/EZ/Global/HDLEZConstants.m index 365ba78..effd2de 100755 --- a/EZSDK/EZSDK/EZ/Global/HDLEZConstants.m +++ b/EZSDK/EZSDK/EZ/Global/HDLEZConstants.m @@ -307,4 +307,14 @@ } return res; } + +/* 灏唍il杞负"" + */ ++(NSString*)turnNil:(NSString *)str{ + if (str == nil || str == NULL) { + return @""; + }else{ + return str; + } +} @end -- Gitblit v1.8.0