在线参数 (.getAppJSONConfig)
一、概述
二、接入方式
三、调用方法
1、直接调用
wx.tmSDK.getAppJSONConfig().then((res) => {
console.log('在线配置参数:', res);
});2、通过指定key获取配置
wx.tmSDK.getAppJSONConfig('key').then((res) => {
console.log('在线配置 key 对应的配置:', res);
});四、返回值说明
1、当传入的参数为空时
2、当传入的参数为【参数ID】字段值时
最后更新于