.
This commit is contained in:
@@ -3,7 +3,7 @@ package net.tccn.base;
|
||||
import org.redkale.convert.json.JsonConvert;
|
||||
import org.redkale.net.http.RestMapping;
|
||||
import org.redkale.service.Service;
|
||||
import org.redkale.source.CacheSource;
|
||||
import org.redkale.source.CacheMemorySource;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.File;
|
||||
@@ -25,8 +25,8 @@ public class BaseService implements Service {
|
||||
|
||||
public static boolean isWinos = System.getProperty("os.name").contains("Window");
|
||||
|
||||
@Resource(name = "cacheSource")
|
||||
protected CacheSource cacheSource;
|
||||
@Resource(name = "cache")
|
||||
protected static CacheMemorySource cacheSource = new CacheMemorySource("cache");
|
||||
|
||||
@Resource(name = "APP_HOME")
|
||||
protected File APP_HOME;
|
||||
|
||||
Reference in New Issue
Block a user