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
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
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
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