|
|
@@ -56,7 +56,7 @@ class AutoReplyCardsMonitorUtils(AutoReplyCardsMonitorConst):
|
|
|
return result
|
|
|
|
|
|
def extract_reply_cards(self, msg_type, root):
|
|
|
- FIELDS = {
|
|
|
+ fields = {
|
|
|
"title": ".//title",
|
|
|
"page_path": ".//pagepath",
|
|
|
"mini_program": ".//sourcedisplayname",
|
|
|
@@ -65,7 +65,7 @@ class AutoReplyCardsMonitorUtils(AutoReplyCardsMonitorConst):
|
|
|
"aes_key": "appmsg/appattach/aeskey",
|
|
|
}
|
|
|
|
|
|
- data = self.parse_fields(root, FIELDS)
|
|
|
+ data = self.parse_fields(root, fields)
|
|
|
data["msg_type"] = msg_type
|
|
|
return data
|
|
|
|