This commit is contained in:
1 parent
0b119d3041
commit
c9230846b3
1 file changed
+7
-4
+7
-4
@@ -165,11 +165,14 @@ def do_bitable_record_add(data) -> None:
|
||||
|
||||
|
||||
def do_card_action_trigger(data: P2CardActionTrigger) -> P2CardActionTriggerResponse:
|
||||
print("==================卡片回调====================")
|
||||
print(lark.JSON.marshal(data))
|
||||
print("==================数据解密====================")
|
||||
lark.logger.info("==================卡片回调====================")
|
||||
lark.logger.info(lark.JSON.marshal(data))
|
||||
lark.logger.info("==================数据解密====================")
|
||||
data = json.loads(lark.JSON.marshal(data))
|
||||
print(data)
|
||||
open_id = data.event.operator.open_id
|
||||
data.event.action.form_value
|
||||
|
||||
|
||||
resp = {"toast": {"type": "info", "content": "提交成功"}}
|
||||
return P2CardActionTriggerResponse(resp)
|
||||
|
||||
|
||||
Reference in new issue
Block a user