格式化集思录返回的json数据,以字典形式保存
(fundbjson)
| 92 | |
| 93 | @staticmethod |
| 94 | def formatfundbjson(fundbjson): |
| 95 | """格式化集思录返回的json数据,以字典形式保存""" |
| 96 | d = {} |
| 97 | for row in fundbjson['rows']: |
| 98 | cell = row['cell'] |
| 99 | fundb_id = cell['fundb_id'] |
| 100 | d[fundb_id] = cell |
| 101 | return d |
| 102 | |
| 103 | @staticmethod |
| 104 | def formatetfindexjson(fundbjson): |