post请求的例子:
checkin (){
this.$http.post('url',{
mobilePhone:this.phone,
password:this.password
}).then(function(res){
});
}
get请求的例子:
nextOne2 (){
this.$http.get('url',{
params: {
filename:this.formData.chanpinjia,
userid: this.$root.userid
},
}
).then(function(res){
});
},
get和post请求方式
最新推荐文章于 2022-08-05 00:37:09 发布