首先是post

	let data = {
				//要传的值
				};
				this.$http.post("后缀", data).then(res => {
				console.log(res)
				});

然后是get

			this.$http.get("后缀?uid="+this.uid+'&'+'shopId='+this.shopId).then(res => {
				console.log(res)
				});
Logo

前往低代码交流专区

更多推荐