跳到主要内容
版本:latest

get_free_total_status

查询指定网站或全局的免费流量限制开关状态。

  • 路由POST /site
  • actionget_free_total_status

输入参数

参数名称必选类型描述
actionString固定值 get_free_total_status
site_idString网站 ID,传 "global" 查询全局

输出参数

参数名称类型描述
statusBooleantrue 查询成功
dataObject{"status": true/false}
msgString结果消息

示例

请求

POST /site HTTP/1.1
Host: 192.168.168.213:8888
Content-Type: application/x-www-form-urlencoded

action=get_free_total_status&site_id=1

响应

{"status": true, "data": {"status": true}, "msg": "获取成功"}

相关接口