.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package com.lxyer.bbs.base;
|
||||
package net.tccn.bbs.base;
|
||||
|
||||
import com.arangodb.ArangoCollection;
|
||||
import com.arangodb.ArangoDB;
|
||||
import com.arangodb.ArangoDatabase;
|
||||
import com.lxyer.bbs.base.entity.VisLog;
|
||||
import net.tccn.bbs.base.entity.VisLog;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
@@ -1,9 +1,9 @@
|
||||
package com.lxyer.bbs.base;
|
||||
package net.tccn.bbs.base;
|
||||
|
||||
import com.arangodb.ArangoCollection;
|
||||
import com.arangodb.ArangoDB;
|
||||
import com.arangodb.ArangoDatabase;
|
||||
import com.lxyer.bbs.base.entity.VisLog;
|
||||
import net.tccn.bbs.base.entity.VisLog;
|
||||
import org.redkale.net.http.RestMapping;
|
||||
import org.redkale.net.http.RestService;
|
||||
import org.redkale.util.AnyValue;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base;
|
||||
package net.tccn.bbs.base;
|
||||
|
||||
import com.arangodb.Predicate;
|
||||
import org.redkale.net.http.RestMapping;
|
||||
@@ -25,7 +25,7 @@ public class BaseService implements Service {
|
||||
@Resource(name = "SERVER_ROOT")
|
||||
protected File webroot;
|
||||
|
||||
@Resource(name = "art123")
|
||||
@Resource(name = "redbbs")
|
||||
protected DataSource source;
|
||||
|
||||
/* 使用redis 代码中配置此处即可
|
||||
|
@@ -1,12 +1,12 @@
|
||||
package com.lxyer.bbs.base;
|
||||
package net.tccn.bbs.base;
|
||||
|
||||
import com.jfinal.kit.Kv;
|
||||
import com.lxyer.bbs.base.entity.VisLog;
|
||||
import com.lxyer.bbs.base.kit.RetCodes;
|
||||
import com.lxyer.bbs.base.user.UserInfo;
|
||||
import com.lxyer.bbs.base.user.UserService;
|
||||
import com.lxyer.bbs.comment.CommentService;
|
||||
import com.lxyer.bbs.content.ContentService;
|
||||
import net.tccn.bbs.base.entity.VisLog;
|
||||
import net.tccn.bbs.base.kit.RetCodes;
|
||||
import net.tccn.bbs.base.user.UserInfo;
|
||||
import net.tccn.bbs.base.user.UserService;
|
||||
import net.tccn.bbs.comment.CommentService;
|
||||
import net.tccn.bbs.content.ContentService;
|
||||
import org.redkale.net.http.*;
|
||||
import org.redkale.source.FilterExpress;
|
||||
import org.redkale.source.FilterNode;
|
||||
@@ -17,7 +17,7 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
import static com.lxyer.bbs.base.kit.RetCodes.RET_USER_UNLOGIN;
|
||||
import static net.tccn.bbs.base.kit.RetCodes.RET_USER_UNLOGIN;
|
||||
|
||||
/**
|
||||
* Created by Lxy at 2017/10/3 13:39.
|
||||
|
@@ -1,10 +1,10 @@
|
||||
package com.lxyer.bbs.base;
|
||||
package net.tccn.bbs.base;
|
||||
|
||||
import com.jfinal.kit.Kv;
|
||||
import com.jfinal.template.Engine;
|
||||
import com.jfinal.template.Template;
|
||||
import com.lxyer.bbs.base.kit.EJ;
|
||||
import com.lxyer.bbs.base.user.UserInfo;
|
||||
import net.tccn.bbs.base.kit.EJ;
|
||||
import net.tccn.bbs.base.user.UserInfo;
|
||||
import org.redkale.convert.Convert;
|
||||
import org.redkale.net.http.*;
|
||||
import org.redkale.util.AnyValue;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base;
|
||||
package net.tccn.bbs.base;
|
||||
|
||||
import org.redkale.net.http.RestMapping;
|
||||
import org.redkale.net.http.RestService;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package net.tccn.base;
|
||||
package net.tccn.bbs.base;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
@@ -1,12 +1,12 @@
|
||||
package com.lxyer.bbs.base;
|
||||
package net.tccn.bbs.base;
|
||||
|
||||
import com.lxyer.bbs.base.entity.Count;
|
||||
import com.lxyer.bbs.base.entity.VisLog;
|
||||
import com.lxyer.bbs.base.user.UserInfo;
|
||||
import com.lxyer.bbs.base.user.UserService;
|
||||
import com.lxyer.bbs.content.Content;
|
||||
import com.lxyer.bbs.content.ContentInfo;
|
||||
import com.lxyer.bbs.content.ContentService;
|
||||
import net.tccn.bbs.base.entity.Count;
|
||||
import net.tccn.bbs.base.entity.VisLog;
|
||||
import net.tccn.bbs.base.user.UserInfo;
|
||||
import net.tccn.bbs.base.user.UserService;
|
||||
import net.tccn.bbs.content.Content;
|
||||
import net.tccn.bbs.content.ContentInfo;
|
||||
import net.tccn.bbs.content.ContentService;
|
||||
import org.redkale.net.http.RestMapping;
|
||||
import org.redkale.net.http.RestService;
|
||||
import org.redkale.source.ColumnValue;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.lxyer.bbs.base;
|
||||
package net.tccn.bbs.base;
|
||||
|
||||
import com.lxyer.bbs.base.iface.UI;
|
||||
import net.tccn.bbs.base.iface.UI;
|
||||
|
||||
/**
|
||||
* user foreign key (userId)
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.bean;
|
||||
package net.tccn.bbs.base.bean;
|
||||
|
||||
import org.redkale.convert.json.JsonConvert;
|
||||
import org.redkale.source.FilterBean;
|
||||
|
@@ -1,10 +1,8 @@
|
||||
package com.lxyer.bbs.base.entity;
|
||||
package net.tccn.bbs.base.entity;
|
||||
|
||||
import javax.persistence.*;
|
||||
import org.redkale.convert.json.*;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author lxyer
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.entity;
|
||||
package net.tccn.bbs.base.entity;
|
||||
|
||||
/**
|
||||
* 用来计数用
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.entity;
|
||||
package net.tccn.bbs.base.entity;
|
||||
|
||||
import org.redkale.convert.json.JsonConvert;
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.entity;
|
||||
package net.tccn.bbs.base.entity;
|
||||
|
||||
import org.redkale.convert.json.JsonConvert;
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.iface;
|
||||
package net.tccn.bbs.base.iface;
|
||||
|
||||
/**
|
||||
* 创建信息
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.iface;
|
||||
package net.tccn.bbs.base.iface;
|
||||
|
||||
/**
|
||||
* Created by liangxianyou at 2018/6/16 18:39.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.iface;
|
||||
package net.tccn.bbs.base.iface;
|
||||
|
||||
import org.redkale.net.http.RestMapping;
|
||||
import org.redkale.util.Sheet;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.lxyer.bbs.base.iface;
|
||||
package net.tccn.bbs.base.iface;
|
||||
|
||||
import com.lxyer.bbs.base.user.UserRecord;
|
||||
import net.tccn.bbs.base.user.UserRecord;
|
||||
|
||||
/**
|
||||
* Created by liangxianyou at 2018/6/9 13:45.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.lxyer.bbs.base.iface;
|
||||
package net.tccn.bbs.base.iface;
|
||||
|
||||
import com.lxyer.bbs.base.user.UserRecord;
|
||||
import net.tccn.bbs.base.user.UserRecord;
|
||||
import org.redkale.net.http.RestMapping;
|
||||
import org.redkale.source.DataSource;
|
||||
import org.redkale.source.FilterExpress;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.kit;
|
||||
package net.tccn.bbs.base.kit;
|
||||
|
||||
import org.redkale.net.http.RestService;
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.kit;
|
||||
package net.tccn.bbs.base.kit;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.List;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.kit;
|
||||
package net.tccn.bbs.base.kit;
|
||||
|
||||
import org.redkale.service.RetLabel;
|
||||
import org.redkale.service.RetResult;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.user;
|
||||
package net.tccn.bbs.base.user;
|
||||
|
||||
import org.redkale.net.http.RestSessionid;
|
||||
import org.redkale.source.FilterBean;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.user;
|
||||
package net.tccn.bbs.base.user;
|
||||
|
||||
import org.redkale.source.FilterBean;
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.user;
|
||||
package net.tccn.bbs.base.user;
|
||||
|
||||
import org.redkale.convert.ConvertColumn;
|
||||
import org.redkale.convert.ConvertType;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lxyer.bbs.base.user;
|
||||
package net.tccn.bbs.base.user;
|
||||
|
||||
import org.redkale.convert.json.JsonConvert;
|
||||
import org.redkale.util.Utility;
|
||||
|
@@ -1,9 +1,9 @@
|
||||
package com.lxyer.bbs.base.user;
|
||||
package net.tccn.bbs.base.user;
|
||||
|
||||
import com.jfinal.kit.Kv;
|
||||
import com.lxyer.bbs.base.BaseService;
|
||||
import com.lxyer.bbs.base.kit.LxyKit;
|
||||
import com.lxyer.bbs.base.kit.RetCodes;
|
||||
import net.tccn.bbs.base.BaseService;
|
||||
import net.tccn.bbs.base.kit.LxyKit;
|
||||
import net.tccn.bbs.base.kit.RetCodes;
|
||||
import org.redkale.net.http.RestMapping;
|
||||
import org.redkale.net.http.RestParam;
|
||||
import org.redkale.net.http.RestService;
|
||||
@@ -21,7 +21,7 @@ import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.Random;
|
||||
|
||||
import static com.lxyer.bbs.base.kit.RetCodes.*;
|
||||
import static net.tccn.bbs.base.kit.RetCodes.*;
|
||||
|
||||
/**
|
||||
* Created by Lxy at 2017/10/3 14:02.
|
||||
|
Reference in New Issue
Block a user