| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -27,13 +27,13 @@ export const yztoken = async () => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      ) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      .then((res) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log('connect/token',res.data) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //console.log('connect/token',res.data)
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        writetoken(res.data.expires_in); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        window.localStorage.setItem("token", res.data.access_token); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        window.localStorage.setItem("refresh_token", res.data.refresh_token); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log('new token:',localStorage.getItem("token")) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log('new expires_in',localStorage.getItem("expires_in")) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //console.log('new token:',localStorage.getItem("token"))
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //console.log('new expires_in',localStorage.getItem("expires_in"))
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  } | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |