You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					14 lines
				
				340 B
			
		
		
			
		
	
	
					14 lines
				
				340 B
			| 
								 
											3 years ago
										 
									 | 
							
								package com.ynxbd.common.config;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import com.ynxbd.common.helper.http.OkHttpHelper;
							 | 
						||
| 
								 | 
							
								import lombok.extern.slf4j.Slf4j;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								@Slf4j
							 | 
						||
| 
								 | 
							
								public class InitHelper {
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    public static void reToken() {
							 | 
						||
| 
								 | 
							
								        log.info("[启动]token刷新");
							 | 
						||
| 
								 | 
							
								        OkHttpHelper.getAsync("http://127.0.0.1:8123/MessagePlatform/api/reToken", null);
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |