Teach you a simple WeChat how to swipe tickets and WeChat how to swipe tickets "graphic tutorial"

Teach you a simple WeChat how to swipe tickets and WeChat how to swipe tickets "Graphic and text tutorial" Yesterday, during the process of eating out, the editor overheard a few girls from the next door talking about a topic about "WeChat swiping". The girl is talking about how to swipe tickets on WeChat and the skills of how to swipe tickets on WeChat. There are more and more voting activities on WeChat now, such as cute treasures, selfie contests, and so on. The girl at the next table is just because she participated in the local Selfie contest, so they wondered if they could get a trick of how to swipe on WeChat and how to swipe on WeChat. Of course, the editor still knows a little about such tricks on WeChat, but because I don’t know it, I don’t know. I'm so sorry to tell them in the past, but it doesn't matter if I got home and thought about it, I might as well write an article about how to swipe tickets on WeChat and how to swipe tickets on WeChat, so that if you want to know these skills, you can directly It can be found on the Internet. Of course, these skills of the editor are actually learned from the great gods of the WeChat ticket brushing industry. The following editor will explain the specific skills.

More and more people use WeChat in their daily life, and many functions based on WeChat have been developed and used, such as - WeChat voting. As a result, various voting activities have emerged on WeChat, ranging from elementary school students to gov departments, and the transaction of swiping votes has become more and more popular. The technical means of swiping tickets are purely normal access requests, which are basically unrecognizable, but is it really unrecognizable like the people who eat melons? not necessarily!


    1. In order to do more business, Shui Jun used obvious words for swiping votes on WeChat nicknames. For example, using "vote" to filter the voting data, he got a lot of swiping vote information, as shown in the figure:


   In this way, as long as certain rules are passed To match the voter's WeChat nickname, to determine whether the voter is a voter, and if it is a blacklist. If a heavily blacklisted person votes for him, then he is suspected of spending money to buy votes.


  2. Statistical analysis of daily votes, if it is a vote that lasts for several days. We imagine that the voters are working hard to canvass votes every day. From the beginning to the end, the influence should be increasing or the influence will be weaker at the end. Therefore, the statistical curve of the daily votes is first decline and then increase or positive. state distribution. The daily voting volume curve of each player is made, and the difference with others can be seen at a glance.


  3. Statistical analysis of the voting volume during the time period, this should be relatively easy to understand. The voting time should be in line with the work and rest time of ordinary people. If a certain contestant has a large number of votes at 1 or 2 in the morning, and his vote volume is small during the day anyway, it will be difficult. Explained with normal vote.


  4. Analysis of the relationship between vote count burst point and beyond. Buying a ticket requires a cost. If the voter buys a ticket, of course, they want to get the first place with the least cost. If he is surpassed by others, he does not want his initial investment to become a "sunk cost", so he can only add money and buy a ticket to surpass others again. Therefore, if a contestant has been surpassed many times by others, the number of votes will rise immediately, especially if the number of votes rising is almost the same (imagine buying one hundred and one hundred votes each time), then it is basically a swipe.



  5. The situation of multiple people swiping tickets. In this case, it is a bit fun, and the result of development is:

         a. No one agrees to anyone, and the relationship between them is obvious. In the end, the 2 or 3 people with more money have more votes than other people;

         b. In order to save costs, keep the second or third place, and sprint to win the championship in the final period, resulting in a very abnormal vote volume curve.


    Who knows best which person is the navy army? It should be painful. If it is a special voting system and has accumulated a large amount of data, it is possible to build a model to identify the behavior of swiping votes (as for whether it is willing to do this for clicks, or it is unknown if it is not enabled), it is also possible for small companies. Use the first point to make a simple judgment. In addition, you can add a verification code, increase the voting time operation, and increase the time cost of swiping the votes. In addition, the eyes will snicker when you see the verification code too much.



Further reading: How to develop a WeChat voting system


A small voting system, first create four database tables, user user table, vms_vote voting table, vms_voteitem voting option table, vms_joinvote user voting table

The table fields are as follows





Each interface is as follows







The main interface mainly uses iframe

[html] view plain copy
  1. <script>  
  2.     <!-- write script -->  
  3.     function ifmresize(){  
  4.         var ifmdocument.getElementById("contentframe");  
  5.         ifm.height=document.documentElement.clientHeight;  
  6.     }  
  7.     window.onresize=function(){  
  8.         ifmresize();  
  9.     }  
  10. </script>  
  11.  <divclass="col-md-10">   
  12.                 <iframe  
  13.                         width="100%"  
  14.                         id="contentframe"  
  15.                         name="contentframe"  
  16.                         onload="ifmresize()"  
  17.                         frameborder="0"  
  18.                         scrolling="auto"  
  19.                         src="listjoinvotes.jsp">  
  20.                 </iframe>  
  21.             </div>  

The interface is basically the same structure, some interfaces have added a modal box, the code of the interface traversal part is as follows,
[java] view plain copy
  1. <table class="table table-hover">  
  2.   
  3. <thead>  
  4.     <tr>  
  5.         <th>  
  6.                 option number  
  7.         </th>  
  8.         <th>  
  9.                 option name  
  10.         </th>  
  11.         <th>  
  12.                   Voters  
  13.         </th>  
  14.     </tr>  
  15.     </thead>  
  16. <%  
  17.     VoteItemDAO voteItemDAO = new VoteItemDAO();  
  18.     List<VoteItem> voteItemList = voteItemDAO.getVoteItemResult(votes.getVoteid());  
  19.     for(VoteItem voteItem : voteItemList) {      
  20.           
  21. %>  
  22.     <tr>  
  23.         <td>  
  24.             <% = voteItem.getItemid () + 1  %>  
  25.         </td>  
  26.         <td>  
  27.             <%=voteItem.getName() %>  
  28.         </td>  
  29.         <td>  
  30.             <%=voteItem.getVotecount() %>  
  31.         </td>  
  32.     </tr>  
  33.     <%  
  34.     }  
  35.     %>  
  36. </table>  

Because the time field of the database is in the timestamp format, the String type is obtained in the interface, and the date picker format used is also mm/dd/yy, so when changing, it is used. private SimpleDateFormat simpleDateFormatTemp = new SimpleDateFormat("MM/dd/yyyy");
private SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");

to convert the date.

After finishing it, I feel like I'm checking the database's additions and changes, and thinking about business logic. Although it's not difficult, the code is a lot of repetitive and messy. So I won't continue pasting the code.

The basic functions of voting and voting have been implemented, but multiple-choice voting has not been implemented, and the function of paging after database query has not been implemented. We will see if we can continue to improve it later.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324483476&siteId=291194637