liqian il y a 2 ans
Parent
commit
e0e473843a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      recommend.py

+ 1 - 1
recommend.py

@@ -610,7 +610,7 @@ def get_recommend_params(recommend_type, ab_exp_info, ab_info_data, page_type=0)
     # APP实验组
     if ab_info_data:
         ab_info_app = {}
-        for page_code, item in ab_info_data.items():
+        for page_code, item in json.loads(ab_info_data).items():
             if not item:
                 continue
             ab_info_code = item.get('eventId', None)