| | |
| | | package com.matrix.system.common.init; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Locale; |
| | | import java.util.Map; |
| | | |
| | | import javax.servlet.ServletContext; |
| | | |
| | | import com.matrix.core.exception.GlobleException; |
| | | import com.matrix.core.constance.MatrixConstance; |
| | | import com.matrix.core.tools.LogUtil; |
| | | import com.matrix.core.tools.StringUtils; |
| | | import com.matrix.system.common.bean.SysCompany; |
| | | import com.matrix.system.common.service.SysCompanyService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.context.ServletContextAware; |
| | | |
| | | import com.matrix.core.constance.MatrixConstance; |
| | | import javax.servlet.ServletContext; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Locale; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | |
| | | * 是否为debug模式 |
| | | */ |
| | | @Value("${debug}") |
| | | |
| | | private String debug; |
| | | |
| | | |
| | | @Value("${system_language}") |
| | | private String systemLanguage; |
| | |
| | | //初始化公司 |
| | | initParams(); |
| | | LogUtil.info("\r\n\r\n**********************************************\r\n" |
| | | + "* =========== Matrix启动成功 ===========\r\n" |
| | | + "* =========== Matrix启动成功 ===========\r\n" |
| | | + "* DEBUG模式:" + debug+"*\r\n" |
| | | + "* 语言环境:" + Locale.getDefault().getLanguage()+"\r\n" |
| | | |
| | | + "**********************************************\r\n"); |
| | | } |
| | | |