I like the second dimension

I like the second dimension, It’s because I like that world, I am touched by their innocence, inspired by their dreams, Inspired by their persistence, Those dreamy beauties that may or may not exist, I can no longer find many of them in the three-dimensional world. How I want to travel through the tunnel of dimensions, with the ones I love, Because there is no way to cross, Let me always wander between the second and third dimensions, No matter how much I love you, I still want to say sorry, Because I live in the third dimension…

May 20, 2019 · 1 min · MoeJue

Mini program architecture

I don’t know how everyone writes mini programs. I was writing WeChat mini programs a few months ago. I created a structure, or framework, by myself. The native architecture of WeChat is like this ├── app.js ├── app.json ├── app.wxss ├── pages │ │── index │ │ ├── index.wxml │ │ ├── index.js │ │ ├── index.json │ │ └── index.wxss │ └── logs │ ├── logs.wxml │ └── logs.js └── utils ...

May 17, 2019 · 4 min · MoeJue

How to submit a form gracefully

This is a very basic HTML form submission question, but it is a very practical technique My business scenario is like this: A form that can dynamically create input, as shown below This means that the name of the input cannot be fixed, otherwise it will definitely be overwritten. The first one is the traditional ordinary submission method, giving each input to be submitted a unique name. ... The format that the browser submits and captures is like this What the server gets and prints is like this, which is very unfriendly to back-end data processing. ...

May 6, 2019 · 2 min · MoeJue

Why does life always hit me?

Going out to get takeout in pajamas, I don’t want to meet acquaintances, but I am seen by many acquaintances; Falling asleep while watching a movie, If you go to the toilet in the middle, you will miss the highlights; Queuing up to buy tickets at scenic spots, No matter which side you line up, the other side always goes faster… Not to mention that every time it rains, it doesn’t rain, and when you take the umbrella, it doesn’t rain. The price was reduced as soon as I bought something, and I was called out as soon as I skipped class. You can’t draw the card you want, and the person you like doesn’t like you anymore… Why does life always take action against me? It’s not destiny, it’s all because of “Murphy’s Law”. ...

April 22, 2019 · 3 min · MoeJue

The girl in the swimsuit is really great

How to develop a passerby heroine – Yinglili – Huangmao for short Postal parcel kaifeng Turn the shell around, the shell is also worth collecting Saw something amazing When I took it out of the box, it seemed that my swimsuit was not properly worn. . . (Covering eyes) Not suitable for children, code, code Finally helped the girl put on her swimsuit These legs are so white, lick them turn around The little tiger teeth are awesome Tricky angle First person (laugh-.- End of unboxing, perfect Ψ( ̄∀ ̄)Ψ

April 19, 2019 · 1 min · MoeJue

Query sql for some common functions

1. Scenario: Query a player’s ranking and how many votes away from the previous one Method 2 (remove reordering and query the number less than yourself) $temp = DB::fetch_first(“SELECT distinct total+jewel_vote+forge_vote ,COUNT(*)+1 AS RANK FROM " . DB::table(‘vote_competition’) .” WHERE total+jewel_vote+forge_vote>" . $competition[‘all’] . " and aid={$aid} ORDER by forge_vote desc"); $rank = $temp[‘RANK’]; Unable to directly query the votes of the previous contestant if ($temp[’total+jewel_vote+forge_vote’]) { //What is queried here is the number of votes different from the first contestant. $up = $temp[’total+jewel_vote+forge_vote’]-$competition[‘all’]; } ...

April 10, 2019 · 5 min · MoeJue

WeChat authorized login

Documentation: https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421135319 The authorized login of WeChat is similar to the authorized login of QQ, Sina and other platforms, and both adopt the OauthOAuth2.0 authentication method. There are two types of WeChat authorization: Silent authorization Pop-up authorization requires manual consent from the user. Explanation of the differences between the two scopes Web page authorization initiated with snsapi_base as the scope is used to obtain the openid of the user who enters the page, and is authorized silently and automatically jumps to the callback page. What the user perceives is that they directly enter the callback page (often a business page) Web page authorization initiated with snsapi_userinfo as the scope is used to obtain the user’s basic information. However, this kind of authorization requires the user to manually agree, and since the user has agreed, there is no need to pay attention, and the user’s basic information can be obtained after authorization. The “Interface for Obtaining User Basic Information” in the user management interface can obtain the user’s basic information based on the user’s OpenID only after the user interacts with the public account through messages or after the follow-up event is pushed. This interface, including other WeChat interfaces, requires the user (i.e. openid) to follow the official account before it can be called successfully. ...

April 5, 2019 · 6 min · MoeJue

WeChat JSAPI payment

I have been doing business related to WeChat some time ago. Although it is not a new technology, I have never had the opportunity to come into contact with it before. Then I stepped on some pitfalls and took the time to organize and record it. There are 7 types of WeChat payment, including: payment code payment, JSAPI payment, Native payment, APP payment, H5 payment, mini program payment, and face payment. WeChat JSAPI payment is used in this business: the user enters the merchant’s H5 page by scanning the QR code on WeChat, following the official account, etc., and calls JSSDK within WeChat to complete the payment. ...

March 30, 2019 · 7 min · MoeJue

Unboxing of Domestic Evil God Figures

**“Evil God” is used to describe these figurines with ridiculously broken expressions and outrageous details. ** Speaking of “evil gods”, the first thing everyone may think of is the “four evil sisters”. In fact, they are all existences that people worship. The reputation of the four evil gods has been passed down forever. They can not only ward off evil spirits, but also have a very long face. Are they powerful weapons that can kill people without blood? ...

March 14, 2019 · 2 min · MoeJue

Now that's a dove.

It’s over, it’s over, it’s really pigeonholed, last month’s year-end summary was still boasting about my diligence in posting blogs every month last year, yet the flag is really meant to be broken. Actually, it’s not too pigeonholed (is there such a thing???). Black question mark), today is actually February 29th (forced redemption) La-la-la-la-la~~~ Well, in fact, the pigeon’s reason is mainly because of the busy work, tonight is also hard to not overtime, can code blog, usually daytime work is very tired, off work want to rest, simply do not have that mind to conceptualize the blog, have to understand have to understand. To ask what I work, IT industry, now in an Internet company as a programmer, full-stack engineer (laughs), so overtime is a common thing, you know! ...

March 1, 2019 · 2 min · MoeJue