WeChat applet release debugging

Recently, I made a small program project release. It was a bumpy journey from testing to launch. The function was completed and the version was released, but the interface just didn’t communicate. I finally came out of the pit. Let me record my release process

 

Usually we do not use the domain name in this development, so we need to check not to verify the legal domain name https certificate. When we go online, this will be removed. We have to use the https certificate to add the domain name request. The interface requested in our project must It is "https://www.xx.com", then the background of the Mini Program web page must be configured as follows

I am using tomcat here and must be configured as follows

 <Connector port="443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true" maxPostSize="-1"
               clientAuth="false" sslProtocol="TLS" keystoreType="PKCS12"         
               keystoreFile="C:\web\xx.com.pfx" keystorePass="xx"/>	
<Engine name="Catalina" defaultHost="www.xx.com">

<Host name="www.xx.com"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">

The publishing steps of the applet are as follows:

 

 

Guess you like

Origin blog.csdn.net/Z865785437029/article/details/112661345