• \r\n \r\n  \r\n  位置:<\/span>\r\n  \r\n   
  • 首頁<\/a><\/li>\r\n   
  • 微信管理<\/li>\r\n   
  • 德橋員工服務中心----分組管理<\/li>\r\n  <\/ul>\r\n  <\/p>\r\n  分組管理<\/p>\r\n   \r\n     新建分組<\/span>關閉<\/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>

    The background code is as follows: <\/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ù)據(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ù)據(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)的人員即將恢復到默認分組!')\");\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('刪除接口已關閉!');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ù)據(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ù)據(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>

    ##Page to modify the group name<\/span><\/strong><\/p>

    \"Sample<\/p>

    Front code: <\/strong><\/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://www.miracleart.cn/">国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂</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;\"> 設 置<\/p><\/asp:LinkButton><\/td>\r\n   <\/tr>\r\n  <\/table>\r\n <\/form>\r\n<\/body>\r\n<\/html><\/pre><\/p><p><\/p><p>Backend code: <strong><\/strong><br\/><\/p><p class=\"jb51code\"><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  \/\/\/ 設置\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('組名稱應在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ù)據(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           \/\/\/修改成功之后,刷新父窗體,關閉本頁\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('修改失?。?#39;);this.close();\", true);\r\n   }\r\n\r\n\r\n  }<\/pre><p><\/p>The above is all the core code for user group management. It is for reference only. I hope it will be helpful to everyone's study. <p><\/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="377j5v51b"   class="head">
            <div   id="377j5v51b"   class="haed_left">
                <div   id="377j5v51b"   class="haed_logo">
                    <a href="http://www.miracleart.cn/" title="" class="haed_logo_a">
                        <img src="/static/imghw/logo.png" alt="" class="haed_logoimg">
                    </a>
                </div>
                <div   id="377j5v51b"   class="head_nav">
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Community" class="head_nava head_nava-template1">Community</a>
                        <div   class="377j5v51b"   id="dropdown-template1" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://www.miracleart.cn/article.html" title="Articles" class="languagechoosea on">Articles</a>
                                <a href="http://www.miracleart.cn/faq/zt" title="Topics" class="languagechoosea">Topics</a>
                                <a href="http://www.miracleart.cn/wenda.html" title="Q&A" class="languagechoosea">Q&A</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Learn" class="head_nava head_nava-template1_1">Learn</a>
                        <div   class="377j5v51b"   id="dropdown-template1_1" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://www.miracleart.cn/course.html" title="Course" class="languagechoosea on">Course</a>
                                <a href="http://www.miracleart.cn/dic/" title="Programming Dictionary" class="languagechoosea">Programming Dictionary</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Tools Library" class="head_nava head_nava-template1_2">Tools Library</a>
                        <div   class="377j5v51b"   id="dropdown-template1_2" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://www.miracleart.cn/toolset/development-tools" title="Development tools" class="languagechoosea on">Development tools</a>
                                <a href="http://www.miracleart.cn/toolset/website-source-code" title="Website Source Code" class="languagechoosea">Website Source Code</a>
                                <a href="http://www.miracleart.cn/toolset/php-libraries" title="PHP Libraries" class="languagechoosea">PHP Libraries</a>
                                <a href="http://www.miracleart.cn/toolset/js-special-effects" title="JS special effects" class="languagechoosea on">JS special effects</a>
                                <a href="http://www.miracleart.cn/toolset/website-materials" title="Website Materials" class="languagechoosea on">Website Materials</a>
                                <a href="http://www.miracleart.cn/toolset/extension-plug-ins" title="Extension plug-ins" class="languagechoosea on">Extension plug-ins</a>
                            </div>
                        </div>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="http://www.miracleart.cn/ai" title="AI Tools" class="head_nava head_nava-template1_3">AI Tools</a>
                    </div>
    
                    <div   id="377j5v51b"   class="head_navs">
                        <a href="javascript:;" title="Leisure" class="head_nava head_nava-template1_3">Leisure</a>
                        <div   class="377j5v51b"   id="dropdown-template1_3" style="display: none;">
                            <div   id="377j5v51b"   class="languagechoose">
                                <a href="http://www.miracleart.cn/game" title="Game Download" class="languagechoosea on">Game Download</a>
                                <a href="http://www.miracleart.cn/mobile-game-tutorial/" title="Game Tutorials" class="languagechoosea">Game Tutorials</a>
    
                            </div>
                        </div>
                    </div>
                </div>
            </div>
                        <div   id="377j5v51b"   class="head_search">
                    <input id="key_words"  onkeydown="if (event.keyCode == 13) searchs('en')" class="search-input" type="text" autocomplete="off" name="keywords" required="required" placeholder="Block,address,transaction,news" value="">
                    <a href="javascript:;" title="search"  onclick="searchs('en')"><img src="/static/imghw/find.png" alt="search"></a>
                </div>
                    <div   id="377j5v51b"   class="head_right">
                <div   id="377j5v51b"   class="haed_language">
                    <a href="javascript:;" class="layui-btn haed_language_btn">English<i class="layui-icon layui-icon-triangle-d"></i></a>
                    <div   class="377j5v51b"   id="dropdown-template" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                                                    <a href="javascript:setlang('zh-cn');" title="簡體中文" class="languagechoosea">簡體中文</a>
                                                    <a href="javascript:;" 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="377j5v51b"    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="377j5v51b"   class="Article_Details_main">
    			<div   id="377j5v51b"   class="Article_Details_main1">
    							<div   id="377j5v51b"   class="Article_Details_main1M">
    					<div   id="377j5v51b"   class="phpgenera_Details_mainL1">
    						<a href="http://www.miracleart.cn/" title="Home"
    							class="phpgenera_Details_mainL1a">Home</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    												<a href="http://www.miracleart.cn/weixin-marketing.html"
    							class="phpgenera_Details_mainL1a">WeChat Applet</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    												<a href="http://www.miracleart.cn/weixin-kaifa.html"
    							class="phpgenera_Details_mainL1a">WeChat Development</a>
    						<img src="/static/imghw/top_right.png" alt="" />
    						<span>Sample code for user group management in asp.net WeChat development</span>
    					</div>
    					
    					<div   id="377j5v51b"   class="Articlelist_txts">
    						<div   id="377j5v51b"   class="Articlelist_txts_info">
    							<h1 class="Articlelist_txts_title">Sample code for user group management in asp.net WeChat development</h1>
    							<div   id="377j5v51b"   class="Articlelist_txts_info_head">
    								<div   id="377j5v51b"   class="author_info">
    									<a href="http://www.miracleart.cn/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="377j5v51b"   class="author_detail">
    																			<a href="http://www.miracleart.cn/member/13.html" class="author_name">高洛峰</a>
                                    										</div>
    								</div>
                    			</div>
    							<span id="377j5v51b"    class="Articlelist_txts_time">Mar 10, 2017 pm	 02:42 PM</span>
    															<div   id="377j5v51b"   class="Articlelist_txts_infos">
    																			<span id="377j5v51b"    class="Articlelist_txts_infoss on">asp.net</span>
    																			<span id="377j5v51b"    class="Articlelist_txts_infoss ">WeChat development</span>
    																	</div>
    														
    						</div>
    					</div>
    					<hr />
    					<div   id="377j5v51b"   class="article_main php-article">
    						<div   id="377j5v51b"   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>This article mainly introduces the relevant content about user group management in asp.net WeChat development. Friends in need can refer to the following </p>
    <p>The previous article has explained how to create new user groups and move users to groups. Function, this chapter mainly explains how to modify the group name and delete the group</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="Sample code for user group management in asp.net WeChat development"    style="max-width:90%"  style="max-width:90%" title="Sample code for user group management in asp.net WeChat development"></p>
    <p>#Go directly to the code, without further ado, get the entity class needed to get the group list<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> Front desk code: </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>德橋員工服務中心----分組管理</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>關閉</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>The background code is as follows: <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ù)據(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ù)據(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)的人員即將恢復到默認分組!&#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;刪除接口已關閉!&#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ù)據(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ù)據(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>##Page to modify the group name<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="Sample code for user group management in asp.net WeChat development"    style="max-width:90%"  style="max-width:90%" title="Sample code for user group management in asp.net WeChat development"/></p><p>Front code: <strong></strong><br/></p><p class="jb51code"><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;"> 設 置</p></asp:LinkButton></td>
       </tr>
      </table>
     </form>
    </body>
    </html></pre></p><p></p><p>Backend code: <strong></strong><br/></p><p class="jb51code"><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>
      /// 設置
      /// </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;組名稱應在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ù)據(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"))
       {
               ///修改成功之后,刷新父窗體,關閉本頁
        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>The above is all the core code for user group management. It is for reference only. I hope it will be helpful to everyone's study. <p></p><p>The above is the detailed content of Sample code for user group management in asp.net WeChat development. For more information, please follow other related articles on the PHP Chinese website!</p>
    
    
    						</div>
    					</div>
    					<div   id="377j5v51b"   class="wzconShengming_sp">
    						<div   id="377j5v51b"   class="bzsmdiv_sp">Statement of this Website</div>
    						<div>The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact 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="377j5v51b"   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="377j5v51b"   class="phpgenera_Details_mainR4">
    						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    							<div   id="377j5v51b"   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>Hot Article</h2>
    							</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796828723.html" title="Agnes Tachyon Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Agnes Tachyon Build Guide | A Pretty Derby Musume</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>2 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796827210.html" title="Oguri Cap Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Oguri Cap Build Guide | A Pretty Derby Musume</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>2 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796821868.html" title="Palia: Rasquellywag's Riches Quest Walkthrough" class="phpgenera_Details_mainR4_bottom_title">Palia: Rasquellywag's Riches Quest Walkthrough</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>1 months ago</span>
    										<span>By DDD</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796822997.html" title="Peak: How To Revive Players" class="phpgenera_Details_mainR4_bottom_title">Peak: How To Revive Players</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>3 weeks ago</span>
    										<span>By DDD</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796832397.html" title="Grass Wonder Build Guide | Uma Musume Pretty Derby" class="phpgenera_Details_mainR4_bottom_title">Grass Wonder Build Guide | Uma Musume Pretty Derby</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>1 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    														</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    								<a href="http://www.miracleart.cn/article.html">Show More</a>
    							</div>
    						</div>
    					</div> -->
    
    
    											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    								<div   id="377j5v51b"   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>Hot AI Tools</h2>
    								</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/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="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_title">
    													<h3>Undress AI Tool</h3>
    												</a>
    												<p>Undress images for free</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/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="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_title">
    													<h3>Undresser.AI Undress</h3>
    												</a>
    												<p>AI-powered app for creating realistic nude photos</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/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="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_title">
    													<h3>AI Clothes Remover</h3>
    												</a>
    												<p>Online AI tool for removing clothes from photos.</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/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="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_title">
    													<h3>Clothoff.io</h3>
    												</a>
    												<p>AI clothes remover</p>
    											</div>
    										</div>
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/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="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_title">
    													<h3>Video Face Swap</h3>
    												</a>
    												<p>Swap faces in any video effortlessly with our completely free AI face swap tool!</p>
    											</div>
    										</div>
    																</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    									<a href="http://www.miracleart.cn/ai">Show More</a>
    								</div>
    							</div>
    						</div>
    					
    
    
    					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
    						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    							<div   id="377j5v51b"   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>Hot Article</h2>
    							</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796828723.html" title="Agnes Tachyon Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Agnes Tachyon Build Guide | A Pretty Derby Musume</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>2 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796827210.html" title="Oguri Cap Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Oguri Cap Build Guide | A Pretty Derby Musume</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>2 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796821868.html" title="Palia: Rasquellywag's Riches Quest Walkthrough" class="phpgenera_Details_mainR4_bottom_title">Palia: Rasquellywag's Riches Quest Walkthrough</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>1 months ago</span>
    										<span>By DDD</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796822997.html" title="Peak: How To Revive Players" class="phpgenera_Details_mainR4_bottom_title">Peak: How To Revive Players</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>3 weeks ago</span>
    										<span>By DDD</span>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/1796832397.html" title="Grass Wonder Build Guide | Uma Musume Pretty Derby" class="phpgenera_Details_mainR4_bottom_title">Grass Wonder Build Guide | Uma Musume Pretty Derby</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<span>1 weeks ago</span>
    										<span>By Jack chen</span>
    									</div>
    								</div>
    														</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    								<a href="http://www.miracleart.cn/article.html">Show More</a>
    							</div>
    						</div>
    					</div>
    
    
    											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
    							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    								<div   id="377j5v51b"   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>Hot Tools</h2>
    								</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
    																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/toolset/development-tools/92" title="Notepad++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="Notepad++7.3.1" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/toolset/development-tools/92" title="Notepad++7.3.1" class="phpmain_tab2_mids_title">
    													<h3>Notepad++7.3.1</h3>
    												</a>
    												<p>Easy-to-use and free code editor</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/toolset/development-tools/93" title="SublimeText3 Chinese version" 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 Chinese version" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/toolset/development-tools/93" title="SublimeText3 Chinese version" class="phpmain_tab2_mids_title">
    													<h3>SublimeText3 Chinese version</h3>
    												</a>
    												<p>Chinese version, very easy to use</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/toolset/development-tools/121" title="Zend Studio 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="Zend Studio 13.0.1" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/toolset/development-tools/121" title="Zend Studio 13.0.1" class="phpmain_tab2_mids_title">
    													<h3>Zend Studio 13.0.1</h3>
    												</a>
    												<p>Powerful PHP integrated development environment</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/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="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_title">
    													<h3>Dreamweaver CS6</h3>
    												</a>
    												<p>Visual web development tools</p>
    											</div>
    										</div>
    																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
    											<a href="http://www.miracleart.cn/toolset/development-tools/500" title="SublimeText3 Mac version" 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 version" />
    											</a>
    											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
    												<a href="http://www.miracleart.cn/toolset/development-tools/500" title="SublimeText3 Mac version" class="phpmain_tab2_mids_title">
    													<h3>SublimeText3 Mac version</h3>
    												</a>
    												<p>God-level code editing software (SublimeText3)</p>
    											</div>
    										</div>
    																	</div>
    								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    									<a href="http://www.miracleart.cn/ai">Show More</a>
    								</div>
    							</div>
    						</div>
    										
    
    					
    					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
    						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
    							<div   id="377j5v51b"   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>Hot Topics</h2>
    							</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/gmailyxdlrkzn" title="Where is the login entrance for gmail email?" class="phpgenera_Details_mainR4_bottom_title">Where is the login entrance for gmail email?</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>8641</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>17</span>
    										</div>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/java-tutorial" title="Java Tutorial" class="phpgenera_Details_mainR4_bottom_title">Java Tutorial</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1787</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>16</span>
    										</div>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/cakephp-tutor" title="CakePHP Tutorial" class="phpgenera_Details_mainR4_bottom_title">CakePHP Tutorial</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1730</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>56</span>
    										</div>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/laravel-tutori" title="Laravel Tutorial" class="phpgenera_Details_mainR4_bottom_title">Laravel Tutorial</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1581</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>29</span>
    										</div>
    									</div>
    								</div>
    															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
    									<a href="http://www.miracleart.cn/faq/php-tutorial" title="PHP Tutorial" class="phpgenera_Details_mainR4_bottom_title">PHP Tutorial</a>
    									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/eyess.png" alt="" />
    											<span>1448</span>
    										</div>
    										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
    											<img src="/static/imghw/tiezi.png" alt="" />
    											<span>31</span>
    										</div>
    									</div>
    								</div>
    														</div>
    							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
    								<a href="http://www.miracleart.cn/faq/zt">Show More</a>
    							</div>
    						</div>
    					</div>
    				</div>
    			</div>
    							<div   id="377j5v51b"   class="Article_Details_main2">
    					<div   id="377j5v51b"   class="phpgenera_Details_mainL4">
    						<div   id="377j5v51b"   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="377j5v51b"   class="phpgenera_Details_mainL4_info">
    
    													<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/538163.html" title="PHP WeChat development: How to implement message encryption and decryption" 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 WeChat development: How to implement message encryption and decryption" />
    								</a>
    								<a href="http://www.miracleart.cn/faq/538163.html" title="PHP WeChat development: How to implement message encryption and decryption" class="phphistorical_Version2_mids_title">PHP WeChat development: How to implement message encryption and decryption</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">May 13, 2023 am	 11:40 AM</span>
    								<p class="Articlelist_txts_p">PHP is an open source scripting language that is widely used in web development and server-side programming, especially in WeChat development. Today, more and more companies and developers are starting to use PHP for WeChat development because it has become a truly easy-to-learn and easy-to-use development language. In WeChat development, message encryption and decryption are a very important issue because they involve data security. For messages without encryption and decryption methods, hackers can easily obtain the data, posing a threat to users.</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/539146.html" title="PHP WeChat development: How to implement voting function" 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 WeChat development: How to implement voting function" />
    								</a>
    								<a href="http://www.miracleart.cn/faq/539146.html" title="PHP WeChat development: How to implement voting function" class="phphistorical_Version2_mids_title">PHP WeChat development: How to implement voting function</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">May 14, 2023 am	 11:21 AM</span>
    								<p class="Articlelist_txts_p">In the development of WeChat public accounts, the voting function is often used. The voting function is a great way for users to quickly participate in interactions, and it is also an important tool for holding events and surveying opinions. This article will introduce you how to use PHP to implement WeChat voting function. Obtain the authorization of the WeChat official account. First, you need to obtain the authorization of the WeChat official account. On the WeChat public platform, you need to configure the API address of the WeChat public account, the official account, and the token corresponding to the public account. In the process of our development using PHP language, we need to use the PH officially provided by WeChat</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/538461.html" title="Using PHP to develop WeChat mass messaging tools" 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="Using PHP to develop WeChat mass messaging tools" />
    								</a>
    								<a href="http://www.miracleart.cn/faq/538461.html" title="Using PHP to develop WeChat mass messaging tools" class="phphistorical_Version2_mids_title">Using PHP to develop WeChat mass messaging tools</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">May 13, 2023 pm	 05:00 PM</span>
    								<p class="Articlelist_txts_p">With the popularity of WeChat, more and more companies are beginning to use it as a marketing tool. The WeChat group messaging function is one of the important means for enterprises to conduct WeChat marketing. However, if you only rely on manual sending, it is an extremely time-consuming and laborious task for marketers. Therefore, it is particularly important to develop a WeChat mass messaging tool. This article will introduce how to use PHP to develop WeChat mass messaging tools. 1. Preparation work To develop WeChat mass messaging tools, we need to master the following technical points: Basic knowledge of PHP WeChat public platform development Development tools: Sub</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/538502.html" title="PHP WeChat development: How to implement customer service chat window management" 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 WeChat development: How to implement customer service chat window management" />
    								</a>
    								<a href="http://www.miracleart.cn/faq/538502.html" title="PHP WeChat development: How to implement customer service chat window management" class="phphistorical_Version2_mids_title">PHP WeChat development: How to implement customer service chat window management</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">May 13, 2023 pm	 05:51 PM</span>
    								<p class="Articlelist_txts_p">WeChat is currently one of the social platforms with the largest user base in the world. With the popularity of mobile Internet, more and more companies are beginning to realize the importance of WeChat marketing. When conducting WeChat marketing, customer service is a crucial part. In order to better manage the customer service chat window, we can use PHP language for WeChat development. 1. Introduction to PHP WeChat development PHP is an open source server-side scripting language that is widely used in the field of Web development. Combined with the development interface provided by WeChat public platform, we can use PHP language to conduct WeChat</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/538446.html" title="PHP WeChat development: How to implement user tag management" 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 WeChat development: How to implement user tag management" />
    								</a>
    								<a href="http://www.miracleart.cn/faq/538446.html" title="PHP WeChat development: How to implement user tag management" class="phphistorical_Version2_mids_title">PHP WeChat development: How to implement user tag management</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">May 13, 2023 pm	 04:31 PM</span>
    								<p class="Articlelist_txts_p">In the development of WeChat public accounts, user tag management is a very important function, which allows developers to better understand and manage their users. This article will introduce how to use PHP to implement the WeChat user tag management function. 1. Obtain the openid of the WeChat user. Before using the WeChat user tag management function, we first need to obtain the user's openid. In the development of WeChat public accounts, it is a common practice to obtain openid through user authorization. After the user authorization is completed, we can obtain the user through the following code</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/538445.html" title="PHP WeChat development: How to implement group message sending records" 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 WeChat development: How to implement group message sending records" />
    								</a>
    								<a href="http://www.miracleart.cn/faq/538445.html" title="PHP WeChat development: How to implement group message sending records" class="phphistorical_Version2_mids_title">PHP WeChat development: How to implement group message sending records</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">May 13, 2023 pm	 04:31 PM</span>
    								<p class="Articlelist_txts_p">As WeChat becomes an increasingly important communication tool in people's lives, its agile messaging function is quickly favored by a large number of enterprises and individuals. For enterprises, developing WeChat into a marketing platform has become a trend, and the importance of WeChat development has gradually become more prominent. Among them, the group sending function is even more widely used. So, as a PHP programmer, how to implement group message sending records? The following will give you a brief introduction. 1. Understand the development knowledge related to WeChat public accounts. Before understanding how to implement group message sending records, I</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/567918.html" title="Steps to implement WeChat public account development using PHP" 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="Steps to implement WeChat public account development using PHP" />
    								</a>
    								<a href="http://www.miracleart.cn/faq/567918.html" title="Steps to implement WeChat public account development using PHP" class="phphistorical_Version2_mids_title">Steps to implement WeChat public account development using PHP</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">Jun 27, 2023 pm	 12:26 PM</span>
    								<p class="Articlelist_txts_p">How to use PHP to develop WeChat public accounts WeChat public accounts have become an important channel for promotion and interaction for many companies, and PHP, as a commonly used Web language, can also be used to develop WeChat public accounts. This article will introduce the specific steps to use PHP to develop WeChat public accounts. Step 1: Obtain the developer account of the WeChat official account. Before starting the development of the WeChat official account, you need to apply for a developer account of the WeChat official account. For the specific registration process, please refer to the official website of WeChat public platform</p>
    							</div>
    														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
    								<a href="http://www.miracleart.cn/faq/545207.html" title="How to use PHP for WeChat development?" 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="How to use PHP for WeChat development?" />
    								</a>
    								<a href="http://www.miracleart.cn/faq/545207.html" title="How to use PHP for WeChat development?" class="phphistorical_Version2_mids_title">How to use PHP for WeChat development?</a>
    								<span id="377j5v51b"    class="Articlelist_txts_time">May 21, 2023 am	 08:37 AM</span>
    								<p class="Articlelist_txts_p">With the development of the Internet and mobile smart devices, WeChat has become an indispensable part of the social and marketing fields. In this increasingly digital era, how to use PHP for WeChat development has become the focus of many developers. This article mainly introduces the relevant knowledge points on how to use PHP for WeChat development, as well as some of the tips and precautions. 1. Development environment preparation Before developing WeChat, you first need to prepare the corresponding development environment. Specifically, you need to install the PHP operating environment and the WeChat public platform</p>
    							</div>
    													</div>
    
    													<a href="http://www.miracleart.cn/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="377j5v51b"   class="footer">
            <div   id="377j5v51b"   class="footertop">
                <img src="/static/imghw/logo.png" alt="">
                <p>Public welfare online PHP training,Help PHP learners grow quickly!</p>
            </div>
            <div   id="377j5v51b"   class="footermid">
                <a href="http://www.miracleart.cn/about/us.html">About us</a>
                <a href="http://www.miracleart.cn/about/disclaimer.html">Disclaimer</a>
                <a href="http://www.miracleart.cn/update/article_0_1.html">Sitemap</a>
            </div>
            <div   id="377j5v51b"   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://www.miracleart.cn/" title="国产av日韩一区二区三区精品">国产av日韩一区二区三区精品</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="c6eiq" class="pl_css_ganrao" style="display: none;"><sup id="c6eiq"></sup><tr id="c6eiq"></tr><tbody id="c6eiq"></tbody><acronym id="c6eiq"></acronym><tr id="c6eiq"></tr><button id="c6eiq"><tfoot id="c6eiq"><strong id="c6eiq"></strong></tfoot></button><sup id="c6eiq"></sup><s id="c6eiq"></s><ul id="c6eiq"></ul><pre id="c6eiq"></pre><center id="c6eiq"><th id="c6eiq"><ul id="c6eiq"></ul></th></center><sup id="c6eiq"><tfoot id="c6eiq"><tbody id="c6eiq"></tbody></tfoot></sup><nav id="c6eiq"><center id="c6eiq"><cite id="c6eiq"></cite></center></nav><pre id="c6eiq"></pre><rt id="c6eiq"><em id="c6eiq"><dfn id="c6eiq"></dfn></em></rt><wbr id="c6eiq"><abbr id="c6eiq"><acronym id="c6eiq"></acronym></abbr></wbr><sup id="c6eiq"><fieldset id="c6eiq"><tbody id="c6eiq"></tbody></fieldset></sup><pre id="c6eiq"></pre><xmp id="c6eiq"></xmp><center id="c6eiq"></center><object id="c6eiq"></object><th id="c6eiq"></th><center id="c6eiq"></center><optgroup id="c6eiq"></optgroup><center id="c6eiq"></center><wbr id="c6eiq"><noframes id="c6eiq"><pre id="c6eiq"></pre></noframes></wbr><cite id="c6eiq"></cite><abbr id="c6eiq"></abbr><input id="c6eiq"><tr id="c6eiq"><fieldset id="c6eiq"></fieldset></tr></input><center id="c6eiq"><th id="c6eiq"><li id="c6eiq"></li></th></center><optgroup id="c6eiq"></optgroup><noframes id="c6eiq"></noframes><object id="c6eiq"><button id="c6eiq"><pre id="c6eiq"></pre></button></object><tfoot id="c6eiq"><small id="c6eiq"><samp id="c6eiq"></samp></small></tfoot><option id="c6eiq"><th id="c6eiq"><kbd id="c6eiq"></kbd></th></option><menu id="c6eiq"></menu><td id="c6eiq"></td><delect id="c6eiq"><rt id="c6eiq"><option id="c6eiq"></option></rt></delect><cite id="c6eiq"></cite><code id="c6eiq"></code><cite id="c6eiq"><blockquote id="c6eiq"><source id="c6eiq"></source></blockquote></cite><tr id="c6eiq"></tr><ul id="c6eiq"></ul><dl id="c6eiq"><del id="c6eiq"><blockquote id="c6eiq"></blockquote></del></dl><tr id="c6eiq"><bdo id="c6eiq"><delect id="c6eiq"></delect></bdo></tr><wbr id="c6eiq"></wbr></div>
    
    </html>