mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-28 23:55:04 +08:00
update agreements
This commit is contained in:
@@ -9,10 +9,7 @@ import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2014/8/4.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
@WebServlet(name = "Index",urlPatterns = "/index",loadOnStartup = 1)
|
||||
public class Index extends HttpServlet {
|
||||
|
||||
@@ -7,10 +7,7 @@ import love.sola.netsupport.wechat.Command;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2016/2/27.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public abstract class API {
|
||||
|
||||
|
||||
@@ -24,10 +24,7 @@ import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2016/2/27.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
@WebServlet(name = "APIRouter", urlPatterns = "/api/*", loadOnStartup = 11)
|
||||
public class APIRouter extends HttpServlet {
|
||||
|
||||
@@ -9,10 +9,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/21.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class CheckSession extends API {
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ package love.sola.netsupport.api;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/5.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Error {
|
||||
|
||||
|
||||
@@ -23,10 +23,7 @@ import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/12.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
|
||||
@WebServlet(name = "Login", urlPatterns = "/api/admin/login", loadOnStartup = 12)
|
||||
|
||||
@@ -11,10 +11,7 @@ import love.sola.netsupport.wechat.Command;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2014/8/20.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class GetUser extends API {
|
||||
|
||||
|
||||
@@ -18,10 +18,7 @@ import org.hibernate.Session;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/22.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class TicketPush extends API {
|
||||
|
||||
|
||||
@@ -10,10 +10,7 @@ import javax.servlet.http.HttpServletRequest;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/15.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class DashBoard extends API {
|
||||
|
||||
|
||||
@@ -10,10 +10,7 @@ import love.sola.netsupport.wechat.Command;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/15.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class FlushCache extends API {
|
||||
|
||||
|
||||
@@ -13,10 +13,7 @@ import org.hibernate.Session;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/20.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class SetPassword extends API {
|
||||
|
||||
|
||||
@@ -18,10 +18,7 @@ import java.util.Calendar;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/18.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class TicketLog extends API {
|
||||
|
||||
|
||||
@@ -11,10 +11,7 @@ import love.sola.netsupport.wechat.Command;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/13.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class TicketLookup extends API {
|
||||
|
||||
|
||||
@@ -10,10 +10,7 @@ import love.sola.netsupport.wechat.Command;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/18.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class TicketTrack extends API {
|
||||
|
||||
|
||||
@@ -16,10 +16,7 @@ import javax.servlet.http.HttpServletRequest;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/13.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class TicketUpdate extends API {
|
||||
|
||||
|
||||
@@ -16,10 +16,7 @@ import javax.servlet.http.HttpServletRequest;
|
||||
import static love.sola.netsupport.util.Checker.*;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/15.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class ProfileModify extends API {
|
||||
|
||||
|
||||
@@ -24,10 +24,7 @@ import java.sql.SQLException;
|
||||
import static love.sola.netsupport.util.Checker.*;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/29.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Register extends API {
|
||||
|
||||
|
||||
@@ -16,10 +16,7 @@ import org.hibernate.criterion.Restrictions;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/4.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class TicketQuery extends API {
|
||||
|
||||
|
||||
@@ -16,10 +16,7 @@ import org.hibernate.Session;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/6.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class TicketSubmit extends API {
|
||||
|
||||
|
||||
@@ -18,10 +18,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2014/8/20.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
@WebServlet(name = "OAuth2", urlPatterns = "/oauth2/callback", loadOnStartup = 21, asyncSupported = true)
|
||||
public class OAuth2 extends HttpServlet {
|
||||
|
||||
@@ -6,10 +6,7 @@ import javax.servlet.AsyncContext;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2016/3/26.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public interface OAuth2Handler {
|
||||
|
||||
|
||||
@@ -9,10 +9,7 @@ import java.util.Map;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/29.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Cortana {
|
||||
|
||||
|
||||
@@ -8,10 +8,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/30.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Lang {
|
||||
|
||||
|
||||
@@ -4,10 +4,7 @@ import lombok.ToString;
|
||||
import love.sola.netsupport.sql.TableConfig;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/23.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
@ToString
|
||||
public class Settings {
|
||||
|
||||
@@ -8,6 +8,9 @@ import me.chanjar.weixin.mp.api.WxMpInMemoryConfigStorage;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
/**
|
||||
* @author chanjarster
|
||||
*/
|
||||
@XStreamAlias("wechat-config")
|
||||
@ToString
|
||||
public class WxMpXmlInMemoryConfigStorage extends WxMpInMemoryConfigStorage {
|
||||
|
||||
@@ -7,10 +7,7 @@ import java.util.Map;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/6.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Access {
|
||||
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
package love.sola.netsupport.enums;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/14.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Attribute {
|
||||
|
||||
|
||||
@@ -5,10 +5,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/30.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Block {
|
||||
|
||||
|
||||
@@ -6,10 +6,7 @@ import java.util.Map;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2014/8/20.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public enum ISP {
|
||||
|
||||
|
||||
@@ -3,6 +3,9 @@ package love.sola.netsupport.enums;
|
||||
import javax.persistence.AttributeConverter;
|
||||
import javax.persistence.Converter;
|
||||
|
||||
/**
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
@Converter
|
||||
public class ISPConverter implements AttributeConverter<ISP, Integer> {
|
||||
|
||||
|
||||
@@ -7,10 +7,7 @@ import java.util.Map;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/6.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Status {
|
||||
|
||||
|
||||
@@ -12,10 +12,7 @@ import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/6.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
|
||||
@Data
|
||||
|
||||
@@ -11,10 +11,7 @@ import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/2.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
|
||||
@@ -10,10 +10,7 @@ import love.sola.netsupport.enums.ISPConverter;
|
||||
import javax.persistence.*;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2014/8/20.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Sola
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
@EqualsAndHashCode(of = "id")
|
||||
public final class MapSession implements WxSession, Serializable {
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.util.Map;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* @author Sola
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class MapSessionRepository {
|
||||
|
||||
|
||||
@@ -4,10 +4,7 @@ package love.sola.netsupport.session;
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/14.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class WechatSession {
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package love.sola.netsupport.session;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Sola
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public interface WxSession {
|
||||
|
||||
|
||||
@@ -25,10 +25,7 @@ import java.io.IOException;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2014/8/20.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class SQLCore {
|
||||
|
||||
|
||||
@@ -5,10 +5,7 @@ import love.sola.netsupport.config.Settings;
|
||||
import java.sql.*;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/10.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class TableConfig extends SQLCore{
|
||||
|
||||
|
||||
@@ -6,10 +6,7 @@ import org.hibernate.criterion.Projections;
|
||||
import org.hibernate.criterion.Restrictions;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/12.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class TableOperator extends SQLCore {
|
||||
|
||||
|
||||
@@ -13,10 +13,7 @@ import org.hibernate.envers.query.AuditEntity;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/6.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class TableTicket extends SQLCore {
|
||||
|
||||
|
||||
@@ -12,10 +12,7 @@ import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/10.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
@SuppressWarnings("Duplicates")
|
||||
public class TableUser extends SQLCore {
|
||||
|
||||
@@ -4,10 +4,7 @@ import love.sola.netsupport.enums.Block;
|
||||
import love.sola.netsupport.enums.ISP;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/12.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Checker {
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ package love.sola.netsupport.util;
|
||||
import org.mindrot.jbcrypt.BCrypt;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/6.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Crypto {
|
||||
|
||||
|
||||
@@ -8,10 +8,7 @@ import java.text.SimpleDateFormat;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/11.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class ParseUtil {
|
||||
|
||||
|
||||
@@ -8,6 +8,9 @@ import java.security.Key;
|
||||
import java.security.KeyPair;
|
||||
import java.security.KeyPairGenerator;
|
||||
|
||||
/**
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class RSAUtil {
|
||||
|
||||
|
||||
|
||||
@@ -8,10 +8,7 @@ import java.io.IOException;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/6.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class Redirect {
|
||||
|
||||
|
||||
@@ -11,10 +11,7 @@ import java.util.Map;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/26.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public enum Command {
|
||||
|
||||
|
||||
@@ -24,10 +24,7 @@ import java.io.IOException;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/2.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
@WebServlet(name = "WxMpServlet", urlPatterns = "/wechat", loadOnStartup = 99)
|
||||
public class WxMpServlet extends HttpServlet {
|
||||
|
||||
@@ -10,10 +10,7 @@ import me.chanjar.weixin.mp.bean.WxMpXmlOutMessage;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/29.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class AutoReplyHandler implements WxMpMessageHandler {
|
||||
|
||||
|
||||
@@ -24,10 +24,7 @@ import java.util.Map;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/11.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class CancelHandler implements WxMpMessageHandler {
|
||||
|
||||
|
||||
@@ -24,10 +24,7 @@ import static love.sola.netsupport.config.Lang.format;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/15.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class ProfileHandler implements WxMpMessageHandler, OAuth2Handler {
|
||||
|
||||
|
||||
@@ -24,10 +24,7 @@ import static love.sola.netsupport.config.Lang.format;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/8.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class QueryHandler implements WxMpMessageHandler {
|
||||
|
||||
|
||||
@@ -19,10 +19,7 @@ import java.util.Map;
|
||||
import static love.sola.netsupport.config.Lang.format;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/4.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class RegisterHandler implements WxMpMessageHandler {
|
||||
|
||||
|
||||
@@ -22,10 +22,7 @@ import static love.sola.netsupport.config.Lang.format;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/9.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class SubmitHandler implements WxMpMessageHandler {
|
||||
|
||||
|
||||
@@ -22,10 +22,7 @@ import java.util.Map;
|
||||
import static love.sola.netsupport.config.Lang.format;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/25.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class SubscribeHandler implements WxMpMessageHandler {
|
||||
|
||||
|
||||
@@ -25,10 +25,7 @@ import static love.sola.netsupport.config.Lang.format;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/12.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class LoginHandler implements WxMpMessageHandler, OAuth2Handler {
|
||||
|
||||
|
||||
@@ -16,10 +16,7 @@ import static love.sola.netsupport.config.Lang.format;
|
||||
import static love.sola.netsupport.config.Lang.lang;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/28.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class OperatorInfoHandler implements WxMpMessageHandler {
|
||||
|
||||
|
||||
@@ -18,10 +18,7 @@ import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/26.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class SignHandler implements WxMpMessageHandler {
|
||||
|
||||
|
||||
@@ -10,10 +10,7 @@ import me.chanjar.weixin.mp.bean.WxMpXmlMessage;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/4.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class CheckSpamMatcher implements WxMpMessageMatcher {
|
||||
|
||||
|
||||
@@ -8,10 +8,7 @@ import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/26.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class CommandMatcher implements WxMpMessageMatcher {
|
||||
|
||||
|
||||
@@ -5,10 +5,7 @@ import me.chanjar.weixin.mp.api.WxMpMessageMatcher;
|
||||
import me.chanjar.weixin.mp.bean.WxMpXmlMessage;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/11/26.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class RegisterMatcher implements WxMpMessageMatcher {
|
||||
|
||||
|
||||
@@ -6,10 +6,7 @@ import org.reflections.Reflections;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2016/3/26.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class ReflectionTest {
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ package love.sola.netsupport.config;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2016/4/18.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class CortanaTest {
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ package love.sola.netsupport.config;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2016/3/26.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class ReflectionTest {
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@ package love.sola.netsupport.enums;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/6.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class ReflectionTest {
|
||||
|
||||
|
||||
@@ -10,10 +10,7 @@ import java.security.spec.InvalidKeySpecException;
|
||||
import java.security.spec.X509EncodedKeySpec;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/6.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class EncryptTest {
|
||||
|
||||
|
||||
@@ -7,10 +7,7 @@ import org.junit.Test;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2015/12/2.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class GsonTest {
|
||||
|
||||
|
||||
@@ -9,10 +9,7 @@ import static org.hamcrest.CoreMatchers.equalTo;
|
||||
import static org.junit.Assert.assertThat;
|
||||
|
||||
/**
|
||||
* ***********************************************
|
||||
* Created by Sola on 2016/3/26.
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
* @author Sola {@literal <dev@sola.love>}
|
||||
*/
|
||||
public class URLEncodeTest {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user