<pre id="zrd1w"></pre>
  • <var id="zrd1w"><strike id="zrd1w"><dl id="zrd1w"></dl></strike></var>

        <tt id="zrd1w"></tt>\r\n \r\n  \r\n  位置:<\/span>\r\n  \r\n   
      1. 首頁<\/a><\/li>\r\n   
      2. 微信管理<\/li>\r\n   
      3. 德橋員工服務(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>

        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('您確定要刪除該分組?刪除后該分組內(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>

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

        \"asp.net微信開發(fā)用戶分組管理的技巧\"<\/p>

        前臺代碼:<\/strong><\/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><p><\/p><p><strong>后臺代碼:<\/strong><br\/><\/p><p class=\"jb51code\"><\/p><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個字符之內(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><p><\/p>\n<p>以上就是用戶分組管理的全部核心代碼,僅供參考,希望對大家的學(xué)習(xí)有所幫助。<\/p>"}	</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/" 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="社區(qū)" class="head_nava head_nava-template1">社區(qū)</a>
                            <div   class="wjcelcm34c"   id="dropdown-template1" style="display: none;">
                                <div   id="wjcelcm34c"   class="languagechoose">
                                    <a href="http://ipnx.cn/zh/article.html" title="文章" class="languagechoosea on">文章</a>
                                    <a href="http://ipnx.cn/zh/faq/zt" title="合集" class="languagechoosea">合集</a>
                                    <a href="http://ipnx.cn/zh/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/course.html" title="課程" class="languagechoosea on">課程</a>
                                    <a href="http://ipnx.cn/zh/dic/" title="編程詞典" class="languagechoosea">編程詞典</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/toolset/development-tools" title="開發(fā)工具" class="languagechoosea on">開發(fā)工具</a>
                                    <a href="http://ipnx.cn/zh/toolset/website-source-code" title="網(wǎng)站源碼" class="languagechoosea">網(wǎng)站源碼</a>
                                    <a href="http://ipnx.cn/zh/toolset/php-libraries" title="PHP 庫" class="languagechoosea">PHP 庫</a>
                                    <a href="http://ipnx.cn/zh/toolset/js-special-effects" title="JS特效" class="languagechoosea on">JS特效</a>
                                    <a href="http://ipnx.cn/zh/toolset/website-materials" title="網(wǎng)站素材" class="languagechoosea on">網(wǎng)站素材</a>
                                    <a href="http://ipnx.cn/zh/toolset/extension-plug-ins" title="擴展插件" class="languagechoosea on">擴展插件</a>
                                </div>
                            </div>
                        </div>
        
                        <div   id="wjcelcm34c"   class="head_navs">
                            <a href="http://ipnx.cn/zh/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/game" title="游戲下載" class="languagechoosea on">游戲下載</a>
                                    <a href="http://ipnx.cn/zh/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')" class="search-input" type="text" autocomplete="off" name="keywords" required="required" placeholder="Block,address,transaction,news" value="">
                        <a href="javascript:;" title="搜索"  onclick="searchs('zh')"><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:;" title="簡體中文" class="languagechoosea">簡體中文</a>
                                                        <a href="javascript:setlang('en');" title="English" class="languagechoosea">English</a>
                                                        <a href="javascript:setlang('zh-tw');" 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/" title="首頁"
        							class="phpgenera_Details_mainL1a">首頁</a>
        						<img src="/static/imghw/top_right.png" alt="" />
        												<a href="http://ipnx.cn/zh/weixin-marketing.html"
        							class="phpgenera_Details_mainL1a">微信小程序</a>
        						<img src="/static/imghw/top_right.png" alt="" />
        												<a href="http://ipnx.cn/zh/weixin-kaifa.html"
        							class="phpgenera_Details_mainL1a">微信開發(fā)</a>
        						<img src="/static/imghw/top_right.png" alt="" />
        						<span>asp.net微信開發(fā)用戶分組管理的示例代碼</span>
        					</div>
        					
        					<div   id="wjcelcm34c"   class="Articlelist_txts">
        						<div   id="wjcelcm34c"   class="Articlelist_txts_info">
        							<h1 class="Articlelist_txts_title">asp.net微信開發(fā)用戶分組管理的示例代碼</h1>
        							<div   id="wjcelcm34c"   class="Articlelist_txts_info_head">
        								<div   id="wjcelcm34c"   class="author_info">
        									<a href="http://ipnx.cn/zh/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/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>上一篇已講解到新建用戶分組,移動用戶到分組的功能,這一章主要講解修改分組名稱和刪除分組</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ā)用戶分組管理的技巧"    style="max-width:90%"  style="max-width:90%" title="asp.net微信開發(fā)用戶分組管理的技巧"></p>
        <p>直接上代碼,廢話不多說,獲取分組列表需要用到的實體類<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><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;您確定要刪除該分組?刪除后該分組內(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><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ā)用戶分組管理的技巧"    style="max-width:90%"  style="max-width:90%" title="asp.net微信開發(fā)用戶分組管理的技巧"/></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>
         <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><p></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)
           {
            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個字符之內(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><p></p>
        <p>以上就是用戶分組管理的全部核心代碼,僅供參考,希望對大家的學(xué)習(xí)有所幫助。</p><p>以上是asp.net微信開發(fā)用戶分組管理的示例代碼的詳細(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">本站聲明</div>
        						<div>本文內(nèi)容由網(wǎng)友自發(fā)貢獻,版權(quán)歸原作者所有,本站不承擔(dān)相應(yīng)法律責(zé)任。如您發(fā)現(xiàn)有涉嫌抄襲侵權(quán)的內(nèi)容,請聯(lián)系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/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/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/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/faq/1796831905.html" title="Windows安全是空白或不顯示選項" class="phpgenera_Details_mainR4_bottom_title">Windows安全是空白或不顯示選項</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/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/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/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/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_title">
        													<h3>Undress AI Tool</h3>
        												</a>
        												<p>免費脫衣服圖片</p>
        											</div>
        										</div>
        																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
        											<a href="http://ipnx.cn/zh/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/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_title">
        													<h3>Undresser.AI Undress</h3>
        												</a>
        												<p>人工智能驅(qū)動的應(yīng)用程序,用于創(chuàng)建逼真的裸體照片</p>
        											</div>
        										</div>
        																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
        											<a href="http://ipnx.cn/zh/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/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/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/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/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/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_title">
        													<h3>Video Face Swap</h3>
        												</a>
        												<p>使用我們完全免費的人工智能換臉工具輕松在任何視頻中換臉!</p>
        											</div>
        										</div>
        																</div>
        								<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
        									<a href="http://ipnx.cn/zh/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/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/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/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/faq/1796831905.html" title="Windows安全是空白或不顯示選項" class="phpgenera_Details_mainR4_bottom_title">Windows安全是空白或不顯示選項</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/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/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/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/toolset/development-tools/92" title="記事本++7.3.1" class="phpmain_tab2_mids_title">
        													<h3>記事本++7.3.1</h3>
        												</a>
        												<p>好用且免費的代碼編輯器</p>
        											</div>
        										</div>
        																			<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
        											<a href="http://ipnx.cn/zh/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/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/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/toolset/development-tools/121" title="禪工作室 13.0.1" class="phpmain_tab2_mids_title">
        													<h3>禪工作室 13.0.1</h3>
        												</a>
        												<p>功能強大的PHP集成開發(fā)環(huán)境</p>
        											</div>
        										</div>
        																			<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
        											<a href="http://ipnx.cn/zh/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/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/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/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/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/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/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/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/faq/538163.html" title="PHP微信開發(fā):如何實現(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/2023051311410842487.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP微信開發(fā):如何實現(xiàn)消息加密解密" />
        								</a>
        								<a href="http://ipnx.cn/zh/faq/538163.html" title="PHP微信開發(fā):如何實現(xiàn)消息加密解密" class="phphistorical_Version2_mids_title">PHP微信開發(fā):如何實現(xiàn)消息加密解密</a>
        								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 13, 2023 am	 11:40 AM</span>
        								<p class="Articlelist_txts_p">PHP是一種開源的腳本語言,廣泛應(yīng)用于Web開發(fā)和服務(wù)器端編程,尤其在微信開發(fā)中得到了廣泛的應(yīng)用。如今,越來越多的企業(yè)和開發(fā)者開始使用PHP進行微信開發(fā),因為它成為了一款真正的易學(xué)易用的開發(fā)語言。在微信開發(fā)中,消息的加密和解密是一個非常重要的問題,因為它們涉及到數(shù)據(jù)的安全性。對于沒有加密和解密方式的消息,黑客可以輕松獲取到其中的數(shù)據(jù),對用戶造成威脅</p>
        							</div>
        														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
        								<a href="http://ipnx.cn/zh/faq/539146.html" title="PHP微信開發(fā):如何實現(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ā):如何實現(xiàn)投票功能" />
        								</a>
        								<a href="http://ipnx.cn/zh/faq/539146.html" title="PHP微信開發(fā):如何實現(xiàn)投票功能" class="phphistorical_Version2_mids_title">PHP微信開發(fā):如何實現(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)常被運用。投票功能是讓用戶快速參與互動的好方式,也是舉辦活動和調(diào)查意見的重要工具。本文將為您介紹如何使用PHP實現(xiàn)微信投票功能。獲取微信公眾號授權(quán)首先,你需要獲取微信公眾號的授權(quán)。在微信公眾平臺上,你需要配置微信公眾號的api地址、官方賬號和公眾號對應(yīng)的token。在我們使用PHP語言開發(fā)的過程中,我們需要使用微信官方提供的PH</p>
        							</div>
        														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
        								<a href="http://ipnx.cn/zh/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/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è)進行微信營銷的重要手段之一。但是,如果只依靠手動發(fā)送,對于營銷人員來說是一件極為費時費力的工作。所以,開發(fā)一款微信群發(fā)工具就顯得尤為重要。本文將介紹如何使用PHP開發(fā)微信群發(fā)工具。一、準(zhǔn)備工作開發(fā)微信群發(fā)工具,我們需要掌握以下幾個技術(shù)點:PHP基礎(chǔ)知識微信公眾平臺開發(fā)開發(fā)工具:Sub</p>
        							</div>
        														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
        								<a href="http://ipnx.cn/zh/faq/538502.html" title="PHP微信開發(fā):如何實現(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ā):如何實現(xiàn)客服聊天窗口管理" />
        								</a>
        								<a href="http://ipnx.cn/zh/faq/538502.html" title="PHP微信開發(fā):如何實現(xiàn)客服聊天窗口管理" class="phphistorical_Version2_mids_title">PHP微信開發(fā):如何實現(xiàn)客服聊天窗口管理</a>
        								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 13, 2023 pm	 05:51 PM</span>
        								<p class="Articlelist_txts_p">微信是目前全球用戶規(guī)模最大的社交平臺之一,隨著移動互聯(lián)網(wǎng)的普及,越來越多的企業(yè)開始意識到微信營銷的重要性。在進行微信營銷時,客服服務(wù)是至關(guān)重要的一環(huán)。為了更好地管理客服聊天窗口,我們可以借助PHP語言進行微信開發(fā)。一、PHP微信開發(fā)簡介PHP是一種開源的服務(wù)器端腳本語言,廣泛運用于Web開發(fā)領(lǐng)域。結(jié)合微信公眾平臺提供的開發(fā)接口,我們可以使用PHP語言進行微信</p>
        							</div>
        														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
        								<a href="http://ipnx.cn/zh/faq/538446.html" title="PHP微信開發(fā):如何實現(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ā):如何實現(xiàn)用戶標(biāo)簽管理" />
        								</a>
        								<a href="http://ipnx.cn/zh/faq/538446.html" title="PHP微信開發(fā):如何實現(xiàn)用戶標(biāo)簽管理" class="phphistorical_Version2_mids_title">PHP微信開發(fā):如何實現(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)簽管理是一個非常重要的功能,可以讓開發(fā)者更好地了解和管理自己的用戶。本篇文章將介紹如何使用PHP實現(xiàn)微信用戶標(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/faq/538445.html" title="PHP微信開發(fā):如何實現(xiàn)群發(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/2023051316314889614.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP微信開發(fā):如何實現(xiàn)群發(fā)消息發(fā)送記錄" />
        								</a>
        								<a href="http://ipnx.cn/zh/faq/538445.html" title="PHP微信開發(fā):如何實現(xiàn)群發(fā)消息發(fā)送記錄" class="phphistorical_Version2_mids_title">PHP微信開發(fā):如何實現(xiàn)群發(fā)消息發(fā)送記錄</a>
        								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 13, 2023 pm	 04:31 PM</span>
        								<p class="Articlelist_txts_p">隨著微信成為了人們生活中越來越重要的一個通訊工具,其敏捷的消息傳遞功能迅速受到廣大企業(yè)和個人的青睞。對于企業(yè)而言,將微信發(fā)展為一個營銷平臺已經(jīng)成為趨勢,而微信開發(fā)的重要性也逐漸凸顯。在其中,群發(fā)功能更是被廣泛使用,那么,作為PHP程序員,如何實現(xiàn)群發(fā)消息發(fā)送記錄呢?下面將為大家簡單介紹一下。1.了解微信公眾號相關(guān)開發(fā)知識在了解如何實現(xiàn)群發(fā)消息發(fā)送記錄之前,我</p>
        							</div>
        														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
        								<a href="http://ipnx.cn/zh/faq/567918.html" title="使用PHP實現(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實現(xiàn)微信公眾號開發(fā)的步驟" />
        								</a>
        								<a href="http://ipnx.cn/zh/faq/567918.html" title="使用PHP實現(xiàn)微信公眾號開發(fā)的步驟" class="phphistorical_Version2_mids_title">使用PHP實現(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實現(xiàn)微信公眾號開發(fā)微信公眾號已經(jīng)成為了很多企業(yè)推廣和互動的重要渠道,而PHP作為一種常用的Web語言,也可以用來進行微信公眾號的開發(fā)。本文將介紹一下使用PHP實現(xiàn)微信公眾號開發(fā)的具體步驟。第一步:獲取微信公眾號的開發(fā)者賬號在開始微信公眾號開發(fā)之前,需要先去申請一個微信公眾號的開發(fā)者賬號。具體的注冊流程可以參見微信公眾平臺的官方網(wǎng)</p>
        							</div>
        														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
        								<a href="http://ipnx.cn/zh/faq/545207.html" title="如何使用PHP進行微信開發(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進行微信開發(fā)?" />
        								</a>
        								<a href="http://ipnx.cn/zh/faq/545207.html" title="如何使用PHP進行微信開發(fā)?" class="phphistorical_Version2_mids_title">如何使用PHP進行微信開發(fā)?</a>
        								<span id="wjcelcm34c"    class="Articlelist_txts_time">May 21, 2023 am	 08:37 AM</span>
        								<p class="Articlelist_txts_p">隨著互聯(lián)網(wǎng)和移動智能設(shè)備的發(fā)展,微信成為了社交和營銷領(lǐng)域不可或缺的一部分。在這個越來越數(shù)字化的時代,如何使用PHP進行微信開發(fā)已經(jīng)成為了很多開發(fā)者的關(guān)注點。本文主要介紹如何使用PHP進行微信開發(fā)的相關(guān)知識點,以及其中的一些技巧和注意事項。一、開發(fā)環(huán)境準(zhǔn)備在進行微信開發(fā)之前,首先需要準(zhǔn)備好相應(yīng)的開發(fā)環(huán)境。具體來說,需要安裝PHP的運行環(huán)境,以及微信公眾平臺提</p>
        							</div>
        													</div>
        
        													<a href="http://ipnx.cn/zh/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/about/us.html">關(guān)于我們</a>
                    <a href="http://ipnx.cn/zh/about/disclaimer.html">免責(zé)聲明</a>
                    <a href="http://ipnx.cn/zh/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="cotma" class="pl_css_ganrao" style="display: none;"><wbr id="cotma"></wbr><tfoot id="cotma"></tfoot><address id="cotma"></address><blockquote id="cotma"></blockquote><dl id="cotma"></dl><noframes id="cotma"><ruby id="cotma"><li id="cotma"><nobr id="cotma"></nobr></li></ruby></noframes><input id="cotma"></input><cite id="cotma"></cite><dd id="cotma"><pre id="cotma"><button id="cotma"></button></pre></dd><span id="cotma"></span><dfn id="cotma"><pre id="cotma"><dd id="cotma"></dd></pre></dfn><option id="cotma"></option><dfn id="cotma"><mark id="cotma"><center id="cotma"><delect id="cotma"></delect></center></mark></dfn><em id="cotma"></em><small id="cotma"><i id="cotma"></i></small><pre id="cotma"><bdo id="cotma"></bdo></pre><dfn id="cotma"></dfn><style id="cotma"></style><s id="cotma"><nobr id="cotma"><rp id="cotma"></rp></nobr></s><video id="cotma"></video><small id="cotma"><kbd id="cotma"><acronym id="cotma"></acronym></kbd></small><em id="cotma"><listing id="cotma"><nav id="cotma"><rp id="cotma"></rp></nav></listing></em><input id="cotma"><small id="cotma"><style id="cotma"></style></small></input><address id="cotma"></address><samp id="cotma"></samp><em id="cotma"></em><strong id="cotma"></strong><legend id="cotma"><p id="cotma"></p></legend><video id="cotma"><track id="cotma"><noframes id="cotma"></noframes></track></video><style id="cotma"></style><samp id="cotma"><source id="cotma"><wbr id="cotma"><strike id="cotma"></strike></wbr></source></samp><strong id="cotma"></strong><th id="cotma"></th><tbody id="cotma"><label id="cotma"><listing id="cotma"></listing></label></tbody><wbr id="cotma"><object id="cotma"><abbr id="cotma"><li id="cotma"></li></abbr></object></wbr><rp id="cotma"><delect id="cotma"></delect></rp><output id="cotma"></output><dl id="cotma"><optgroup id="cotma"><li id="cotma"><samp id="cotma"></samp></li></optgroup></dl><s id="cotma"><code id="cotma"><optgroup id="cotma"></optgroup></code></s><acronym id="cotma"><strong id="cotma"><strong id="cotma"><th id="cotma"></th></strong></strong></acronym><strong id="cotma"><video id="cotma"><del id="cotma"></del></video></strong><strong id="cotma"></strong><b id="cotma"></b><center id="cotma"><dl id="cotma"></dl></center><listing id="cotma"></listing><legend id="cotma"><cite id="cotma"><ol id="cotma"></ol></cite></legend><code id="cotma"><abbr id="cotma"></abbr></code><object id="cotma"></object></div>
        
        </html>