|
|
@@ -202,7 +202,7 @@ def fetch_wx_room_list(request):
|
202
|
202
|
if rooms.count() != 0:
|
203
|
203
|
start = int(rooms[0].room_id) - 1
|
204
|
204
|
|
205
|
|
- roominfos = requests.post(url=('http://api.weixin.qq.com/wxa/business/getliveinfo?access_token='+token), json={'start': start, 'limit': 100})
|
|
205
|
+ roominfos = requests.post(url=('http://api.weixin.qq.com/wxa/business/getliveinfo?access_token='+token), json={'start': 0, 'limit': 100})
|
206
|
206
|
|
207
|
207
|
roominfos = json.loads(roominfos.text).get('room_info', {})
|
208
|
208
|
for roominfo in roominfos:
|