
When developing public accounts, you must have registered before you can apply for a login interface. The original code shown below is the source code of the latest public account unlimited callback login interface of the third-party 2024 public account. You can call login if there is no registration.
Installation instructions:
Test environment:
Nginx 1.20.2 MySQL 5.6.50 PHP-7.2
1. create a site
2. Upload source code to the root directory
3. Create database and import
4. Modify lines 5, 6, and 7 of the database information root directory/config.php
5. Backend address Domain name/admin account admin password 123456
6. Change the domain name in the second line of api.php under the domain name root directory to your own authorization code.php domain name in the fourth line of the domain name
7. Put the domain name on the WeChat public platform
8. Set up server whitelist on public platforms
9. Callback link domain name/api.php is used with the public account appid and key
10. You can access the domain name at the front desk address