fix some bugs
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-06-13 15:57:51 +08:00
1 parent b3f9e7b642
commit b02d2000d8
2 files changed
+36 -24

No files matched your search

+7 -1
View File
@@ -285,7 +285,7 @@ def get_record_creator_name_by_id(client, bitable_token, table_id, record_id):
# 处理业务结果
creator_customer = response.data.record.fields["创建人-售后专用"]
if not creator_customer:
if not creator_customer:
return []
return [item.get("name") for item in creator_customer]
@@ -312,3 +312,9 @@ if __name__ == "__main__":
.log_level(lark.LogLevel.DEBUG)
.build()
)
table_id = "tblvjiV4HB31FMgb"
catagory_table_record = {"RobotUuid": "2d8182fb-ecf1-4931-991a-543312384b6b"}
add_record(client, bitable_token, table_id, catagory_table_record)