优化费用总额的解析

This commit is contained in:
2024-07-20 15:52:16 +08:00
parent a71e64c24f
commit d7ad7380a5
5 changed files with 170 additions and 22 deletions

7
util/string_util.py Normal file
View File

@@ -0,0 +1,7 @@
def blank(string):
"""
判断字符串是否为空或者纯空格
:param string: 字符串
:return: 字符串是否为空或者纯空格
"""
return not string or string.isspace()