如圖:這個是我的代碼:wx.request({ url: 'https://api.scy.xieshou.org/', data: { method: 'Evaluation.submitBehaviorReport', v: '2', selected_filter:[ { filterid: this.data.filter_id, filtername: this.data.filter_name } ], send_info:{ gender: this.data.userData.gender, beh_time: this.data.userData.beh_time, age: this.data.userData.index, from_url:'', pid:'', cid:'', rid:'' }, behavior_result: [optionArr] }, method: 'POST', header: { "content-type": "application/x-www-form-urlencoded" }, success: function(res){ console.log(res) _this.setData({ report_id: res.data.data.report_id }) }})
微信小程序: POST請求參數傳遞的問題,后臺接收不到“behavior_result”參數
慕少森
2018-12-19 18:19:41