List News 获取News列表

POST /v1/platform/news/list

  • =》
{ 
  "token": "xxx", //必填
  "lang": "en", //必填
  "id": 0, //默认为0
  "category": "xxx", //默认为空
  "status": 0, //0表示所有,其它数值可以单个使用(支持按位或操作查询)
  "offset": 0, //分页或更多使用,为空时,默认为0
  "limit": 10  //每次拉取条数,为空时,默认为10,最大100
}
  • 《=
{
  "success": "OK",
  "data": {
    "total": 1,
    "list": [{
      "id": 1003,
      "raw_id": "123",
      "category": "xxx",
      "title": "xxx",
      "summary": "xxx",
      "cover": "https://xxx.com/i/123/xxx.jpg",
      "source": "xxx",
      "url": "https://xxx.com",
      "status": 1,
      "updated_at": 1704715490,
      "lang": "en"
    }]
  }
}