Visual observation is not compatible with wx.getUserInfo
, which is directly failed by default.
wx.getUserInfo
discontinued on April 30th: https://developers.weixin.qq.
starting from April 30, 2018, when Mini Program and Mini Game's trial and development versions call the wx.getUserInfo API, the authorization query box cannot be popup, and the call fails by default.
is your background database local?
add the output statement to the output returned by the background. When debugging the mobile phone, click on the upper right corner, turn on the debugging, and see what is returned in the background to see if there is any error.