About WeChat development model and test account

WBOY
Release: 2016-09-21 14:13:10
Original
1605 people have browsed it

I have just started to learn WeChat development, please help to clarify my doubts
1. The usage mode of WeChat official account is divided into editor mode and developer mode. The two are mutually exclusive, that is, if you enable one, the other will not be used.
My understanding now The two modes above are distinguished by turning on and off the server. Turning it on is the developer mode
About WeChat development model and test account

In addition, I would like to know what the relationship between the WeChat test account and the above two modes are? I think it doesn't matter now. According to it, the program (automatic reply) I deployed on the server should work on both the test account and the subscription account (provided that I configure the URL, token, and js secure domain name to be the same. The code does not involve appid and appsecret) but now the program only runs successfully on the test account, and the subscription account has no response

Please give me some advice, thank you

Reply content:

I have just started to learn WeChat development, please help to clarify my doubts
1. The usage mode of WeChat official account is divided into editor mode and developer mode. The two are mutually exclusive, that is, if you enable one, the other will not be used.
My understanding now The two modes above are distinguished by turning on and off the server. Turning it on is the developer mode
About WeChat development model and test account

In addition, I would like to know what the relationship between the WeChat test account and the above two modes are? I think it doesn't matter now. According to it, the program (automatic reply) I deployed on the server should work on both the test account and the subscription account (provided that I configure the URL, token, and js secure domain name to be the same. The code does not involve appid and appsecret) but now the program only runs successfully on the test account, and the subscription account has no response

Please give me some advice, thank you

You mentioned it yourself,

The appid and appsecret are not used in the code

Why the test account is called a test account? Because it is used for testing. For example, if you want to test some unique functions of the service account, but you are not qualified to apply for a service account, you can use the test account to simulate. The subscription account is also for the official environment. If you want the code deployed by your server to be effective, you must fill in appid and appsecret

Related labels:
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!