WeChat Mini Programs could not get the data when previewing on the mobile phone.

I configured the https domain name (determined to be https) in the Wechat public platform developer, and then I can send a request normally on the computer developer"s tool, but I can"t request the data when previewing the phone, and neither the trial version nor the development version can do it

.

clipboard.png

verify the domain name. It can be debugged normally on the developer"s tool, and it is no problem to send a request. Has anyone ever encountered such a question? ask for an answer. Thank you

Mar.10,2021

have you solved


have you sent your request data link to the server? Because the mobile phone network and your request link are not in a local area


turn on debug mode when the phone previews, you can request data. I have another question, that is, why the pictures requested by the background are not displayed when the phone previews.

Menu