This commit is contained in:
1 parent
9c10d38cb6
commit
0b119d3041
1 file changed
+4
-1
+4
-1
@@ -167,7 +167,10 @@ def do_bitable_record_add(data) -> None:
|
||||
def do_card_action_trigger(data: P2CardActionTrigger) -> P2CardActionTriggerResponse:
|
||||
print("==================卡片回调====================")
|
||||
print(lark.JSON.marshal(data))
|
||||
resp = {"toast": {"type": "info", "content": "卡片回传成功 from python sdk"}}
|
||||
print("==================数据解密====================")
|
||||
data = json.loads(lark.JSON.marshal(data))
|
||||
print(data)
|
||||
resp = {"toast": {"type": "info", "content": "提交成功"}}
|
||||
return P2CardActionTriggerResponse(resp)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user