Files
notes/work/移动杭研/问题处理/2023-12/1228-信安上传失败.md
T
2026-03-01 01:43:46 +08:00

64 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 问题详情
001-20231227002
![](../../../../attachment/images-uuid/852fb10872a242089f180d627b65bf51.png)
![](../../../../attachment/images-uuid/2b7dd719af6c4039a942cc13a29b81b4.png)
![](../../../../attachment/images-uuid/1deeda17fd494302ae6c0188e298bde1.png)
![](../../../../attachment/images-uuid/0a991166a0934d209910599f1e91aed0.png)
## 顶级域名问题
![image-20231229105920182](../../../../attachment/images-paste/image-20231229105920182.png)
com.cmcc.cdn.platform.selfservice.service.impl.PortalInformationServiceImpl#createDomainInfo
com.cmcc.cdn.platform.selfservice.service.impl.PortalInformationServiceImpl#getTopDomain
## 信安修复
### 生成随机数
gPUcTP
yJmjcg
SrYYyO
aRgUEb
YWBXNR
### 字段说明
domain_id_cdnsys:为深圳华为云计算技术有限公司现有 user_id_cdn 拼接新生成的 6 位随机数。
深圳华为云计算技术有限公司 user_id_cdnDtsPgBHHY
domain:冲突域名
source_list:信安附件中的回源
reg_id:信安附件中的备案号
top_domain:取信安最后一列真实域名的顶级域名
user_id_cdn:圳华为云计算技术有限公司现有 user_id_cdn
distribute_prov:参考现有逻辑查询为全国
```sql
SELECT p.code
FROM self_service_domain_config s
LEFT JOIN domain_config_province dp ON s.id = dp.domain_id
LEFT JOIN province p ON dp.province_id = p.id
WHERE domain = ?1;
```
introduce_prov:引入省份为企业省份政企分公司 996
cp_domain:真实域名