\r\n \r\n  \r\n  位置:<\/span>\r\n  \r\n   
  • 首頁<\/a><\/li>\r\n   
  • 微信管理<\/li>\r\n   
  • 德橋員工服務(wù)中心----分組管理<\/li>\r\n  <\/ul>\r\n  <\/p>\r\n  分組管理<\/p>\r\n   \r\n     新建分組<\/span>關(guān)閉<\/a>  <\/p>\r\n      30字符以內(nèi)<\/p>\r\n    \r\n    確定創(chuàng)建<\/p><\/asp:LinkButton>\r\n     <\/p>\r\n    <\/p>\r\n  \r\n   \r\n    \r\n     \r\n      序號<\/th>\r\n      ID編號<\/th>\r\n      分組名稱<\/th>\r\n      分組人數(shù)<\/th>\r\n      操作<\/th>\r\n     <\/tr>\r\n    <\/HeaderTemplate>\r\n    \r\n     '>\r\n      <\/asp:Label><\/td>\r\n      <%# Eval(\"Group_ID\") %><\/td>\r\n      <%# Eval(\"Group_Name\") %><\/td>\r\n      <%# Eval(\"Group_Count\") %><\/td>\r\n      \r\n        ','<%# Eval(\"Group_Name\") %>');\">修改分組名稱<\/a> \r\n         ' >刪除分組<\/asp:LinkButton>\r\n      <\/td>\r\n     <\/tr>\r\n    <\/ItemTemplate>\r\n   <\/asp:Repeater>\r\n  <\/table>\r\n   ┼ 新建分組<\/p><\/a>\r\n <\/form>\r\n<\/body>\r\n<\/html><\/pre>

    <\/p>

    <\/strong><\/p>

    <\/p>

    <\/p>

    <\/span><\/strong><\/p>

    \"asp.net微信開發(fā)用戶分組管理的範(fàn)例程式碼\"<\/p>

    後臺程式碼如下:<\/strong>?<\/p>

    <\/p>

    protected void Page_Load(object sender, EventArgs e)\r\n  {\r\n   if(!Page.IsPostBack)\r\n   {\r\n    BindGroupList();\r\n    this.DataBind();\r\n   }\r\n  }\r\n\r\n  private void BindGroupList()\r\n  {\r\n   WeiXinServer wxs = new WeiXinServer();\r\n\r\n   \/\/\/從緩存讀取accesstoken\r\n   string Access_token = Cache[\"Access_token\"] as string;\r\n\r\n   if (Access_token == null)\r\n   {\r\n    \/\/如果為空,重新獲取\r\n    Access_token = wxs.GetAccessToken();\r\n\r\n    \/\/設(shè)置緩存的數(shù)據(jù)7000秒后過期\r\n    Cache.Insert(\"Access_token\", Access_token, null, DateTime.Now.AddSeconds(7000), System.Web.Caching.Cache.NoSlidingExpiration);\r\n   }\r\n\r\n   string Access_tokento = Access_token.Substring(17, Access_token.Length - 37);\r\n\r\n   string jsonres = \"\";\r\n\r\n   string content = Cache[\"AllGroups_content\"] as string;\r\n\r\n   if (content == null)\r\n   {\r\n    jsonres = \"https:\/\/api.weixin.qq.com\/cgi-bin\/groups\/get?access_token=\" + Access_tokento;\r\n\r\n    HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(jsonres);\r\n    myRequest.Method = \"GET\";\r\n    HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse();\r\n    StreamReader reader = new StreamReader(myResponse.GetResponseStream(), Encoding.UTF8);\r\n    content = reader.ReadToEnd();\r\n    reader.Close();\r\n\r\n    \/\/設(shè)置緩存的數(shù)據(jù)7000秒后過期\r\n    Cache.Insert(\"AllGroups_content\", content, null, DateTime.Now.AddSeconds(7000), System.Web.Caching.Cache.NoSlidingExpiration);\r\n   }\r\n\r\n   \/\/使用前需要引用Newtonsoft.json.dll文件\r\n   JObject jsonObj = JObject.Parse(content);\r\n\r\n\r\n   int groupsnum = jsonObj[\"groups\"].Count();\r\n\r\n\r\n   List wxgrouplist = new List();\r\n   \r\n   for (int i = 0; i < groupsnum; i++)\r\n   {\r\n    WxGroupsInfo wginfo = new WxGroupsInfo();\r\n\r\n    wginfo.Group_ID = jsonObj[\"groups\"][i][\"id\"].ToString();\r\n\r\n    wginfo.Group_Name = jsonObj[\"groups\"][i][\"name\"].ToString();\r\n\r\n    wginfo.Group_Count = jsonObj[\"groups\"][i][\"count\"].ToString();\r\n\r\n    wxgrouplist.Add(wginfo);\r\n   }\r\n\r\n   this.RepeaterGroupList.DataSource = wxgrouplist;\r\n   this.RepeaterGroupList.DataBind();\r\n  }\r\n  \/\/\/ \r\n  \/\/\/ 綁定事件\r\n  \/\/\/ <\/summary>\r\n  \/\/\/ <\/param>\r\n  \/\/\/ <\/param>\r\n  protected void RepeaterGroupList_ItemDataBound(object sender, RepeaterItemEventArgs e)\r\n  {\r\n   if(e.Item.ItemType==ListItemType.Item||e.Item.ItemType==ListItemType.AlternatingItem)\r\n   {\r\n    Label lbXuHao = e.Item.FindControl(\"lbXuHao\") as Label;\r\n\r\n    int num = 1;\r\n\r\n    lbXuHao.Text = num.ToString();\r\n\r\n    for (int i = 0; i < this.RepeaterGroupList.Items.Count;i++ )\r\n    {\r\n     num += 1;\r\n     lbXuHao.Text = num.ToString();\r\n    }\r\n\r\n\r\n    LinkButton LinkBtnDeleteGroup = e.Item.FindControl(\"LinkBtnDeleteGroup\") as LinkButton;\r\n\r\n    LinkBtnDeleteGroup.Attributes.Add(\"OnClick\", \"return confirm('您確定要?jiǎng)h除該分組?刪除后該分組內(nèi)的人員即將恢復(fù)到默認(rèn)分組!')\");\r\n\r\n   }\r\n  }\r\n  \/\/\/ \r\n  \/\/\/ 執(zhí)行事件\r\n  \/\/\/ <\/summary>\r\n  \/\/\/ <\/param>\r\n  \/\/\/ <\/param>\r\n  protected void RepeaterGroupList_ItemCommand(object source, RepeaterCommandEventArgs e)\r\n  {\r\n\r\n   \/\/ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), \"\", \"alert('刪除接口已關(guān)閉!');location='WxGroupManageList.aspx';\", true);\r\n   if (e.CommandName == \"DeleteGroups\")\r\n   {\r\n    WeiXinServer wxs = new WeiXinServer();\r\n    string res = \"\";\r\n\r\n    \/\/\/從緩存讀取accesstoken\r\n    string Access_token = Cache[\"Access_token\"] as string;\r\n\r\n    if (Access_token == null)\r\n    {\r\n     \/\/如果為空,重新獲取\r\n     Access_token = wxs.GetAccessToken();\r\n\r\n     \/\/設(shè)置緩存的數(shù)據(jù)7000秒后過期\r\n     Cache.Insert(\"Access_token\", Access_token, null, DateTime.Now.AddSeconds(7000), System.Web.Caching.Cache.NoSlidingExpiration);\r\n    }\r\n\r\n    string Access_tokento = Access_token.Substring(17, Access_token.Length - 37);\r\n\r\n\r\n    string posturl = \"https:\/\/api.weixin.qq.com\/cgi-bin\/groups\/delete?access_token=\" + Access_tokento;\r\n\r\n\r\n    \/\/POST數(shù)據(jù)例子: POST數(shù)據(jù)例子:{\"group\":{\"id\":108}}\r\n\r\n    string groupid = e.CommandArgument.ToString();\r\n\r\n    string postData = \"{\\\"group\\\":{\\\"id\\\":\\\"\" + groupid.ToString() + \"\\\"}}\";\r\n\r\n    res = wxs.GetPage(posturl, postData);\r\n\r\n    ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), \"\", \"alert('刪除成功!由于緩存問題,您可能需要重新登錄才能看到效果!');location='WxGroupManageList.aspx';\", true);\r\n   }\r\n  }\r\n  \/\/\/ \r\n  \/\/\/ 創(chuàng)建分組\r\n  \/\/\/ <\/summary>\r\n  \/\/\/ <\/param>\r\n  \/\/\/ <\/param>\r\n  protected void LinkBtnCreateGroup_Click(object sender, EventArgs e)\r\n  {\r\n   if (this.txtgroupsName.Value.ToString().Equals(\"分組名稱\"))\r\n   {\r\n    \/\/\/\/\r\n    ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), \"\", \"alert('不能為空!')\", true);\r\n    this.txtgroupsName.Focus();\r\n    return;\r\n   }\r\n\r\n\r\n   WeiXinServer wxs = new WeiXinServer();\r\n   string res = \"\";\r\n\r\n   \/\/\/從緩存讀取accesstoken\r\n   string Access_token = Cache[\"Access_token\"] as string;\r\n\r\n   if (Access_token == null)\r\n   {\r\n    \/\/如果為空,重新獲取\r\n    Access_token = wxs.GetAccessToken();\r\n\r\n    \/\/設(shè)置緩存的數(shù)據(jù)7000秒后過期\r\n    Cache.Insert(\"Access_token\", Access_token, null, DateTime.Now.AddSeconds(7000), System.Web.Caching.Cache.NoSlidingExpiration);\r\n   }\r\n\r\n   string Access_tokento = Access_token.Substring(17, Access_token.Length - 37);\r\n\r\n\r\n   string posturl = \"https:\/\/api.weixin.qq.com\/cgi-bin\/groups\/create?access_token=\" + Access_tokento;\r\n\r\n\r\n   string postData = \"{\\\"group\\\":{\\\"name\\\":\\\"\" + this.txtgroupsName.Value.ToString().Trim() + \"\\\"}}\";\r\n\r\n\r\n   res = wxs.GetPage(posturl, postData);\r\n\r\n\r\n   ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), \"\", \"alert('創(chuàng)建成功!如未顯示,請退出重新登錄即可!');location='WxGroupManageList.aspx';\", true);\r\n  }<\/pre>

    <\/p>

    <\/strong>#修改分組名稱的頁面<\/p>

    <\/p>

    <\/p>

    ##「前臺程式碼:<\/p>#############

    \r\n\r\n\r\n\r\n\r\n <\/title>\r\n <style type=\"text\/css\">\r\n  .inputstyle { height:35px; line-height:35px; text-indent:5px; width:280px;background-image:url('images\/inputbg.gif'); background-repeat:repeat-x;border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df; float:left; margin:auto 5px auto 5px;\r\n  }\r\n <\/style>\r\n<\/head>\r\n<body>
    <h1><a href="http://ipnx.cn/">亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱</a></h1>\r\n <form id=\"form1\" runat=\"server\">\r\n  <table border=\"1\" style=\" width:500px; border-collapse:collapse; margin:20px auto 20px auto; line-height:40px;\">\r\n   <tr>\r\n    <td style=\"text-align:right;\">分組編號:<\/td>\r\n    <td> <asp:TextBox ID=\"txtGroupId\" CssClass=\"inputstyle\" Enabled=\"false\" runat=\"server\"><\/asp:TextBox><\/td>\r\n   <\/tr>\r\n   <tr>\r\n    <td style=\"text-align:right;\">分組名稱:<\/td>\r\n    <td> \r\n     <asp:TextBox ID=\"txtGroupName\" CssClass=\"inputstyle\" runat=\"server\"><\/asp:TextBox>\r\n    <\/td>\r\n   <\/tr>\r\n   <tr>\r\n    <td><\/td>\r\n    <td>\r\n      <asp:LinkButton ID=\"LinkBtnSet\" runat=\"server\" OnClick=\"LinkBtnSet_Click\" ><p style=\"background-image:url('images\/buttonbg.png'); width:111px; height:35px; line-height:35px; float:left; font-weight:bold;text-align:center;color:#fff;\"> 設(shè) 置<\/p><\/asp:LinkButton><\/td>\r\n   <\/tr>\r\n  <\/table>\r\n <\/form>\r\n<\/body>\r\n<\/html><\/pre>############ 後臺程式碼: ###############<pre class='brush:php;toolbar:false;'>\r\n protected void Page_Load(object sender, EventArgs e)\r\n  {\r\n   if(!Page.IsPostBack)\r\n   {\r\n    if (Request.QueryString[\"id\"] != null)\r\n    {\r\n     string group_id = Request.QueryString[\"id\"].ToString();\r\n     string group_name = Request.QueryString[\"name\"].ToString();\r\n     this.txtGroupId.Text = group_id.ToString();\r\n     this.txtGroupName.Text = group_name.ToString();\r\n     this.txtGroupName.Focus();\r\n    }\r\n   }\r\n  }\r\n  \/\/\/ <summary>\r\n  \/\/\/ 設(shè)置\r\n  \/\/\/ <\/summary>\r\n  \/\/\/ <param name=\"sender\"><\/param>\r\n  \/\/\/ <param name=\"e\"><\/param>\r\n  protected void LinkBtnSet_Click(object sender, EventArgs e)\r\n  {\r\n   if(String.IsNullOrWhiteSpace(this.txtGroupName.Text.ToString().Trim()))\r\n   {\r\n    ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), \"\", \"alert('不能為空!');\", true);\r\n    this.txtGroupName.Focus();\r\n    return;\r\n   }\r\n   if (this.txtGroupName.Text.ToString().Trim().Length>30)\r\n   {\r\n    ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), \"\", \"alert('組名稱應(yīng)在30個(gè)字符之內(nèi)!');\", true);\r\n    this.txtGroupName.Focus();\r\n    return;\r\n   }\r\n\r\n   WeiXinServer wxs = new WeiXinServer();\r\n   string res = \"\";\r\n\r\n   \/\/\/從緩存讀取accesstoken\r\n   string Access_token = Cache[\"Access_token\"] as string;\r\n\r\n   if (Access_token == null)\r\n   {\r\n    \/\/如果為空,重新獲取\r\n    Access_token = wxs.GetAccessToken();\r\n\r\n    \/\/設(shè)置緩存的數(shù)據(jù)7000秒后過期\r\n    Cache.Insert(\"Access_token\", Access_token, null, DateTime.Now.AddSeconds(7000), System.Web.Caching.Cache.NoSlidingExpiration);\r\n   }\r\n\r\n   string Access_tokento = Access_token.Substring(17, Access_token.Length - 37);\r\n\r\n\r\n   string posturl = \"https:\/\/api.weixin.qq.com\/cgi-bin\/groups\/update?access_token=\" + Access_tokento;\r\n\r\n\r\n   \/\/POST數(shù)據(jù)例子:POST數(shù)據(jù)例子:{\"group\":{\"id\":108,\"name\":\"test2_modify2\"}}\r\n\r\n\r\n   \/\/string postData = \"{\\\"group\\\":{\\\"name\\\":\\\"\" + this.txtgroupsName.Value.ToString().Trim() + \"\\\"}}\";\r\n   string postData = \"{\\\"group\\\":{\\\"id\\\":\\\"\" + txtGroupId.Text.ToString() +\"\\\",\\\"name\\\":\\\"\"+this.txtGroupName.Text.ToString()+\"\\\"}}\";\r\n\r\n\r\n   res = wxs.GetPage(posturl, postData);\r\n\r\n\r\n   \/\/使用前需藥引用Newtonsoft.json.dll文件\r\n   JObject jsonObj = JObject.Parse(res);\r\n\r\n   \/\/\/獲取返回結(jié)果的正確|true|false,\r\n   string isright = jsonObj[\"errcode\"].ToString();\/\/0\r\n   string istrueorfalse = jsonObj[\"errmsg\"].ToString();\/\/ok\r\n   if (isright.Equals(\"0\") && istrueorfalse.Equals(\"ok\"))\r\n   {\r\n           \/\/\/修改成功之后,刷新父窗體,關(guān)閉本頁\r\n    ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), \"\", \"alert('修改成功!如未正常顯示,屬緩存問題,請重新登錄即可!');window.opener.location.reload();this.close();\", true);\r\n   }\r\n   else\r\n   {\r\n    ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), \"\", \"alert('修改失??!');this.close();\", true);\r\n   }\r\n\r\n\r\n  }<\/pre>#########以上就是使用者分組管理的全部核心程式碼,僅供參考,希望對大家的學(xué)習(xí)有所幫助。 ###"}	</script>
    	
    <meta http-equiv="Cache-Control" content="no-transform" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <script>var V_PATH="/";window.onerror=function(){ return true; };</script>
    </head>
    
    <body data-commit-time="2023-12-28T14:50:12+08:00" class="editor_body body2_2">
    	<link rel="stylesheet" type="text/css" href="/static/csshw/stylehw.css">
    <header>
        <div   id="wjcelcm34c"   class="head">
            <div   id="wjcelcm34c"   class="haed_left">
                <div   id="wjcelcm34c"   class="haed_logo">
                    <a href="http://ipnx.cn/zh-tw/" title="" class="haed_logo_a">
                        <img src="/static/imghw/logo.png" alt="" class="haed_logoimg">
                    </a>
                </div>
                <div   id="wjcelcm34c"   class="head_nav">
                    <div   id="wjcelcm34c"   class="head_navs">
                        <a href="javascript:;" title="社群" class="head_nava head_nava-template1">社群</a>
                        <div   class="wjcelcm34c"   id="dropdown-template1" style="display: none;">
                            <div   id="wjcelcm34c"   class="languagechoose">
                                <a href="http://ipnx.cn/zh-tw/article.html" title="文章" class="languagechoosea on">文章</a>
                                <a href="http://ipnx.cn/zh-tw/faq/zt" title="合集" class="languagechoosea">合集</a>
                                <a href="http://ipnx.cn/zh-tw/wenda.html" title="問答" class="languagechoosea">問答</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="wjcelcm34c"   class="head_navs">
                        <a href="javascript:;" title="學(xué)習(xí)" class="head_nava head_nava-template1_1">學(xué)習(xí)</a>
                        <div   class="wjcelcm34c"   id="dropdown-template1_1" style="display: none;">
                            <div   id="wjcelcm34c"   class="languagechoose">
                                <a href="http://ipnx.cn/zh-tw/course.html" title="課程" class="languagechoosea on">課程</a>
                                <a href="http://ipnx.cn/zh-tw/dic/" title="程式設(shè)計(jì)字典" class="languagechoosea">程式設(shè)計(jì)字典</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="wjcelcm34c"   class="head_navs">
                        <a href="javascript:;" title="工具庫" class="head_nava head_nava-template1_2">工具庫</a>
                        <div   class="wjcelcm34c"   id="dropdown-template1_2" style="display: none;">
                            <div   id="wjcelcm34c"   class="languagechoose">
                                <a href="http://ipnx.cn/zh-tw/toolset/development-tools" title="開發(fā)工具" class="languagechoosea on">開發(fā)工具</a>
                                <a href="http://ipnx.cn/zh-tw/toolset/website-source-code" title="網(wǎng)站源碼" class="languagechoosea">網(wǎng)站源碼</a>
                                <a href="http://ipnx.cn/zh-tw/toolset/php-libraries" title="PHP 函式庫" class="languagechoosea">PHP 函式庫</a>
                                <a href="http://ipnx.cn/zh-tw/toolset/js-special-effects" title="JS特效" class="languagechoosea on">JS特效</a>
                                <a href="http://ipnx.cn/zh-tw/toolset/website-materials" title="網(wǎng)站素材" class="languagechoosea on">網(wǎng)站素材</a>
                                <a href="http://ipnx.cn/zh-tw/toolset/extension-plug-ins" title="擴(kuò)充插件" class="languagechoosea on">擴(kuò)充插件</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="wjcelcm34c"   class="head_navs">
                        <a href="http://ipnx.cn/zh-tw/ai" title="AI工具" class="head_nava head_nava-template1_3">AI工具</a>
                    </div>
    
                    <div   id="wjcelcm34c"   class="head_navs">
                        <a href="javascript:;" title="休閒" class="head_nava head_nava-template1_3">休閒</a>
                        <div   class="wjcelcm34c"   id="dropdown-template1_3" style="display: none;">
                            <div   id="wjcelcm34c"   class="languagechoose">
                                <a href="http://ipnx.cn/zh-tw/game" title="遊戲下載" class="languagechoosea on">遊戲下載</a>
                                <a href="http://ipnx.cn/zh-tw/mobile-game-tutorial/" title="遊戲教程" class="languagechoosea">遊戲教程</a>
    
                            </div>
                        </div>
                    </div>
                </div>
            </div>
                        <div   id="wjcelcm34c"   class="head_search">
                    <input id="key_words"  onkeydown="if (event.keyCode == 13) searchs('zh-tw')" class="search-input" type="text" autocomplete="off" name="keywords" required="required" placeholder="Block,address,transaction,news" value="">
                    <a href="javascript:;" title="搜尋"  onclick="searchs('zh-tw')"><img src="/static/imghw/find.png" alt="搜尋"></a>
                </div>
                    <div   id="wjcelcm34c"   class="head_right">
                <div   id="wjcelcm34c"   class="haed_language">
                    <a href="javascript:;" class="layui-btn haed_language_btn">繁體中文<i class="layui-icon layui-icon-triangle-d"></i></a>
                    <div   class="wjcelcm34c"   id="dropdown-template" style="display: none;">
                        <div   id="wjcelcm34c"   class="languagechoose">
                                                    <a href="javascript:setlang('zh-cn');" title="簡體中文" class="languagechoosea">簡體中文</a>
                                                    <a href="javascript:setlang('en');" title="English" class="languagechoosea">English</a>
                                                    <a href="javascript:;" title="繁體中文" class="languagechoosea">繁體中文</a>
                                                    <a href="javascript:setlang('ja');" title="日本語" class="languagechoosea">日本語</a>
                                                    <a href="javascript:setlang('ko');" title="???" class="languagechoosea">???</a>
                                                    <a href="javascript:setlang('ms');" title="Melayu" class="languagechoosea">Melayu</a>
                                                    <a href="javascript:setlang('fr');" title="Fran?ais" class="languagechoosea">Fran?ais</a>
                                                    <a href="javascript:setlang('de');" title="Deutsch" class="languagechoosea">Deutsch</a>
                                                </div>
                    </div>
                </div>
                <span id="wjcelcm34c"    class="head_right_line"></span>
                                <div style="display: block;" id="login" class="haed_login ">
                        <a href="javascript:;"  title="Login" class="haed_logina ">Login</a>
                    </div>
                    <div style="display: block;" id="reg" class="head_signup login">
                        <a href="javascript:;"  title="singup" class="head_signupa">singup</a>
                    </div>
                
            </div>
        </div>
    </header>
    
    	
    	<main>
    		<div   id="wjcelcm34c"   class="Article_Details_main">
    			<div   id="wjcelcm34c"   class="Article_Details_main1">
    							<div   id="wjcelcm34c"   class="Article_Details_main1M">
    					<div   id="wjcelcm34c"   class="phpgenera_Details_mainL1">
    						<a href="http://ipnx.cn/zh-tw/" title="首頁"
    							class="phpgenera_Details_mainL1a">首頁</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    												<a href="http://ipnx.cn/zh-tw/weixin-marketing.html"
    							class="phpgenera_Details_mainL1a">微信小程式</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    												<a href="http://ipnx.cn/zh-tw/weixin-kaifa.html"
    							class="phpgenera_Details_mainL1a">微信開發(fā)</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    						<span>asp.net微信開發(fā)用戶分組管理的範(fàn)例程式碼</span>
    					</div>
    					
    					<div   id="wjcelcm34c"   class="Articlelist_txts">
    						<div   id="wjcelcm34c"   class="Articlelist_txts_info">
    							<h1 class="Articlelist_txts_title">asp.net微信開發(fā)用戶分組管理的範(fàn)例程式碼</h1>
    							<div   id="wjcelcm34c"   class="Articlelist_txts_info_head">
    								<div   id="wjcelcm34c"   class="author_info">
    									<a href="http://ipnx.cn/zh-tw/member/13.html"  class="author_avatar">
    									<img class="lazy"  data-src="https://img.php.cn/upload/avatar/000/000/013/6177b5643d1eb119.png" src="/static/imghw/default1.png" alt="高洛峰">
    									</a>
    									<div   id="wjcelcm34c"   class="author_detail">
    																			<a href="http://ipnx.cn/zh-tw/member/13.html" class="author_name">高洛峰</a>
                                    										</div>
    								</div>
                    			</div>
    							<span id="wjcelcm34c"    class="Articlelist_txts_time">Mar 10, 2017 pm	 02:42 PM</span>
    															<div   id="wjcelcm34c"   class="Articlelist_txts_infos">
    																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss on">asp.net</span>
    																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">微信開發(fā)</span>
    																	</div>
    														
    						</div>
    					</div>
    					<hr />
    					<div   id="wjcelcm34c"   class="article_main php-article">
    						<div   id="wjcelcm34c"   class="article-list-left detail-content-wrap content">
    						<ins class="adsbygoogle"
    							style="display:block; text-align:center;"
    							data-ad-layout="in-article"
    							data-ad-format="fluid"
    							data-ad-client="ca-pub-5902227090019525"
    							data-ad-slot="3461856641">
    						</ins>
    						
    
    					<p>這篇文章主要介紹了asp.net微信開發(fā)中有關(guān)用戶分組管理的相關(guān)內(nèi)容,需要的朋友可以參考下</p>
    <p>上一篇已講解到新建用戶分組,移動(dòng)用戶到分組的功能,這一章主要講解修改分組名稱和刪除分組</p>
    <p style="text-align: center"><img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/013/bf909086c2a848ca9d8c41d3b8f16957-0.png" class="lazy" id="theimg" alt="asp.net微信開發(fā)用戶分組管理的範(fàn)例程式碼"    style="max-width:90%"  style="max-width:90%" title="asp.net微信開發(fā)用戶分組管理的範(fàn)例程式碼"></p>
    <p>直接上代碼,廢話不多說,獲取分組列表需要用到的實(shí)體類<br></p>
    <p class="jb51code"></p><pre class='brush:php;toolbar:false;'>
     /// <summary>
     /// 微信分組類
     /// </summary>
     public class WxGroupsInfo
     {
      public string Group_ID { get; set; }//分組編號
      public string Group_Name { get; set; }//分組名稱
      public string Group_Count { get; set; }//分組人數(shù)
     }</pre><p></p><p><strong>#「前臺程式碼:</strong><br/></p><p class="jb51code"></p><pre class='brush:php;toolbar:false;'><!DOCTYPE html>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <title></title>
      <link href="css/style.css" rel="Stylesheet" type="text/css" />
     <style type="text/css">
       .inputstyle { height:35px; line-height:35px; text-indent:5px; width:350px;background-image:url(&#39;images/inputbg.gif&#39;); background-repeat:repeat-x;border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df;margin:15px auto 15px auto;
      }
      a:hover { cursor:pointer;
      }
      .g_title { width:100%; border-bottom:2px solid #ced9df;font-size:20px; font-weight:bold; text-align:left; text-indent:5px; height:40px; line-height:40px;
      }
       th { height:35px;background-image:url(&#39;images/th.gif&#39;); background-repeat:repeat-x;
      }
       tr { height:30px;
       }
      #shownewgroup { width:300px; height:200px; background-color:white;z-index:9999; border:2px solid #DDD; top:40%; left:40%; background-color:#fff; position:fixed;margin:-100px auto auto -100px; display:none;
      }
      #shownewgroupzhezhaoceng { height:200%; width:200%; left:0px; top:0px;position:fixed; z-index:9998; background:rgb(50,50,50);background:rgba(0,0,0,0.5); display:none;
      }
      .closeLogin { height:30px; border-bottom:2px solid #31bb34; text-align:right; line-height:30px; font-size:14px; font-weight:bold;
      }
      a:hover { cursor:pointer;
      }
       .inputstyle22 { height:35px; line-height:35px; text-indent:5px; width:280px;background-image:url(&#39;images/inputbg.gif&#39;); background-repeat:repeat-x;border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df; float:left; margin:auto 5px auto 5px;
      }
     </style>
      <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
      <script type="text/javascript">
    
           //修改分組名稱調(diào)用的函數(shù)
       function EditRoster(PayNo,name) {
    
        //alert(PayNo+":"+name);
        var url = &#39;****.aspx?id=&#39; + PayNo+"&name="+name;//轉(zhuǎn)向網(wǎng)頁的地址; 
        var name = &#39;add&#39;;       //網(wǎng)頁名稱,可為空; 
        var iWidth = 600;       //彈出窗口的寬度; 
        var iHeight = 300;       //彈出窗口的高度; 
        //獲得窗口的垂直位置 
        var iTop = (window.screen.availHeight - 30 - iHeight) / 2;
        //獲得窗口的水平位置 
        var iLeft = (window.screen.availWidth - 10 - iWidth) / 2;
        window.open(url, name, &#39;height=&#39; + iHeight + &#39;,innerHeight=&#39; + iHeight + &#39;,width=&#39; + iWidth + &#39;,innerWidth=&#39; + iWidth + &#39;,top=&#39; + iTop + &#39;,left=&#39; + iLeft + &#39;,status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no&#39;);
       }
    
       $(document).ready(function () {
    
        $(".newGroups").click(function () {
         $("#shownewgroupzhezhaoceng").show();
         $("#shownewgroup").show();
        }),
       $(&#39;.closeloginpage&#39;).click(function () {
        $("#shownewgroupzhezhaoceng").hide();
        $("#shownewgroup").hide();
       })
       })
     </script>
    </head>
    <body>
     <form id="form1" runat="server">
      <p class="place">
      <span>位置:</span>
      <ul class="placeul">
       <li><a href="WelCome.aspx" target="rightFrame">首頁</a></li>
       <li>微信管理</li>
       <li>德橋員工服務(wù)中心----分組管理</li>
      </ul>
      </p>
      <p class="g_title">分組管理</p>
       <p id="shownewgroup">
         <p class="closeLogin"><a class="closeloginpage"><span style="float:left; color:#08a5e0; font-size:18px; text-indent:5px;">新建分組</span>關(guān)閉</a>  </p>
        <p style="font-size:12px; height:40px; color:red; line-height:40px;">  30字符以內(nèi)</p>
        <input type="text" id="txtgroupsName" name="txtgroupsName" class="inputstyle22" maxlength="30" runat="server" value="分組名稱" onfocus="if(value==defaultValue){value=&#39;&#39;;this.style.color=&#39;#000&#39;}" onblur="if(!value){value=defaultValue;this.style.color=&#39;#999&#39;}" style="color:#999"/>
       <asp:LinkButton ID="LinkBtnCreateGroup" runat="server" OnClick="LinkBtnCreateGroup_Click"><p style="background-image:url(&#39;images/buttonbg.png&#39;); width:111px; height:35px; line-height:35px; font-weight:bold;float:left; margin-top:20px; margin-left:5px; text-align:center;color:#fff;"> 確定創(chuàng)建</p></asp:LinkButton>
         </p>
        <p id="shownewgroupzhezhaoceng"></p>
      <table style="width:1124px; margin:10px auto 10px auto; border:1px solid #ecd9df;text-align:center;">
       <asp:Repeater ID="RepeaterGroupList" runat="server" OnItemCommand="RepeaterGroupList_ItemCommand" OnItemDataBound="RepeaterGroupList_ItemDataBound">
        <HeaderTemplate>
         <tr>
          <th>序號</th>
          <th>ID編號</th>
          <th>分組名稱</th>
          <th>分組人數(shù)</th>
          <th>操作</th>
         </tr>
        </HeaderTemplate>
        <ItemTemplate>
         <tr style=&#39;background-color: <%#(Container.ItemIndex%2==0)?"#fff":"#ced9ff"%>&#39;>
          <td><asp:Label ID="lbXuHao" runat="server" Text=""></asp:Label></td>
          <td><%# Eval("Group_ID") %></td>
          <td><%# Eval("Group_Name") %></td>
          <td><%# Eval("Group_Count") %></td>
          <td>
            <a onclick="EditRoster(&#39;<%# Eval("Group_ID") %>&#39;,&#39;<%# Eval("Group_Name") %>&#39;);">修改分組名稱</a> 
             <asp:LinkButton ID="LinkBtnDeleteGroup" runat="server" CommandName="DeleteGroups" CommandArgument=&#39;<%# Eval("Group_ID") %>&#39; >刪除分組</asp:LinkButton>
          </td>
         </tr>
        </ItemTemplate>
       </asp:Repeater>
      </table>
      <a class="newGroups"><p style="background-image:url(&#39;images/buttonbg.png&#39;); width:111px; height:35px; line-height:35px; margin:10px auto 10px 28px; font-weight:bold;float:left; text-align:center;color:#fff;"> ┼ 新建分組</p></a>
     </form>
    </body>
    </html></pre><p></p><p><strong><br/></strong></p><p class="jb51code"></p><p></p><p><strong><span style="color: #800000"></span></strong></p><p style="text-align: center"><img src="/static/imghw/default1.png"  data-src="https://img.php.cn/upload/article/000/000/013/afa3606ea77e217108a7ce2136f92d77-1.png"  class="lazy"  id="theimg" alt="asp.net微信開發(fā)用戶分組管理的範(fàn)例程式碼"    style="max-width:90%"  style="max-width:90%" title="asp.net微信開發(fā)用戶分組管理的範(fàn)例程式碼"/></p><p><strong>後臺程式碼如下:</strong><br/>?</p><p class="jb51code"></p><pre class='brush:php;toolbar:false;'>protected void Page_Load(object sender, EventArgs e)
      {
       if(!Page.IsPostBack)
       {
        BindGroupList();
        this.DataBind();
       }
      }
    
      private void BindGroupList()
      {
       WeiXinServer wxs = new WeiXinServer();
    
       ///從緩存讀取accesstoken
       string Access_token = Cache["Access_token"] as string;
    
       if (Access_token == null)
       {
        //如果為空,重新獲取
        Access_token = wxs.GetAccessToken();
    
        //設(shè)置緩存的數(shù)據(jù)7000秒后過期
        Cache.Insert("Access_token", Access_token, null, DateTime.Now.AddSeconds(7000), System.Web.Caching.Cache.NoSlidingExpiration);
       }
    
       string Access_tokento = Access_token.Substring(17, Access_token.Length - 37);
    
       string jsonres = "";
    
       string content = Cache["AllGroups_content"] as string;
    
       if (content == null)
       {
        jsonres = "https://api.weixin.qq.com/cgi-bin/groups/get?access_token=" + Access_tokento;
    
        HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(jsonres);
        myRequest.Method = "GET";
        HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse();
        StreamReader reader = new StreamReader(myResponse.GetResponseStream(), Encoding.UTF8);
        content = reader.ReadToEnd();
        reader.Close();
    
        //設(shè)置緩存的數(shù)據(jù)7000秒后過期
        Cache.Insert("AllGroups_content", content, null, DateTime.Now.AddSeconds(7000), System.Web.Caching.Cache.NoSlidingExpiration);
       }
    
       //使用前需要引用Newtonsoft.json.dll文件
       JObject jsonObj = JObject.Parse(content);
    
    
       int groupsnum = jsonObj["groups"].Count();
    
    
       List<WxGroupsInfo> wxgrouplist = new List<WxGroupsInfo>();
       
       for (int i = 0; i < groupsnum; i++)
       {
        WxGroupsInfo wginfo = new WxGroupsInfo();
    
        wginfo.Group_ID = jsonObj["groups"][i]["id"].ToString();
    
        wginfo.Group_Name = jsonObj["groups"][i]["name"].ToString();
    
        wginfo.Group_Count = jsonObj["groups"][i]["count"].ToString();
    
        wxgrouplist.Add(wginfo);
       }
    
       this.RepeaterGroupList.DataSource = wxgrouplist;
       this.RepeaterGroupList.DataBind();
      }
      /// <summary>
      /// 綁定事件
      /// </summary>
      /// <param name="sender"></param>
      /// <param name="e"></param>
      protected void RepeaterGroupList_ItemDataBound(object sender, RepeaterItemEventArgs e)
      {
       if(e.Item.ItemType==ListItemType.Item||e.Item.ItemType==ListItemType.AlternatingItem)
       {
        Label lbXuHao = e.Item.FindControl("lbXuHao") as Label;
    
        int num = 1;
    
        lbXuHao.Text = num.ToString();
    
        for (int i = 0; i < this.RepeaterGroupList.Items.Count;i++ )
        {
         num += 1;
         lbXuHao.Text = num.ToString();
        }
    
    
        LinkButton LinkBtnDeleteGroup = e.Item.FindControl("LinkBtnDeleteGroup") as LinkButton;
    
        LinkBtnDeleteGroup.Attributes.Add("OnClick", "return confirm(&#39;您確定要?jiǎng)h除該分組?刪除后該分組內(nèi)的人員即將恢復(fù)到默認(rèn)分組!&#39;)");
    
       }
      }
      /// <summary>
      /// 執(zhí)行事件
      /// </summary>
      /// <param name="source"></param>
      /// <param name="e"></param>
      protected void RepeaterGroupList_ItemCommand(object source, RepeaterCommandEventArgs e)
      {
    
       //ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "", "alert(&#39;刪除接口已關(guān)閉!&#39;);location=&#39;WxGroupManageList.aspx&#39;;", true);
       if (e.CommandName == "DeleteGroups")
       {
        WeiXinServer wxs = new WeiXinServer();
        string res = "";
    
        ///從緩存讀取accesstoken
        string Access_token = Cache["Access_token"] as string;
    
        if (Access_token == null)
        {
         //如果為空,重新獲取
         Access_token = wxs.GetAccessToken();
    
         //設(shè)置緩存的數(shù)據(jù)7000秒后過期
         Cache.Insert("Access_token", Access_token, null, DateTime.Now.AddSeconds(7000), System.Web.Caching.Cache.NoSlidingExpiration);
        }
    
        string Access_tokento = Access_token.Substring(17, Access_token.Length - 37);
    
    
        string posturl = "https://api.weixin.qq.com/cgi-bin/groups/delete?access_token=" + Access_tokento;
    
    
        //POST數(shù)據(jù)例子: POST數(shù)據(jù)例子:{"group":{"id":108}}
    
        string groupid = e.CommandArgument.ToString();
    
        string postData = "{\"group\":{\"id\":\"" + groupid.ToString() + "\"}}";
    
        res = wxs.GetPage(posturl, postData);
    
        ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "", "alert(&#39;刪除成功!由于緩存問題,您可能需要重新登錄才能看到效果!&#39;);location=&#39;WxGroupManageList.aspx&#39;;", true);
       }
      }
      /// <summary>
      /// 創(chuàng)建分組
      /// </summary>
      /// <param name="sender"></param>
      /// <param name="e"></param>
      protected void LinkBtnCreateGroup_Click(object sender, EventArgs e)
      {
       if (this.txtgroupsName.Value.ToString().Equals("分組名稱"))
       {
        ////
        ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "", "alert(&#39;不能為空!&#39;)", true);
        this.txtgroupsName.Focus();
        return;
       }
    
    
       WeiXinServer wxs = new WeiXinServer();
       string res = "";
    
       ///從緩存讀取accesstoken
       string Access_token = Cache["Access_token"] as string;
    
       if (Access_token == null)
       {
        //如果為空,重新獲取
        Access_token = wxs.GetAccessToken();
    
        //設(shè)置緩存的數(shù)據(jù)7000秒后過期
        Cache.Insert("Access_token", Access_token, null, DateTime.Now.AddSeconds(7000), System.Web.Caching.Cache.NoSlidingExpiration);
       }
    
       string Access_tokento = Access_token.Substring(17, Access_token.Length - 37);
    
    
       string posturl = "https://api.weixin.qq.com/cgi-bin/groups/create?access_token=" + Access_tokento;
    
    
       string postData = "{\"group\":{\"name\":\"" + this.txtgroupsName.Value.ToString().Trim() + "\"}}";
    
    
       res = wxs.GetPage(posturl, postData);
    
    
       ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "", "alert(&#39;創(chuàng)建成功!如未顯示,請退出重新登錄即可!&#39;);location=&#39;WxGroupManageList.aspx&#39;;", true);
      }</pre><p></p><p><strong></strong>#修改分組名稱的頁面<br/></p><p class="jb51code"></p><p></p><p>##「前臺程式碼:</p>#############<pre class='brush:php;toolbar:false;'><!DOCTYPE html>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
     <title></title>
     <style type="text/css">
      .inputstyle { height:35px; line-height:35px; text-indent:5px; width:280px;background-image:url(&#39;images/inputbg.gif&#39;); background-repeat:repeat-x;border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df; float:left; margin:auto 5px auto 5px;
      }
     </style>
    </head>
    <body>
     <form id="form1" runat="server">
      <table border="1" style=" width:500px; border-collapse:collapse; margin:20px auto 20px auto; line-height:40px;">
       <tr>
        <td style="text-align:right;">分組編號:</td>
        <td> <asp:TextBox ID="txtGroupId" CssClass="inputstyle" Enabled="false" runat="server"></asp:TextBox></td>
       </tr>
       <tr>
        <td style="text-align:right;">分組名稱:</td>
        <td> 
         <asp:TextBox ID="txtGroupName" CssClass="inputstyle" runat="server"></asp:TextBox>
        </td>
       </tr>
       <tr>
        <td></td>
        <td>
          <asp:LinkButton ID="LinkBtnSet" runat="server" OnClick="LinkBtnSet_Click" ><p style="background-image:url(&#39;images/buttonbg.png&#39;); width:111px; height:35px; line-height:35px; float:left; font-weight:bold;text-align:center;color:#fff;"> 設(shè) 置</p></asp:LinkButton></td>
       </tr>
      </table>
     </form>
    </body>
    </html></pre>############ 後臺程式碼: ###############<pre class='brush:php;toolbar:false;'>
     protected void Page_Load(object sender, EventArgs e)
      {
       if(!Page.IsPostBack)
       {
        if (Request.QueryString["id"] != null)
        {
         string group_id = Request.QueryString["id"].ToString();
         string group_name = Request.QueryString["name"].ToString();
         this.txtGroupId.Text = group_id.ToString();
         this.txtGroupName.Text = group_name.ToString();
         this.txtGroupName.Focus();
        }
       }
      }
      /// <summary>
      /// 設(shè)置
      /// </summary>
      /// <param name="sender"></param>
      /// <param name="e"></param>
      protected void LinkBtnSet_Click(object sender, EventArgs e)
      {
       if(String.IsNullOrWhiteSpace(this.txtGroupName.Text.ToString().Trim()))
       {
        ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "", "alert(&#39;不能為空!&#39;);", true);
        this.txtGroupName.Focus();
        return;
       }
       if (this.txtGroupName.Text.ToString().Trim().Length>30)
       {
        ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "", "alert(&#39;組名稱應(yīng)在30個(gè)字符之內(nèi)!&#39;);", true);
        this.txtGroupName.Focus();
        return;
       }
    
       WeiXinServer wxs = new WeiXinServer();
       string res = "";
    
       ///從緩存讀取accesstoken
       string Access_token = Cache["Access_token"] as string;
    
       if (Access_token == null)
       {
        //如果為空,重新獲取
        Access_token = wxs.GetAccessToken();
    
        //設(shè)置緩存的數(shù)據(jù)7000秒后過期
        Cache.Insert("Access_token", Access_token, null, DateTime.Now.AddSeconds(7000), System.Web.Caching.Cache.NoSlidingExpiration);
       }
    
       string Access_tokento = Access_token.Substring(17, Access_token.Length - 37);
    
    
       string posturl = "https://api.weixin.qq.com/cgi-bin/groups/update?access_token=" + Access_tokento;
    
    
       //POST數(shù)據(jù)例子:POST數(shù)據(jù)例子:{"group":{"id":108,"name":"test2_modify2"}}
    
    
       //string postData = "{\"group\":{\"name\":\"" + this.txtgroupsName.Value.ToString().Trim() + "\"}}";
       string postData = "{\"group\":{\"id\":\"" + txtGroupId.Text.ToString() +"\",\"name\":\""+this.txtGroupName.Text.ToString()+"\"}}";
    
    
       res = wxs.GetPage(posturl, postData);
    
    
       //使用前需藥引用Newtonsoft.json.dll文件
       JObject jsonObj = JObject.Parse(res);
    
       ///獲取返回結(jié)果的正確|true|false,
       string isright = jsonObj["errcode"].ToString();//0
       string istrueorfalse = jsonObj["errmsg"].ToString();//ok
       if (isright.Equals("0") && istrueorfalse.Equals("ok"))
       {
               ///修改成功之后,刷新父窗體,關(guān)閉本頁
        ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "", "alert(&#39;修改成功!如未正常顯示,屬緩存問題,請重新登錄即可!&#39;);window.opener.location.reload();this.close();", true);
       }
       else
       {
        ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "", "alert(&#39;修改失敗!&#39;);this.close();", true);
       }
    
    
      }</pre>#########以上就是使用者分組管理的全部核心程式碼,僅供參考,希望對大家的學(xué)習(xí)有所幫助。 ###<p>以上是asp.net微信開發(fā)用戶分組管理的範(fàn)例程式碼的詳細(xì)內(nèi)容。更多資訊請關(guān)注PHP中文網(wǎng)其他相關(guān)文章!</p>
    
    
    						</div>
    					</div>
    					<div   id="wjcelcm34c"   class="wzconShengming_sp">
    						<div   id="wjcelcm34c"   class="bzsmdiv_sp">本網(wǎng)站聲明</div>
    						<div>本文內(nèi)容由網(wǎng)友自願(yuàn)投稿,版權(quán)歸原作者所有。本站不承擔(dān)相應(yīng)的法律責(zé)任。如發(fā)現(xiàn)涉嫌抄襲或侵權(quán)的內(nèi)容,請聯(lián)絡(luò)admin@php.cn</div>
    					</div>
    				</div>
    
    				<ins class="adsbygoogle"
         style="display:block"
         data-ad-format="autorelaxed"
         data-ad-client="ca-pub-5902227090019525"
         data-ad-slot="2507867629"></ins>
    
    
    
    				<div   id="wjcelcm34c"   class="AI_ToolDetails_main4sR">
    
    
    				<ins class="adsbygoogle"
            style="display:block"
            data-ad-client="ca-pub-5902227090019525"
            data-ad-slot="3653428331"
            data-ad-format="auto"
            data-full-width-responsive="true"></ins>
        
    
    
    					<!-- <div   id="wjcelcm34c"   class="phpgenera_Details_mainR4">
    						<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
    							<div   id="wjcelcm34c"   class="phpmain1_4R_readrank_top">
    								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									src="/static/imghw/hotarticle2.png" alt="" />
    								<h2>熱門文章</h2>
    							</div>
    							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/1796832397.html" title="Grass Wonder Build Guide |烏瑪媽媽漂亮的德比" class="phpgenera_Details_mainR4_bottom_title">Grass Wonder Build Guide |烏瑪媽媽漂亮的德比</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 週前</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/1796833110.html" title="<??>:在森林裡99夜 - 所有徽章以及如何解鎖" class="phpgenera_Details_mainR4_bottom_title"><??>:在森林裡99夜 - 所有徽章以及如何解鎖</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>3 週前</span>
    										<span>By DDD</span>
    									</div>
    								</div>
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/1796831605.html" title="烏瑪?shù)姆劢z漂亮的德比橫幅日程(2025年7月)" class="phpgenera_Details_mainR4_bottom_title">烏瑪?shù)姆劢z漂亮的德比橫幅日程(2025年7月)</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 週前</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/1796831905.html" title="Windows安全是空白或不顯示選項(xiàng)" class="phpgenera_Details_mainR4_bottom_title">Windows安全是空白或不顯示選項(xiàng)</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 週前</span>
    										<span>By 下次還敢</span>
    									</div>
    								</div>
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/1796836699.html" title="Rimworld Odyssey溫度指南和Gravtech" class="phpgenera_Details_mainR4_bottom_title">Rimworld Odyssey溫度指南和Gravtech</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>3 週前</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    														</div>
    							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
    								<a href="http://ipnx.cn/zh-tw/article.html">顯示更多</a>
    							</div>
    						</div>
    					</div> -->
    
    
    											<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3">
    							<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
    								<div   id="wjcelcm34c"   class="phpmain1_4R_readrank_top">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/hottools2.png" alt="" />
    									<h2>熱AI工具</h2>
    								</div>
    								<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_bottom">
    																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
    											<a href="http://ipnx.cn/zh-tw/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173410641626608.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undress AI Tool" />
    											</a>
    											<div   id="wjcelcm34c"   class="phpmain_tab2_mids_info">
    												<a href="http://ipnx.cn/zh-tw/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_title">
    													<h3>Undress AI Tool</h3>
    												</a>
    												<p>免費(fèi)脫衣圖片</p>
    											</div>
    										</div>
    																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
    											<a href="http://ipnx.cn/zh-tw/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411540686492.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undresser.AI Undress" />
    											</a>
    											<div   id="wjcelcm34c"   class="phpmain_tab2_mids_info">
    												<a href="http://ipnx.cn/zh-tw/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_title">
    													<h3>Undresser.AI Undress</h3>
    												</a>
    												<p>人工智慧驅(qū)動(dòng)的應(yīng)用程序,用於創(chuàng)建逼真的裸體照片</p>
    											</div>
    										</div>
    																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
    											<a href="http://ipnx.cn/zh-tw/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411552797167.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="AI Clothes Remover" />
    											</a>
    											<div   id="wjcelcm34c"   class="phpmain_tab2_mids_info">
    												<a href="http://ipnx.cn/zh-tw/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_title">
    													<h3>AI Clothes Remover</h3>
    												</a>
    												<p>用於從照片中去除衣服的線上人工智慧工具。</p>
    											</div>
    										</div>
    																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
    											<a href="http://ipnx.cn/zh-tw/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411529149311.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Clothoff.io" />
    											</a>
    											<div   id="wjcelcm34c"   class="phpmain_tab2_mids_info">
    												<a href="http://ipnx.cn/zh-tw/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_title">
    													<h3>Clothoff.io</h3>
    												</a>
    												<p>AI脫衣器</p>
    											</div>
    										</div>
    																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
    											<a href="http://ipnx.cn/zh-tw/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173414504068133.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Video Face Swap" />
    											</a>
    											<div   id="wjcelcm34c"   class="phpmain_tab2_mids_info">
    												<a href="http://ipnx.cn/zh-tw/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_title">
    													<h3>Video Face Swap</h3>
    												</a>
    												<p>使用我們完全免費(fèi)的人工智慧換臉工具,輕鬆在任何影片中換臉!</p>
    											</div>
    										</div>
    																</div>
    								<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
    									<a href="http://ipnx.cn/zh-tw/ai">顯示更多</a>
    								</div>
    							</div>
    						</div>
    					
    
    
    					<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4">
    						<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
    							<div   id="wjcelcm34c"   class="phpmain1_4R_readrank_top">
    								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									src="/static/imghw/hotarticle2.png" alt="" />
    								<h2>熱門文章</h2>
    							</div>
    							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/1796832397.html" title="Grass Wonder Build Guide |烏瑪媽媽漂亮的德比" class="phpgenera_Details_mainR4_bottom_title">Grass Wonder Build Guide |烏瑪媽媽漂亮的德比</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 週前</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/1796833110.html" title="<??>:在森林裡99夜 - 所有徽章以及如何解鎖" class="phpgenera_Details_mainR4_bottom_title"><??>:在森林裡99夜 - 所有徽章以及如何解鎖</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>3 週前</span>
    										<span>By DDD</span>
    									</div>
    								</div>
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/1796831605.html" title="烏瑪?shù)姆劢z漂亮的德比橫幅日程(2025年7月)" class="phpgenera_Details_mainR4_bottom_title">烏瑪?shù)姆劢z漂亮的德比橫幅日程(2025年7月)</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 週前</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/1796831905.html" title="Windows安全是空白或不顯示選項(xiàng)" class="phpgenera_Details_mainR4_bottom_title">Windows安全是空白或不顯示選項(xiàng)</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>4 週前</span>
    										<span>By 下次還敢</span>
    									</div>
    								</div>
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/1796836699.html" title="Rimworld Odyssey溫度指南和Gravtech" class="phpgenera_Details_mainR4_bottom_title">Rimworld Odyssey溫度指南和Gravtech</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>3 週前</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    														</div>
    							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
    								<a href="http://ipnx.cn/zh-tw/article.html">顯示更多</a>
    							</div>
    						</div>
    					</div>
    
    
    											<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3">
    							<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
    								<div   id="wjcelcm34c"   class="phpmain1_4R_readrank_top">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/hottools2.png" alt="" />
    									<h2>熱工具</h2>
    								</div>
    								<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_bottom">
    																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
    											<a href="http://ipnx.cn/zh-tw/toolset/development-tools/92" title="記事本++7.3.1" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab96f0f39f7357.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="記事本++7.3.1" />
    											</a>
    											<div   id="wjcelcm34c"   class="phpmain_tab2_mids_info">
    												<a href="http://ipnx.cn/zh-tw/toolset/development-tools/92" title="記事本++7.3.1" class="phpmain_tab2_mids_title">
    													<h3>記事本++7.3.1</h3>
    												</a>
    												<p>好用且免費(fèi)的程式碼編輯器</p>
    											</div>
    										</div>
    																			<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
    											<a href="http://ipnx.cn/zh-tw/toolset/development-tools/93" title="SublimeText3漢化版" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97a3baad9677.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3漢化版" />
    											</a>
    											<div   id="wjcelcm34c"   class="phpmain_tab2_mids_info">
    												<a href="http://ipnx.cn/zh-tw/toolset/development-tools/93" title="SublimeText3漢化版" class="phpmain_tab2_mids_title">
    													<h3>SublimeText3漢化版</h3>
    												</a>
    												<p>中文版,非常好用</p>
    											</div>
    										</div>
    																			<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
    											<a href="http://ipnx.cn/zh-tw/toolset/development-tools/121" title="禪工作室 13.0.1" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97ecd1ab2670.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="禪工作室 13.0.1" />
    											</a>
    											<div   id="wjcelcm34c"   class="phpmain_tab2_mids_info">
    												<a href="http://ipnx.cn/zh-tw/toolset/development-tools/121" title="禪工作室 13.0.1" class="phpmain_tab2_mids_title">
    													<h3>禪工作室 13.0.1</h3>
    												</a>
    												<p>強(qiáng)大的PHP整合開發(fā)環(huán)境</p>
    											</div>
    										</div>
    																			<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
    											<a href="http://ipnx.cn/zh-tw/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d0e0fc74683535.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Dreamweaver CS6" />
    											</a>
    											<div   id="wjcelcm34c"   class="phpmain_tab2_mids_info">
    												<a href="http://ipnx.cn/zh-tw/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_title">
    													<h3>Dreamweaver CS6</h3>
    												</a>
    												<p>視覺化網(wǎng)頁開發(fā)工具</p>
    											</div>
    										</div>
    																			<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
    											<a href="http://ipnx.cn/zh-tw/toolset/development-tools/500" title="SublimeText3 Mac版" class="phpmain_tab2_mids_top_img">
    												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d34035e2757995.png?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Mac版" />
    											</a>
    											<div   id="wjcelcm34c"   class="phpmain_tab2_mids_info">
    												<a href="http://ipnx.cn/zh-tw/toolset/development-tools/500" title="SublimeText3 Mac版" class="phpmain_tab2_mids_title">
    													<h3>SublimeText3 Mac版</h3>
    												</a>
    												<p>神級程式碼編輯軟體(SublimeText3)</p>
    											</div>
    										</div>
    																	</div>
    								<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
    									<a href="http://ipnx.cn/zh-tw/ai">顯示更多</a>
    								</div>
    							</div>
    						</div>
    										
    
    					
    					<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4">
    						<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
    							<div   id="wjcelcm34c"   class="phpmain1_4R_readrank_top">
    								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    									src="/static/imghw/hotarticle2.png" alt="" />
    								<h2>熱門話題</h2>
    							</div>
    							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/laravel-tutori" title="Laravel 教程" class="phpgenera_Details_mainR4_bottom_title">Laravel 教程</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1597</span>
    										</div>
    										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>29</span>
    										</div>
    									</div>
    								</div>
    															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://ipnx.cn/zh-tw/faq/php-tutorial" title="PHP教程" class="phpgenera_Details_mainR4_bottom_title">PHP教程</a>
    									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1488</span>
    										</div>
    										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>72</span>
    										</div>
    									</div>
    								</div>
    														</div>
    							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
    								<a href="http://ipnx.cn/zh-tw/faq/zt">顯示更多</a>
    							</div>
    						</div>
    					</div>
    				</div>
    			</div>
    							<div   id="wjcelcm34c"   class="Article_Details_main2">
    					<div   id="wjcelcm34c"   class="phpgenera_Details_mainL4">
    						<div   id="wjcelcm34c"   class="phpmain1_2_top">
    							<a href="javascript:void(0);" class="phpmain1_2_top_title">Related knowledge<img
    									src="/static/imghw/index2_title2.png" alt="" /></a>
    						</div>
    						<div   id="wjcelcm34c"   class="phpgenera_Details_mainL4_info">
    
    													<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
    								<a href="http://ipnx.cn/zh-tw/faq/538163.html" title="PHP微信開發(fā):如何實(shí)作訊息加密解密" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/202305/13/2023051311410842487.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP微信開發(fā):如何實(shí)作訊息加密解密" />
    								</a>
    								<a href="http://ipnx.cn/zh-tw/faq/538163.html" title="PHP微信開發(fā):如何實(shí)作訊息加密解密" class="phphistorical_Version2_mids_title">PHP微信開發(fā):如何實(shí)作訊息加密解密</a>
    								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 13, 2023 am	 11:40 AM</span>
    								<p class="Articlelist_txts_p">PHP是一種開源的腳本語言,廣泛應(yīng)用於網(wǎng)頁開發(fā)和伺服器端編程,尤其在微信開發(fā)中得到了廣泛的應(yīng)用。如今,越來越多的企業(yè)和開發(fā)者開始使用PHP進(jìn)行微信開發(fā),因?yàn)樗蔀榱苏嬲囊讓W(xué)易用的開發(fā)語言。在微信開發(fā)中,訊息的加密和解密是一個(gè)非常重要的問題,因?yàn)樗鼈兩婕百Y料的安全性。對於沒有加密和解密方式的消息,駭客可以輕鬆取得其中的數(shù)據(jù),對用戶造成威脅</p>
    							</div>
    														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
    								<a href="http://ipnx.cn/zh-tw/faq/539146.html" title="PHP微信開發(fā):如何實(shí)現(xiàn)投票功能" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/202305/14/2023051411211785644.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP微信開發(fā):如何實(shí)現(xiàn)投票功能" />
    								</a>
    								<a href="http://ipnx.cn/zh-tw/faq/539146.html" title="PHP微信開發(fā):如何實(shí)現(xiàn)投票功能" class="phphistorical_Version2_mids_title">PHP微信開發(fā):如何實(shí)現(xiàn)投票功能</a>
    								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 14, 2023 am	 11:21 AM</span>
    								<p class="Articlelist_txts_p">在微信公眾號開發(fā)中,投票功能經(jīng)常被運(yùn)用。投票功能是讓使用者快速參與互動(dòng)的好方式,也是舉辦活動(dòng)和調(diào)查意見的重要工具。本文將為您介紹如何使用PHP實(shí)作微信投票功能。在取得微信公眾號授權(quán)首先,你需要取得微信公眾號的授權(quán)。在微信公眾平臺上,你需要設(shè)定微信公眾號碼的api地址、官方帳號和公眾號碼對應(yīng)的token。在我們使用PHP語言開發(fā)的過程中,我們需要使用微信官方提供的PH</p>
    							</div>
    														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
    								<a href="http://ipnx.cn/zh-tw/faq/538461.html" title="用PHP開發(fā)微信群發(fā)工具" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/202305/13/2023051317002079423.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="用PHP開發(fā)微信群發(fā)工具" />
    								</a>
    								<a href="http://ipnx.cn/zh-tw/faq/538461.html" title="用PHP開發(fā)微信群發(fā)工具" class="phphistorical_Version2_mids_title">用PHP開發(fā)微信群發(fā)工具</a>
    								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 13, 2023 pm	 05:00 PM</span>
    								<p class="Articlelist_txts_p">隨著微信的普及,越來越多的企業(yè)開始將其作為行銷工具。而微信群發(fā)功能,則是企業(yè)進(jìn)行微信行銷的重要手段之一。但是,如果只依靠手動(dòng)發(fā)送,對於行銷人員來說是一件極為費(fèi)時(shí)費(fèi)力的工作。所以,開發(fā)一款微信群發(fā)工具就顯得格外重要。本文將介紹如何使用PHP開發(fā)微信群發(fā)工具。一、準(zhǔn)備工作開發(fā)微信群發(fā)工具,我們需要掌握以下幾個(gè)技術(shù)點(diǎn):PHP基礎(chǔ)知識微信公眾平臺開發(fā)開發(fā)工具:Sub</p>
    							</div>
    														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
    								<a href="http://ipnx.cn/zh-tw/faq/538502.html" title="PHP微信開發(fā):如何實(shí)現(xiàn)客服聊天視窗管理" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/202305/13/2023051317512149843.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP微信開發(fā):如何實(shí)現(xiàn)客服聊天視窗管理" />
    								</a>
    								<a href="http://ipnx.cn/zh-tw/faq/538502.html" title="PHP微信開發(fā):如何實(shí)現(xiàn)客服聊天視窗管理" class="phphistorical_Version2_mids_title">PHP微信開發(fā):如何實(shí)現(xiàn)客服聊天視窗管理</a>
    								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 13, 2023 pm	 05:51 PM</span>
    								<p class="Articlelist_txts_p">微信是目前全球用戶規(guī)模最大的社群平臺之一,隨著行動(dòng)網(wǎng)路的普及,越來越多的企業(yè)開始意識到微信行銷的重要性。在進(jìn)行微信行銷時(shí),客服服務(wù)是至關(guān)重要的一環(huán)。為了更好地管理客服聊天窗口,我們可以藉助PHP語言進(jìn)行微信開發(fā)。一、PHP微信開發(fā)簡介PHP是一種開源的伺服器端腳本語言,廣泛用於Web開發(fā)領(lǐng)域。結(jié)合微信公眾平臺提供的開發(fā)接口,我們可以使用PHP語言進(jìn)行微信</p>
    							</div>
    														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
    								<a href="http://ipnx.cn/zh-tw/faq/538446.html" title="PHP微信開發(fā):如何實(shí)現(xiàn)使用者標(biāo)籤管理" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/202305/13/2023051316320410288.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP微信開發(fā):如何實(shí)現(xiàn)使用者標(biāo)籤管理" />
    								</a>
    								<a href="http://ipnx.cn/zh-tw/faq/538446.html" title="PHP微信開發(fā):如何實(shí)現(xiàn)使用者標(biāo)籤管理" class="phphistorical_Version2_mids_title">PHP微信開發(fā):如何實(shí)現(xiàn)使用者標(biāo)籤管理</a>
    								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 13, 2023 pm	 04:31 PM</span>
    								<p class="Articlelist_txts_p">在微信公眾號開發(fā)中,使用者標(biāo)籤管理是一個(gè)非常重要的功能,可以讓開發(fā)者更了解和管理自己的使用者。本篇文章將介紹如何使用PHP實(shí)作微信使用者標(biāo)籤管理功能。一、取得微信用戶openid在使用微信用戶標(biāo)籤管理功能之前,我們首先需要取得用戶的openid。在微信公眾號開發(fā)中,透過使用者授權(quán)的方式取得openid是比較常見的做法。在使用者授權(quán)完成後,我們可以透過以下程式碼取得用</p>
    							</div>
    														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
    								<a href="http://ipnx.cn/zh-tw/faq/538445.html" title="PHP微信開發(fā):如何實(shí)作群發(fā)訊息傳送記錄" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/202305/13/2023051316314889614.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP微信開發(fā):如何實(shí)作群發(fā)訊息傳送記錄" />
    								</a>
    								<a href="http://ipnx.cn/zh-tw/faq/538445.html" title="PHP微信開發(fā):如何實(shí)作群發(fā)訊息傳送記錄" class="phphistorical_Version2_mids_title">PHP微信開發(fā):如何實(shí)作群發(fā)訊息傳送記錄</a>
    								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 13, 2023 pm	 04:31 PM</span>
    								<p class="Articlelist_txts_p">隨著微信成為了人們生活中越來越重要的通訊工具,其敏捷的訊息傳遞功能迅速受到廣大企業(yè)和個(gè)人的青睞。對企業(yè)而言,將微信發(fā)展為一個(gè)行銷平臺已經(jīng)成為趨勢,而微信開發(fā)的重要性也逐漸凸顯。在其中,群發(fā)功能更是被廣泛使用,那麼,作為PHP程式設(shè)計(jì)師,如何實(shí)現(xiàn)群發(fā)訊息發(fā)送記錄呢?以下將為大家簡單介紹一下。 1.了解微信公眾號相關(guān)開發(fā)知識在了解如何實(shí)現(xiàn)群發(fā)訊息發(fā)送記錄之前,我</p>
    							</div>
    														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
    								<a href="http://ipnx.cn/zh-tw/faq/567918.html" title="使用PHP實(shí)現(xiàn)微信公眾號開發(fā)的步驟" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/000/887/227/168784001718638.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="使用PHP實(shí)現(xiàn)微信公眾號開發(fā)的步驟" />
    								</a>
    								<a href="http://ipnx.cn/zh-tw/faq/567918.html" title="使用PHP實(shí)現(xiàn)微信公眾號開發(fā)的步驟" class="phphistorical_Version2_mids_title">使用PHP實(shí)現(xiàn)微信公眾號開發(fā)的步驟</a>
    								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jun 27, 2023 pm	 12:26 PM</span>
    								<p class="Articlelist_txts_p">如何使用PHP實(shí)現(xiàn)微信公眾號開發(fā)微信公眾號已經(jīng)成為了許多企業(yè)推廣和互動(dòng)的重要管道,而PHP作為常用的Web語言,也可以用來進(jìn)行微信公眾號的開發(fā)。本文將介紹使用PHP實(shí)現(xiàn)微信公眾號開發(fā)的具體步驟。第一步:取得微信公眾號的開發(fā)者帳號在開始微信公眾號開發(fā)之前,需要先去申請一個(gè)微信公眾號的開發(fā)者帳號。具體的註冊流程可參考微信公眾平臺的官方網(wǎng)</p>
    							</div>
    														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
    								<a href="http://ipnx.cn/zh-tw/faq/545207.html" title="如何使用PHP進(jìn)行微信開發(fā)?" class="phphistorical_Version2_mids_img">
    									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
    										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/202305/21/2023052108380095163.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="如何使用PHP進(jìn)行微信開發(fā)?" />
    								</a>
    								<a href="http://ipnx.cn/zh-tw/faq/545207.html" title="如何使用PHP進(jìn)行微信開發(fā)?" class="phphistorical_Version2_mids_title">如何使用PHP進(jìn)行微信開發(fā)?</a>
    								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 21, 2023 am	 08:37 AM</span>
    								<p class="Articlelist_txts_p">隨著網(wǎng)路和行動(dòng)智慧型裝置的發(fā)展,微信成為了社交和行銷領(lǐng)域不可或缺的一部分。在這個(gè)越來越數(shù)位化的時(shí)代,如何使用PHP進(jìn)行微信開發(fā)已經(jīng)成為了許多開發(fā)者的關(guān)注點(diǎn)。本文主要介紹如何使用PHP進(jìn)行微信發(fā)展的相關(guān)知識點(diǎn),以及其中的一些技巧和注意事項(xiàng)。一、開發(fā)環(huán)境準(zhǔn)備在進(jìn)行微信開發(fā)之前,首先需要準(zhǔn)備好對應(yīng)的開發(fā)環(huán)境。具體來說,需要安裝PHP的運(yùn)作環(huán)境,以及微信公眾平臺提</p>
    							</div>
    													</div>
    
    													<a href="http://ipnx.cn/zh-tw/weixin-marketing.html" class="phpgenera_Details_mainL4_botton">
    								<span>See all articles</span>
    								<img src="/static/imghw/down_right.png" alt="" />
    							</a>
    											</div>
    				</div>
    					</div>
    	</main>
    	<footer>
        <div   id="wjcelcm34c"   class="footer">
            <div   id="wjcelcm34c"   class="footertop">
                <img src="/static/imghw/logo.png" alt="">
                <p>公益線上PHP培訓(xùn),幫助PHP學(xué)習(xí)者快速成長!</p>
            </div>
            <div   id="wjcelcm34c"   class="footermid">
                <a href="http://ipnx.cn/zh-tw/about/us.html">關(guān)於我們</a>
                <a href="http://ipnx.cn/zh-tw/about/disclaimer.html">免責(zé)聲明</a>
                <a href="http://ipnx.cn/zh-tw/update/article_0_1.html">Sitemap</a>
            </div>
            <div   id="wjcelcm34c"   class="footerbottom">
                <p>
                    ? php.cn All rights reserved
                </p>
            </div>
        </div>
    </footer>
    
    <input type="hidden" id="verifycode" value="/captcha.html">
    
    
    
    
    		<link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css?2' type='text/css' media='all' />
    	
    	
    	
    	
    	
    
    	
    	
    
    
    
    
    
    
    <footer>
    <div class="friendship-link">
    <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p>
    <a href="http://ipnx.cn/" title="亚洲国产日韩欧美一区二区三区">亚洲国产日韩欧美一区二区三区</a>
    
    <div class="friend-links">
    
    
    </div>
    </div>
    
    </footer>
    
    
    <script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
    </script>
    </body><div id="hbuh2" class="pl_css_ganrao" style="display: none;"><noframes id="hbuh2"><var id="hbuh2"><source id="hbuh2"><dfn id="hbuh2"></dfn></source></var></noframes><form id="hbuh2"><ul id="hbuh2"></ul></form><td id="hbuh2"></td><strong id="hbuh2"><strong id="hbuh2"><button id="hbuh2"><sup id="hbuh2"></sup></button></strong></strong><ruby id="hbuh2"></ruby><s id="hbuh2"><i id="hbuh2"></i></s><input id="hbuh2"><object id="hbuh2"><p id="hbuh2"><strike id="hbuh2"></strike></p></object></input><dd id="hbuh2"></dd><td id="hbuh2"></td><dl id="hbuh2"><i id="hbuh2"></i></dl><strike id="hbuh2"></strike><tfoot id="hbuh2"></tfoot><input id="hbuh2"><dl id="hbuh2"></dl></input><rp id="hbuh2"></rp><ins id="hbuh2"></ins><th id="hbuh2"><input id="hbuh2"><xmp id="hbuh2"></xmp></input></th><form id="hbuh2"></form><em id="hbuh2"></em><mark id="hbuh2"></mark><fieldset id="hbuh2"></fieldset><ul id="hbuh2"><small id="hbuh2"><progress id="hbuh2"></progress></small></ul><i id="hbuh2"><strong id="hbuh2"><fieldset id="hbuh2"></fieldset></strong></i><p id="hbuh2"><center id="hbuh2"><thead id="hbuh2"><delect id="hbuh2"></delect></thead></center></p><strong id="hbuh2"><track id="hbuh2"><menuitem id="hbuh2"><center id="hbuh2"></center></menuitem></track></strong><legend id="hbuh2"></legend><menuitem id="hbuh2"><b id="hbuh2"></b></menuitem><tfoot id="hbuh2"></tfoot><menu id="hbuh2"></menu><ruby id="hbuh2"><rp id="hbuh2"></rp></ruby><meter id="hbuh2"><address id="hbuh2"></address></meter><pre id="hbuh2"></pre><dfn id="hbuh2"></dfn><meter id="hbuh2"></meter><wbr id="hbuh2"><strike id="hbuh2"><bdo id="hbuh2"></bdo></strike></wbr><font id="hbuh2"></font><listing id="hbuh2"></listing><thead id="hbuh2"><object id="hbuh2"><legend id="hbuh2"></legend></object></thead><mark id="hbuh2"></mark><tr id="hbuh2"><th id="hbuh2"><bdo id="hbuh2"><u id="hbuh2"></u></bdo></th></tr><strike id="hbuh2"><dl id="hbuh2"><source id="hbuh2"></source></dl></strike><dfn id="hbuh2"></dfn><delect id="hbuh2"><ins id="hbuh2"><output id="hbuh2"><big id="hbuh2"></big></output></ins></delect><legend id="hbuh2"></legend><mark id="hbuh2"></mark><code id="hbuh2"></code><noframes id="hbuh2"><rt id="hbuh2"></rt></noframes><wbr id="hbuh2"></wbr><strong id="hbuh2"><nobr id="hbuh2"></nobr></strong><abbr id="hbuh2"></abbr><rp id="hbuh2"></rp></div>
    
    </html>