跳转到主要内容

删除链接

接口说明

  • 请求地址:http://domain.com/index.php?c=api&method=del_link
  • 请求方法:POST

请求参数

参数名称 示例值 类型 是否必须 说明
token 5c7d0c90cf9e0ce560956179e8e82e7d string(32) 请参考token生成
id 21 int 链接ID

请求成功响应

{
	"code": 0,
	"msg": "successful"
}
  • code:响应状态码,0代表成功
  • msg:消息描述

请求失败响应

{
	"code": -1010,
	"err_msg": "link id not exists!"
}
  • code:错误码
  • err_msg:错误描述