This commit is contained in:
2017-12-02 16:17:25 +08:00
parent 35e6fa140e
commit a34539ef16
194 changed files with 6976 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
package com.lxyer.bbs.base;
import org.redkale.service.Service;
import org.redkale.source.DataSource;
import javax.annotation.Resource;
import java.io.File;
/**
* Created by Lxy at 2017/10/3 13:50.
*/
public class BaseService implements Service {
protected final int sessionExpireSeconds = 30 * 60;
protected final int contentinfoExpireSeconds = 30 * 60;
@Resource(name = "SERVER_ROOT")
protected File webroot;
@Resource(name = "art123")
protected DataSource source;
protected static final boolean winos = System.getProperty("os.name").contains("Window");
}