WeChat applet java development process sharing

Some time ago, I came into contact with the development of WeChat mini-programs. During the development process, I had to admit that the development of WeChat mini-programs was simple and rude, not much to say, just hight .

WeChat mini-programs can be downloaded from the public platform. There are 64-bit and 32-bit. I won't beg too much here .

After downloading the WeChat applet, open the interface like this, log in and verify by scanning the QR code, add items, and carry it by Fengtian, as shown above:


After logging in. . .


The basic framework of WeChat will have a simple tutorial on the public platform, so I won't say more.

Here I will directly talk about how I link the background for development, in fact, the same processing method as ajax.


There is also WeChat's click event, which I really think is simple and rude. . .



It's just a simple demonstration. Let me remind you that after the console debugging is used up, it is best to block it. Otherwise, if you console.log() reports an error, the code behind you will not be executed, just like js. It can also be said that it is actually js.


Then his request background is to link the server through a url, identify the method and run it.


In this way, you can basically link the server method and debug it. . .

Compared with the app, the WeChat applet is easier to develop, and the app development is not only expensive, but also relatively cumbersome. In terms of compatibility, the Mini Program can basically be used with WeChat installed .

Guess you like

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