WeChat distribution system developed with php+MySQL.
1. Database connection address: PublicConfconfig.php
2. Modify the WeChat menu: PublicConfbutton_config.php, then "WeChat Management" - "Menu Management" - "Regenerate Menu".
Please modify the following three lines of code:
$link_config (If you haven’t followed it yet, please follow it and click “Follow Now” to enter the WeChat article)
$config_good_pic (when purchasing, the product picture on the page)
$headimgurl (without the LOGO in the upper left corner of the head before purchase)
3. Payment authorization directory in the official account: just use the domain name
Payment callback URL: Direct domain name is enough
Alarm notification URL: leave it empty first
4. Change the "Change Promotion QR Code" image, and the format and name of the image in the root directory will remain unchanged. Remember to delete other redundant pictures in the server root directory/imgpublic, leaving only benbendou.jpg.
5. Change the CSS of the page here: ApplicationTplAppdefaultPublicStaticcss
6. If the avatar cannot be displayed, you can set the permissions of the imgpublic folder in the root directory to 777.
7. Picture displayed before WeChat payment:
ApplicationTplAppdefaultPublicStaticimagesproductsinfo.jpg
Corresponding changed file: ApplicationTplAppdefaultIndexpay.html
8. Change the "Remarks" content when placing an order: ApplicationTplAppdefaultIndexindex.html
9. Regarding modifying the content directory address of replies after following WeChat:
ApplicationLibActionAdminWechatAction.class.php
You can modify lines 249, 263, and 267. You can modify Chinese characters. Do not modify the parameter code.
Backend login: http://your domain name/index.php?g=Admin
Initial account: admin
Password: admin888