In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to adjust the receiving address of WeChat Mini Programs API". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "WeChat Mini Programs API receiving address how to adjust" it!
Wx.chooseAddress (OBJECT)
The basic library version 1.1.0 is supported, and the lower version needs to be compatible.
Set up the native interface for editing the shipping address of the user, and return to the address selected by the user after editing.
OBJECT parameter description:
Parameter type is required return successFunction No return the shipping address information selected by the user failFunction No API call failed callback function completeFunction No API call the finished callback function (both successful and failed calls will be executed)
Success return parameter description:
Parameter type description errMsgString call result userNameString consignee name postalCodeString zip code provinceNameString national standard receiving address first-level address cityNameString national standard receiving address second-level address countyNameString national standard receiving address third-level address detailInfoString detailed receiving address information nationalCodeString receiving address country code telNumberString consignee mobile number
Sample code:
Wx.chooseAddress ({success: function (res) {console.log (res.userName) console.log (res.postalCode) console.log (res.provinceName) console.log (res.cityName) console.log (res.countyName) console.log (res.detailInfo) console.log (res.nationalCode) console.log (res.telNumber)}) Bug & Tip
The tip:wx.chooseAddress API requires user authorization. Please be compatible with the scenario in which the user refuses authorization.
At this point, I believe you have a deeper understanding of "how to adjust the receiving address of WeChat Mini Programs API". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.