| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -25,23 +25,23 @@ function http(uri, data, callback, method = 'GET', showLoading, title) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									uni.hideLoading(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// if(res.statusCode == 401 || 
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// res.data.message == '操作失败,token非法无效!' || 
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// res.data.message == '操作失败,用户不存在!'){
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 	uni.removeStorageSync('token')
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 	console.error('登录过期');
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 	utils.toLogin()
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// }
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								if(res.statusCode == 401 ||  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								res.data.message == '操作失败,token非法无效!' ||  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								res.data.message == '操作失败,用户不存在!'){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									uni.removeStorageSync('token') | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									console.error('登录过期'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									utils.toLogin() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// if(res.statusCode == 200 && res.data.code != 200
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// && res.data.code != 902){
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 	uni.showToast({
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 		mask: true,
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 		duration: 1000,
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 		title: res.data.message,
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 		icon:'none'
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// 	});
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								// }
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								if(res.statusCode == 200 && res.data.code != 200 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								&& res.data.code != 902){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									uni.showToast({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										mask: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										duration: 1000, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										title: res.data.message, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										icon:'none' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									}); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								callback(res.data) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							}, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |