Commit 0631dd0b by xuxu

修改传回参数为null的情况

parent f0cc3009
......@@ -28,11 +28,11 @@ def recommend_function(select_data):
no_choice = []
data = select_data['data']
for bussiness_type in data:
for choice_type in data[bussiness_type]:
print("choice_type",choice_type)
if str(choice_type['isChoice']) == 'False':
no_choice.append(choice_type['name'])
if data[bussiness_type] != None:
for choice_type in data[bussiness_type]:
print("choice_type",choice_type)
if str(choice_type['isChoice']) == 'False':
no_choice.append(choice_type['name'])
print("用户未选择的资质=============",no_choice)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment