接口地址:https://docs.bt.cn/api/data/getData
请求体:action=getData&limit=10&list=true&p=1&request_time=1779972997&request_token=&table=sites&type=-1
接口响应:"Traceback (most recent call last):\n File \"/www/server/panel/class/data.py\", line 509, in getData\n for i in range(len(data['data'])):\nTypeError: list indices must be integers or slices, not str\n"
还有能不能加个统一的状态码用于判断调用是否成功
|
|