Niushop中uniapp的访问接口

Niushop中uniapp的访问接口

直接上代码


	this.$api.sendRequest({
			url: '/pintuan/api/order/isbuy',
		 
			success: res => {
				console.log(res)
				if(res.code == 1){
					//跳转VIP
		 
					
				} 
				
			},
			fail() {
				//联网失败的回调
			 
			}
		});
posted @ 2023-10-23 18:24  79524795  阅读(23)  评论(0编辑  收藏  举报