Skip to content

Get Real-Time Location

When the customer places an order, in order to display the nearest address by default, the WeChat wx.getLocation interface will be called to obtain the customer's real-time location. Based on the customer's location, the nearest address to this location will be queried from the customer address database.