|  |  |  | 
|---|
|  |  |  | import com.zy.system.service.ConfigService; | 
|---|
|  |  |  | import com.core.common.Cools; | 
|---|
|  |  |  | import com.core.common.SpringUtils; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.HashMap; | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 基础配置中心。可通过刷新指定接口刷新相关配置 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | public class Parameter { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private volatile static Parameter instance = null; | 
|---|
|  |  |  | 
|---|
|  |  |  | // 验证码开关 | 
|---|
|  |  |  | private String codeSwitch; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getCodeSwitch() { | 
|---|
|  |  |  | return codeSwitch; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setCodeSwitch(String codeSwitch) { | 
|---|
|  |  |  | this.codeSwitch = codeSwitch; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 库位初始化口令 | 
|---|
|  |  |  | private String locMastInitPwd; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getLocMastInitPwd() { | 
|---|
|  |  |  | return locMastInitPwd; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // 打包下线 | 
|---|
|  |  |  | private String packDown; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setLocMastInitPwd(String locMastInitPwd) { | 
|---|
|  |  |  | this.locMastInitPwd = locMastInitPwd; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // erp上报 | 
|---|
|  |  |  | private String erpReport; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|