|
|
@@ -54,7 +54,8 @@ class Jieshuqiupipeline(object):
|
|
|
res = Helper.async_post(MATCH_STATUS, status_dict)
|
|
|
if res:
|
|
|
if "成功" in res:
|
|
|
- self.db.status35.insert(data)
|
|
|
+ # self.db.match_status35.insert(data)
|
|
|
+ self.db.match_status35.update({'match_id': match_id}, {'$set': data}, upsert=True)
|
|
|
self.rls.srem('hg3535.gunqiu.ids', match_id)
|
|
|
logger.info('{},赛事结果状态交成功, {}'.format(game_code, res))
|
|
|
logger.info(status_dict)
|