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.
		
		
		
		
			
				
					27 lines
				
				749 B
			
		
		
			
		
	
	
					27 lines
				
				749 B
			| 
								 
											3 years ago
										 
									 | 
							
								package com.ynxbd.common.helper.xbd;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import com.ynxbd.common.dao.xbd.OutTeamDao;
							 | 
						||
| 
								 | 
							
								import com.ynxbd.common.helper.ProperHelper;
							 | 
						||
| 
								 | 
							
								import lombok.extern.slf4j.Slf4j;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * @author 李进才
							 | 
						||
| 
								 | 
							
								 * @ClassName XBDHelper
							 | 
						||
| 
								 | 
							
								 * @Description description
							 | 
						||
| 
								 | 
							
								 * @date 2023/3/30 17:02
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								@Slf4j
							 | 
						||
| 
								 | 
							
								public class XBDHelper {
							 | 
						||
| 
								 | 
							
								    private static final String OUT_TEAM_CLOUD_FILM;
							 | 
						||
| 
								 | 
							
								    public static OutTeamDao outTeamDao;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    static {
							 | 
						||
| 
								 | 
							
								        ProperHelper config = new ProperHelper().read("xbd.properties");
							 | 
						||
| 
								 | 
							
								        OUT_TEAM_CLOUD_FILM = config.getString("xbd.out_team_cloud_film_link");
							 | 
						||
| 
								 | 
							
								        if(OUT_TEAM_CLOUD_FILM ==null){
							 | 
						||
| 
								 | 
							
								            log.error("新八达内部团队配置文件读取失败");
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        outTeamDao = new OutTeamDao(OUT_TEAM_CLOUD_FILM);
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |