更新方案
开发中
POST
/scheme/scheme/update
请求参数
Body 参数application/json
id
integer
必需
name
string
必需
keywordsFinal
string
必需
keywordsExclude
string
必需
platform
array[string]
必需
emotion
array[string]
必需
mediaLevel
string
必需
matchObject
string
必需
newsIsOrigin
string
必需
isFocus
integer
必需
isExcludeSource
integer
必需
typeId
integer
必需
contentArea
array[string]
地域词
keywordsDescribe
string
必需
示例
{
"id":1,
"name":"华人文化集团",
"keywordsFinal":"CMC资本|黎瑞刚|黎叔|华人文化|杨媛草|lrg|黎总|LRG|黎某刚|杨元草|杜华干爹|乐华干爹",
"keywordsExclude":"",
"platform":["total"],
"emotion":["全部"],
"mediaLevel":"",
"matchObject":"",
"newsIsOrigin":"",
"isFocus":0,
"isExcludeSource":0,
"typeId":0,
"contentArea": [
"北京-朝阳区",
"安徽-合肥",
"安徽-阜阳",
"安徽-蚌埠-怀远县",
"辽宁",
"江苏"
]
}
示例代码
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/scheme/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"id":1,
"name":"华人文化集团",
"keywordsFinal":"CMC资本|黎瑞刚|黎叔|华人文化|杨媛草|lrg|黎总|LRG|黎某刚|杨元草|杜华干爹|乐华干爹",
"keywordsExclude":"",
"platform":["total"],
"emotion":["全部"],
"mediaLevel":"",
"matchObject":"",
"newsIsOrigin":"",
"isFocus":0,
"isExcludeSource":0,
"typeId":0,
"contentArea": [
"北京-朝阳区",
"安徽-合肥",
"安徽-阜阳",
"安徽-蚌埠-怀远县",
"辽宁",
"江苏"
]
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
id
integer
必需
name
string
必需
keywordsFinal
array[string]
必需
keywordsIn
string
必需
keywordsExclude
string
必需
keywordsEx
string
必需
user_id
integer
必需
示例
{"code":10000,"msg":"方案更新成功","data":{"id":1,"name":"华人文化集团","keywordsFinal":["CMC资本","黎瑞刚","黎叔","华人文化","杨媛草","lrg","黎总","LRG","黎某刚","杨元草","杜华干爹","乐华干爹"],"keywordsIn":"CMC资本,黎瑞刚,黎叔,华人文化,杨媛草,lrg,黎总,LRG,黎某刚,杨元草,杜华干爹,乐华干爹","keywordsExclude":"","keywordsEx":"","user_id":2906}}