In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces WeChat Mini Programs how to obtain the relevant knowledge of the data fields customized by the third-party platform, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe that everyone will gain something after reading this article on how WeChat Mini Programs obtains the data fields customized by the third-party platform. Let's take a look.
Wx.getExtConfig (OBJECT)
The basic library 1.1.0 is supported, and the lower version needs to be compatible.
Get data fields customized by third-party platforms.
OBJECT parameter description:
Parameter type required returns successFunction No return data customized by third-party platform failFunction No API call failed callback function completeFunction No API call ends callback function (both successful and failed calls will be executed)
Success return parameter description:
Parameter type indicates the result of errMsgString call extConfigObject data customized by third-party platform Bug & Tip
For the time being, wx.getExtConfig cannot judge whether it is compatible through wx.canIUse. Developers need to judge whether wx.getExtConfig exists to be compatible.
Sample code:
If (wx.getExtConfig) {wx.getExtConfig ({success: function (res) {console.log (res.extConfig)})} wx.getExtConfigSync ()
The basic library 1.1.0 is supported, and the lower version needs to be compatible.
Gets the synchronization interface for the data fields customized by the third-party platform.
Return description:
The parameter type describes the data Bug & Tip customized by extConfigObject third-party platform
For the time being, wx.getExtConfigSync cannot judge whether it is compatible through wx.canIUse. Developers need to judge whether wx.getExtConfigSync exists to be compatible.
Sample code:
Let extConfig = wx.getExtConfigSync? Wx.getExtConfigSync (): {} console.log (extConfig) on "how to get data fields customized by WeChat Mini Programs on a third-party platform" ends here. Thank you for reading! I believe you all have a certain understanding of "how to obtain the custom data fields of the third-party platform". If you want to learn more, you are welcome to follow the industry information channel.
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.