Cloud call to get
1. The first call wx.login interfaces, step-number information is updated when the user enters the active applet.
2. Callwx.getWeRunData获取敏感数据(就是一串你看不懂的字符),获得
CloudID
3. The micro-channel to the upper left corner click on Developer Tools = "cloud development, a new cloud function (direct function to build a cloud on the line, which you do not need to write any code)
4.
wx.cloud.init();
wx.cloud.callFunction({ name: 'myFunction', data: { weRunData: wx.cloud.CloudID('xxx'), // 这个 CloudID 值到云函数端会被替换 obj: { shareInfo: wx.cloud.CloudID('yyy'), // 非顶层字段的 CloudID 不会被替换,会原样字符串展示 } } }).then(res=>{
console.log(res);
})