axios请求


 axios({
                            method: 'get',
                            url: '/SystemManage/SetMeal/sensorlisttype?userid=' + userId//,
                        })
                        .then(function (response) {
                        })
                        .catch(function (error) { // 请求失败处理
                            console.log(error);
                        })
 axios.get('/Video/GetServiceCallRecords', {
                        params: {
                           serviceCallNum: '',//客服帐号
                           appMemberName: number,//手机号
                           biginTime: '',//开始时间
                       }
                   })
                       .then(function (response) {
                       })
                       .catch(function (error) {
                           console.log(error);
                       });
  axios.post('/Video/getTrtcToken', {
                      acount: 'admin_nikoyose_3033654362',
                      paswd: 'admin_nikoyose_3033654362',
                      appid: '1400552732',
                        })
                       .then(function (response) {
                           This.token = response.data.token
                      })
                    .catch(function (error) {
                        console.log(error);
                    });