WeChat applet review code prompt wx.getLocation has not been configured in app.json to teach you how to solve it

Problems encountered when uploading WeChat applet code today:

insert image description here

Solution:

Configure in app.json

"requiredPrivateInfos": [
    "getLocation"
  ]

insert image description here

Find the official API interface

insert image description here

It turned out to be like this, let’s go to the official website of the WeChat public platform and scan the code to enter our mini program service
insert image description here

insert image description here

Find the interface settings under development management, submit and open the business here.

Guess you like

Origin blog.csdn.net/TC_DESpipi/article/details/126116797