<!-- /\* Font Definitions \*/ @font-face {font-family:宋體; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-536870145 1107305727 0 0 415 0;} @font-face {font-family:微軟雅黑; panose-1:2 11 5 3 2 2 4 2 2 4; mso-font-charset:134; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-2147483001 672087122 22 0 262175 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520081665 -1073717157 41 0 66047 0;} @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-520092929 1073806591 9 0 415 0;} @font-face {font-family:"\\@微軟雅黑"; panose-1:2 11 5 3 2 2 4 2 2 4; mso-font-charset:134; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-2147483001 672087122 22 0 262175 0;} @font-face {font-family:"\\@宋體"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} /\* Style Definitions \*/ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; mso-pagination:widow-orphan; layout-grid-mode:char; mso-layout-grid-align:none; font-size:11.0pt; font-family:"Tahoma","sans-serif"; mso-fareast-font-family:微軟雅黑; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} span.hljs-number {mso-style-name:hljs-number; mso-style-unhide:no;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:11.0pt; mso-ansi-font-size:11.0pt; mso-fareast-font-family:微軟雅黑; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-font-kerning:0pt;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:11.0pt;} /\* Page Definitions \*/ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page WordSection1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} /\* List Definitions \*/ @list l0 {mso-list-id:279725072; mso-list-template-ids:-1797495592;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} -->
微信域名防封技術,微信域名老是被封如何解決json
微信營銷活動,域名沒被封過,那你的營銷人生確定是不完整的。若是作到微信域名防封呢?這就要藉助一些工具來實現有效的防封措施了。api
第一步瀏覽器
你須要有一個微信域名檢測接口,推薦使用https://www.monkeyapi.com/這家的,快速並且穩定,用這麼久沒出過問題。微信
有不懂的加q諮詢:510124737app
第二步curl
配置你的程序,用三套域名A、B、C,好比說分享出去的域名是A,這裏面A被稱做是主域名。ide
點開後跳到B,跳轉以前檢測一下B有沒有被封,這裏面的B就稱做是落地域名。一般狀況下落地域名B須要準備幾十甚至上百個,利用域名檢測接口能夠輕鬆實現被封自動切換。工具
具體實現技術看這裏:https://www.monkeyapi.com/ post
那C是幹什麼用的呢,微信4月25日之後改變了分享規則,經過JSSDK分享域名必須是公衆號後臺綁定域名,不能像之前那樣想分享什麼域名就能夠分享什麼域名了。網站
C域名專門用做分享,在B域名下觸發分享條件之後跳到C域名,自定義分享出去之後,C域名從程序上設置又跳回到A。
這樣A->B->C->A循環跳轉
這樣就有一個問題,若是A或者是C封了怎麼辦呢,厲害了,https://www.monkeyapi.com/
上有解決方案,價格不菲,你們能夠本身研究一下
有不懂的加q諮詢:510124737
首先咱們說說monkeyapi平臺的使用方法:
一、使用瀏覽器打開咱們的 monkeyapi 平臺地址:https://www.monkeyapi.com/
二、複製連接粘貼進api工具框中,點擊生成跳轉短連接和二維碼
三、複製短鏈接和二維碼前往微信中打開連接或掃碼便可。
其次咱們說說如何構建微信跳轉瀏覽器的源碼:
10.$result = json\_decode($content, true);
11.if($result) {
13.}else {
15.}
16.
17._/**_
18._* _請求接口返回內容
19._* @param string $url [請求的__URL__地址]_
20._* @param string $params [_請
求的參數_]_
21._* @param int $ipost [是否採用__POST__形式]_
22._* @return string_
23._*/_
24.function Curl($url, $params = false, $ispost = 0)
25.{
26.$httpInfo = array();
28.
30.curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
31.curl_setopt($ch, CURLOPT_TIMEOUT, 60);
32.curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
33.curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
35.curl_setopt($ch, CURLOPT_POST, true);
41.} else {
45.
51.
56.<<--有不懂的加q諮詢:510124737-->>
57.
P�o�e