Initial commit
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
---
|
||||
日期: 2025-08-22 10:09
|
||||
来源: 春良
|
||||
---
|
||||
|
||||
# 问题详情
|
||||
|
||||
```
|
||||
@SA-王朝阳 你好,帮看下封禁的这个接口为啥创建任务失败:
|
||||
|
||||
curl
|
||||
-X POST
|
||||
https://p.cdn.10086.cn/api/url/ban
|
||||
-H "Content-Type: application/json"
|
||||
-H "CMCDN-Auth-Token:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ.eyJhdWQiOiJzeng5MDF4di14ZjMzYmQ1ZXU0aDMxZnVjIiwiZXhwIjoxNzU1ODEwMjA2LCJpYXQiOjE3NTU3NjcwMDYsImlzcyI6ImNtY2RuIn0=.RDlzlqURQjpY-DRUYX5zJnZy2iavKxrkKq1vh40w0RE="
|
||||
-H "HTTP-X-CMCDN-Signature:2e72426256cc29a2d6b520ab86a1156b001e6bf4b24405b2025969bfa667be2a"
|
||||
-H "Accept: application/vnd.cmcdn+json"
|
||||
-d '{"operate":0,"urls":[{"url":"http://www.yuanshi-sec.com/1.txt","method":"exact"}]}'
|
||||
|
||||
入参:{"operate": 0, "urls": [{"url": "https://www.yuanshi-sec.com/static/img/logo_white.png", "method": "exact", "areas": ""}]}
|
||||
|
||||
返回:{
|
||||
"msg":"任务创建失败",
|
||||
"status":1
|
||||
}
|
||||
```
|
||||
|
||||
# 处理过程
|
||||
|
||||
```
|
||||
今天 09:29:42。
|
||||
|
||||
/api/v2/action?commandType=urlbanorunban&version=1
|
||||
|
||||
2025-08-22 01:29:42 [9e6830756661cc47] [9e6830756661cc47] [] [portal-102] [http-nio-8080-exec-248] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 124 urlBanOrLift - URL封禁/解封下发配管参数:{"cp_id":"81021296","operate":0,"task_id":"WG_a117b40114d008c25c456bdeacca1","urls":[{"method":"exact","plain":[1],"url":"https://www.yuanshi-sec.com/static/img/logo_white.png"}]}
|
||||
|
||||
2025-08-22 01:29:42 [9e6830756661cc47] [9e6830756661cc47] [] [portal-102] [http-nio-8080-exec-248] INFO com.cmcc.cdn.platform.selfservice.service.impl.URLBanLiftServiceImpl 126 urlBanOrLift - 向统一网管下发URL封禁/解禁返回参数e:{"error_code":9,"error_msg":"domain_info must be object"}
|
||||
```
|
||||
|
||||
# 总结
|
||||
|
||||
下发异常,配管反馈功能暂不可用。
|
||||
Reference in New Issue
Block a user