0


Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0

Warning: Cannot modify header information - headers already sent in Unknown on line 0
↵1

 axios.post('__MODULE__/Point/produceOrder',{
                            pointproduct_no:this.pointproduct_no,
                            等等等等
                         
                        })
                        .then(function(res){
                            console.log(res);
                        }).catch(function (error) {
                            console.log(error);
                       });

为什么换成get就可以

2018-02-14 提问
1 个回答
0

这是后台php报的错,因为你直接post了raw-data。用JSON.stringify(data)试试

撰写答案

你可能感兴趣的

推广链接