This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
def eori(eori_number): | |
# 构建符合SOAP协议的XML消息 | |
soap_request = f""" | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://eori.ws.eos.dds.s/"> | |
<SOAP-ENV:Body> | |
<ns1:validateEORI> | |
<ns1:eori>{eori_number}</ns1:eori> | |
</ns1:validateEORI> | |
</SOAP-ENV:Body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// ... | |
// https://github.com/Microsoft/vscode/issues/28048#issuecomment-306616235 | |
"[markdown]":{ | |
"editor.quickSuggestions": true | |
}, | |
//... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### references | |
- https://zhuanlan.zhihu.com/p/87864677 | |
- https://blog.csdn.net/qq_24546137/article/details/116922789 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @references | |
* https://www.php.cn/php-weizijiaocheng-432036.html | |
* https://www.jianshu.com/p/139b0e43ef3f | |
* https://zhuanlan.zhihu.com/p/217622103 | |
* https://segmentfault.com/q/1010000000751497 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# SSL Settings (TLSv1.2 and TLSv1.3) | |
## | |
ssl_protocols TLSv1.2 TLSv1.3; | |
ssl_ciphers 'TLS13+AESGCM+AES128:EECDH+AES128'; | |
ssl_prefer_server_ciphers on; | |
ssl_session_cache shared:SSL:50m; | |
ssl_session_timeout 1d; | |
ssl_session_tickets off; | |
ssl_ecdh_curve X25519:sect571r1:secp521r1:secp384r1 |