search
Detailed introduction to the structure overview

Detailed introduction to the structure overview

WeChat Mini Program Development Tutorial (Basics) 1-First Introduction to WeChat Mini Programs WeChat Mini Program Development Tutorial (Basics) 2-WeChat Mini Program Structure Overview In the previous tutorial, it was written that the development tool will generate a default program framework. The main process code of the program is included in app.js. In the default implementation, this part of the function is relatively simple, but it is still valuable for learning and researching small program development. Since there are not many lines of code, I will post it all at once and explain it later //app.jsApp({ onLaunch: fu...

Jun 11, 2017 am 10:31 AM
Detailed introduction to user group management

Detailed introduction to user group management

Model layer entity class: public class UserList { public string total { get; set; } pub

Jun 11, 2017 am 10:27 AM
What is WeChat authentication? Summary of how to use WeChat authentication

What is WeChat authentication? Summary of how to use WeChat authentication

This article mainly provides a detailed analysis of the .Net code for the certification of "becoming a developer" in the development of WeChat public platform. Interested friends can refer to the .Net certification for the development of WeChat public service platform and certification to become a developer. Specific details The content of these codes is as follows. These codes are only used once when starting the authentication, and will not be used in the future: const string Token = "XXXXX";//Your token pr...

Jun 11, 2017 am 10:27 AM
Recommended courses on sliding operations

Recommended courses on sliding operations

Among the actual mobile application interaction methods, the most common one is the sliding operation. Sliding left and right to switch pages, spreading your fingers to enlarge pictures, etc. are all done by sliding operations. The related events provided by the WeChat applet by default are as follows: touch-related operation events tap correspond to click operations, and longtap is also provided to support long press operations. These are relatively simple, so I won’t go into details. touchmove corresponds to the sliding operation, and bindtouchmove can respond to the sliding operation. //wxml<view id="...

Jun 11, 2017 am 10:25 AM
10 recommended articles about account development

10 recommended articles about account development

Abstract: After more than a year of development, China Merchants Bank has exceeded 15 million fans in 2014, ranking first among banking WeChat public accounts. It can be called the most successful WeChat public account case. As the developer of China Merchants Bank’s credit card WeChat platform, Shenzhen CloudSoft has summarized the following experiences regarding the development of advanced applications for WeChat public accounts. In April 2013, China Merchants Bank's credit card WeChat public account was launched with a "little trick" friendly image. It gained the favor of millions of users in less than half a year. After more than a year of development, it has more than 15 million fans so far. Ranking top of the list of banking WeChat public accounts, it can be called the most successful...

Jun 11, 2017 am 10:22 AM
5 recommended articles about imitating QQ

5 recommended articles about imitating QQ

This article mainly writes about some of the problems I encountered during the progress of the SmallAppForQQ project. I hope reading this article will be helpful to you. SmallAppForQQ: A WeChat applet for accessing QQ. At the beginning of this article, I will briefly introduce the project structure. If you do not have the development tools installed, you can download them from github.com/xiehui999/SmallAppForQQ. There are four main file types in the WeChat applet project structure, as follows - 1) WXML file: (Weixin Markup Language)...

Jun 11, 2017 am 10:21 AM
10 recommended articles about refunds

10 recommended articles about refunds

Let’s first complain about WeChat’s documentation and demo. The important step information is not emphasized clearly, and the .net demo has not been successfully run. 1. Scan the WeChat QR code to log in 2. WeChat PC payment took many attempts to get through the refund function. The following is an introduction to the development steps of the WeChat payment refund function: 1. Download the certificate and import it into the system. WeChat refund requires a certificate. This certificate is not the certificate in the official demo, but requires its own API security bar in the WeChat merchant platform. Download the certificate and see the following words in a word document of the official certificate usage example: There is one thing to note about C#, except...

Jun 11, 2017 am 10:15 AM
Summary of WeChat payment interface development examples

Summary of WeChat payment interface development examples

This article mainly describes the pitfalls encountered in the development process of connecting WeChat applet to WeChat payment. It is divided into two parts, the applet and the backend interface encapsulation. The main contents of this article are as follows: 1. Backend interface encapsulation; 2. Mini program integration; 3. Summary of pitfalls. 1. Backend interface encapsulation is based on ThinkPHP 5 for interface encapsulation. The specific steps are as follows: 1. The official WeChat payment document provides a sample of PHP script WeChat payment, download it; 2. The sample has encapsulated each class, we only need Just add the namespace, create a new directory wxpay under the extend directory of TP5, and put...

Jun 11, 2017 am 10:14 AM
Recommended articles about WeChat refunds

Recommended articles about WeChat refunds

Let’s first complain about WeChat’s documentation and demo. The important step information is not emphasized clearly, and the .net demo has not been successfully run. 1. Scan the WeChat QR code to log in 2. WeChat PC payment took several attempts to get through the refund function. The following is an introduction to the development steps of the WeChat payment refund function: 1. Download the certificate and import it into the system. WeChat refund requires a certificate. This certificate is not the certificate in the official demo, but requires its own API security bar in the WeChat merchant platform. Download the certificate and see the following words in a word document of the official certificate usage example: There is one thing to note about C#, except...

Jun 11, 2017 am 10:14 AM
Summary of code examples for WeChat user registration and login

Summary of code examples for WeChat user registration and login

This article mainly introduces the relevant information on the implementation of the WeChat code scanning registration and login function on the PC side developed by .NET WeChat. It is very good and has reference value. Friends who need it can refer to the next one. In the preface, let me state the focus of this article. In order to realize the idea, the code and database design are mainly to show the idea. If the project has strict requirements on code efficiency, do not copy it. I believe that anyone who has done WeChat development has done a lot of authorization, but generally speaking we do more authorization for mobile websites. To be precise, we do authorization under WeChat. A problem I encountered today is that project support...

Jun 11, 2017 am 10:07 AM
10 recommended articles about recording

10 recommended articles about recording

WeChat jssdk recording function development record tag (space separated): Front-end 0. Requirement description Open the page in the WeChat browser and create a button. The user will start recording after pressing and holding the button, stop recording after letting go, upload the recording and save it for a long time. 1. Development process If you are developing an ordinary display page, it is no different from developing an ordinary page. However, if you want to use the recording function of the device (mobile phone) here, you need to call the recording interface of the WeChat app and use the WeChat jssdk. Using WeChat jssdk: WeChat JS-SDK documentation. First log in to the WeChat public platform and enter "...

Jun 11, 2017 am 10:06 AM
Detailed introduction to the recording function

Detailed introduction to the recording function

WeChat jssdk recording function development record tag (space separated): Front-end 0. Requirement description Open the page in the WeChat browser and create a button. The user will start recording after pressing and holding the button, stop recording after letting go, upload the recording and save it for a long time. 1. Development process If you are developing an ordinary display page, it is no different from developing an ordinary page. However, if you want to use the recording function of the device (mobile phone) here, you need to call the recording interface of the WeChat app and use the WeChat jssdk. Using WeChat jssdk: WeChat JS-SDK documentation. First log in to the WeChat public platform and enter "...

Jun 11, 2017 am 10:06 AM
10 recommended articles about wxss

10 recommended articles about wxss

I use vscode directly as the editor (the same applies to other editors, and I still use WeChat development tools for preview). For syntax highlighting, set wxml to html and wxss to css. "files.associations": { "*.wxss": "css ", "*.wxml":&a

Jun 11, 2017 am 10:05 AM
10 recommended articles about events of concern

10 recommended articles about events of concern

As mentioned in the previous blog post, WeChat messages can be roughly divided into two types. One is ordinary messages including text, voice, pictures, etc., and the other is the event type that this article will cover. Including: following/unfollowing events, scanning QR code events with parameters, reporting geographical location events, custom menu-related events, etc. This article explains them one by one. As mentioned in the previous article, if the WeChat server does not receive a response within 5 seconds, it will disconnect the connection and reinitiate the request, retrying three times in total. In this case, the problem arises. There is such a scenario: when a user follows a WeChat account, the current user information is obtained, and then...

Jun 11, 2017 am 09:38 AM

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use