- 爱品
- AI热点
- 热榜聚焦
- 个人中心
- 登录
- 测试
- 前言洞察
- 开源情报
- 方案相关
- 方案信息
- 用户复制设置
- 方案分类
- 昨天方案文章数量POST
- 获取指定类型promptPOST
- 获取最新promptIdPOST
- 项目
- AI会商
- 未命名接口POST
单个信息删除
开发中
POST
/scheme/info/news-delete
请求参数
Body 参数application/json
object {0}
示例
{
"sid":1,
"type":"total",
"newsId":"MV9fX19hOTk3MTg2NDZiMGFmZmFkNzNlNTc4NDkzNDhhNjdiOV9fX19hcHBfX19fMjAyNC0wNy0yMiAxMDoxMzo1NV9fX19zY2hlbWU="
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/scheme/info/news-delete' \
--header 'Content-Type: application/json' \
--data-raw '{
"sid":1,
"type":"total",
"newsId":"MV9fX19hOTk3MTg2NDZiMGFmZmFkNzNlNTc4NDkzNDhhNjdiOV9fX19hcHBfX19fMjAyNC0wNy0yMiAxMDoxMzo1NV9fX19zY2hlbWU="
}'
返回响应
🔴500服务器错误
text/html
Body
object {0}
示例
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"/> <title>Database Exception – yii\db\Exception</title> <style type="text/css"> /* reset */ html,body,div,span,h1,h2,h3,h4,h5,h6,p,pre,a,code,em,img,strong,b,i,ul,li{ margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } body{ line-height: 1; } ul{ list-style: none; } /* base */ a{ text-decoration: none; } a:hover{ text-decoration: underline; } h1,h2,h3,p,img,ul li{ font-family: Arial,sans-serif; color: #505050; } /*corresponds to min-width of 860px for some elements (.header .footer .element ...)*/ @media screen and (min-width: 960px) { html,body{ overflow-x: hidden; } } /* header */ .header{ min-width: 860px; /* 960px - 50px * 2 */ margin: 0 auto; background: #f3f3f3; padding: 40px 50px 30px 50px; border-bottom: #ccc 1px solid; } .header h1{ font-size: 30px; color: #e57373; margin-bottom: 30px; } .header h1 span, .header h1 span a{ color: #e51717; } .header h1 a{ color: #e57373; } .header h1 a:hover{ color: #e51717; } .header img.erroricon{ float: right; margin-top: -15px; margin-left: 50px; } .header .tools{ float: right; } .header .tools a { border-radius: 5px; width: 25px; text-align: center; margin-right: 7px; } .header .tools a, .header .tools span{ display: block; float: left; height: 25px; padding: 5px; } .header .tools span{ display: none; } .header .tools a:hover{ background: #fff; text-decoration: none; } .header .tools a:active img{ position: relative; left: 2px; top: 2px; } .header .tools textarea{ position: absolute; top: -500px; right: 300px; width: 750px; height: 150px; } .header h2{ font-size: 20px; line-height: 1.25; } .header pre{ margin: 10px 0; overflow-y: scroll; font-family: Courier, monospace; font-size: 14px; } /* previous exceptions */ .header .previous{ margin: 20px 0; padding-left: 30px; } .header .previous div{ margin: 20px 0; } .header .previous .arrow{ -moz-transform: scale(-1, 1); -webkit-transform: scale(-1, 1); -o-transform: scale(-1, 1); transform: scale(-1, 1); filter: progid:DXImageTransform.Microsoft.BasicImage(mirror=1); font-size: 26px; position: absolute; margin-top: -3px; margin-left: -30px; color: #e51717; } .header .previous h2{ font-size: 20px; color: #e57373; margin-bottom: 10px; } .header .previous h2 span{ color: #e51717; } .header .previous h2 a{ color: #e57373; } .header .previous h2 a:hover{ color: #e51717; } .header .previous h3{ font-size: 14px; margin: 10px 0; } .header .previous p{ font-size: 14px; color: #aaa; } .header .previous pre{ font-family: Courier, monospace; font-size: 14px; margin: 10px 0; } /* call stack */ .call-stack{ margin-top: 30px; margin-bottom: 40px; } .call-stack ul li{ margin: 1px 0; } .call-stack ul li .element-wrap{ cursor: pointer; padding: 15px 0; background-color: #fdfdfd; } .call-stack ul li.application .element-wrap{ background-color: #fafafa; } .call-stack ul li .element-wrap:hover{ background-color: #edf9ff; } .call-stack ul li .element{ min-width: 860px; /* 960px - 50px * 2 */ margin: 0 auto; padding: 0 50px; position: relative; } .call-stack ul li a{ color: #505050; } .call-stack ul li a:hover{ color: #000; } .call-stack ul li .item-number{ width: 45px; display: inline-block; } .call-stack ul li .text{ color: #aaa; } .call-stack ul li.application .text{ color: #505050; } .call-stack ul li .at{ float: right; display: inline-block; width: 7em; padding-left: 1em; text-align: left; color: #aaa; } .call-stack ul li.application .at{ color: #505050; } .call-stack ul li .line{ display: inline-block; width: 3em; text-align: right; } .call-stack ul li .code-wrap{ display: none; position: relative; } .call-stack ul li.application .code-wrap{ display: block; } .call-stack ul li .error-line, .call-stack ul li .hover-line{ background-color: #ffebeb; position: absolute; width: 100%; z-index: 100; margin-top: 0; } .call-stack ul li .hover-line{ background: none; } .call-stack ul li .hover-line.hover, .call-stack ul li .hover-line:hover{ background: #edf9ff !important; } .call-stack ul li .code{ min-width: 860px; /* 960px - 50px * 2 */ margin: 15px auto; padding: 0 50px; position: relative; } .call-stack ul li .code .lines-item{ position: absolute; z-index: 200; display
修改于 2024-10-21 06:28:12