10 recommended articles about WeChat web development

黄舟
Release: 2017-06-15 09:38:18
Original
2108 people have browsed it

First, we need to add a controller under the App area. Here we take AppDemoController as an example. As shown in the figure below: Note: You can also create other areas by yourself, but it is recommended to use the App area here. After creating it, please add your own Action and pay attention to the following things. As shown in the figure below: As shown in the figure above, there are the following points to note: RouteArea and Route: Attribute routing is used here. RouteArea is used to identify the regional route name, and Route is used to define the path. The route name can be set through its Name attribute to facilitate the generation of connections based on the route name. If you find that attribute routing is not working, please note whether you have added the code: "routes.MapMvcAttributeRoutes();" in class RouteConfig. WeChatOAuth: used to obtain WeChat fan information. AppBaseController: Pay attention to changing the controller base class. AppBaseController encapsulates some commonly used properties and functions to quickly iterate business in WeChat development. For example: Te

1. WeChat web development creation Controller

10 recommended articles about WeChat web development

Introduction: This article mainly introduces the creation of Controller for WeChat web development

2. Configuration instructions and common errors for WeChat web development

10 recommended articles about WeChat web development

Introduction: This article mainly introduces the configuration instructions and common errors of WeChat web development

3. Overview of WeChat web development

10 recommended articles about WeChat web development

Introduction: WeChat web development has always been the focus of many developers It is a threshold for developers to develop WeChat. It is quite easy to cross it. If you don't cross it, you can't get in. Therefore, this tutorial is carefully written for the situations of many developers and the encapsulation of the framework.

4. javascript - [WeChat web development] Web page authorization to obtain basic user information: the function button to enter the login page is placed in the second-level menu to successfully log in, change it to the first-level The menu does not work

#Introduction: First of all: I always use the service account for the appid, because the subscription account cannot be authorized to obtain the user's basic information. Suppose: I have 3 pages that need to be logged in, and the entry buttons of these pages need to be placed on the 3 function buttons below the subscription account chat window. Situation 1: When any one of these 3 buttons is placed...

[Related Q&A recommendations]:

javascript - WeChat web page How to use Qiniu JS API to directly upload images during development

html5 - WeChat web development H5 vedio multiple video playback issues

javascript - [WeChat web development] Web page authorization to obtain basic user information: the function button to enter the login page can be successfully logged in when placed in the second-level menu, but not in the first-level menu

##angular.js - When doing single-page development in Angular (mobile terminal), how to make the page only switch up and down, while the middle remains unchanged?

The above is the detailed content of 10 recommended articles about WeChat web development. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!