Commit fa95f289 authored by 李德才's avatar 李德才

修改SN文件地质

parent 7fd0a8a5
...@@ -17,7 +17,7 @@ public class SnService { ...@@ -17,7 +17,7 @@ public class SnService {
static { static {
FILE_PATH = PathKit.getWebRootPath().replace("webapp","resources") + File.separator + "SN.properties"; FILE_PATH = PathKit.getRootClassPath() + File.separator + "SN.properties";
} }
...@@ -28,6 +28,7 @@ public class SnService { ...@@ -28,6 +28,7 @@ public class SnService {
* @return * @return
*/ */
public String getPropertiesValue(String cpuCode) { public String getPropertiesValue(String cpuCode) {
System.err.println(FILE_PATH);
Object redisSnCode = Redis.use().get(PREFIX + cpuCode); Object redisSnCode = Redis.use().get(PREFIX + cpuCode);
if (redisSnCode != null) { if (redisSnCode != null) {
return redisSnCode.toString(); return redisSnCode.toString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment