Helius
2022-07-08 4e95eb7d3040d9dc38e843b8ab8cd75a89f38984
src/main/java/com/xcong/farmer/cms/core/template/Configuration.java
@@ -6,17 +6,21 @@
public abstract class Configuration {
    public String staticPath;
    public String templatePath;
    public String outputPath;
    protected static String BASE_URL;
    protected static String STATIC_URL;
    protected static String staticPath;
    protected static String templatePath;
    protected static String outputPath;
    public Configuration() {
    }
    public Configuration(String templatePath, String staticPath, String outputPath) {
        this.staticPath = staticPath;
        this.templatePath = templatePath;
        this.outputPath = outputPath;
    public Configuration(String templatePath, String staticPath, String outputPath, String baseUrl, String staticUrl) {
        Configuration.staticPath = staticPath;
        Configuration.templatePath = templatePath;
        Configuration.outputPath = outputPath;
        Configuration.BASE_URL = baseUrl;
        Configuration.STATIC_URL = staticUrl;
    }
    public static Map<String, String> templateCode = new HashMap<>();