getLaunchOptionsSync 获取小程序启动时的参数。 var res = wx.getLaunchOptionsSync(); console.log('rs', res) 1045:来源于朋友圈广告