init
parent
01022a3169
commit
815ad7b2d4
@ -1,4 +1,4 @@
|
||||
package com.huishuitong;
|
||||
package com.gszc;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
@ -1,6 +1,6 @@
|
||||
package com.huishuitong.build;
|
||||
package com.gszc.build;
|
||||
|
||||
import com.huishuitong.util.CloseableUtils;
|
||||
import com.gszc.util.CloseableUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.build;
|
||||
package com.gszc.build;
|
||||
|
||||
public class Result {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.build;
|
||||
package com.gszc.build;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.conf;
|
||||
package com.gszc.conf;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package com.huishuitong.conf;
|
||||
package com.gszc.conf;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.alibaba.fastjson.serializer.SerializerFeature;
|
||||
import com.huishuitong.build.Result;
|
||||
import com.huishuitong.build.ResultBuilder;
|
||||
import com.gszc.build.Result;
|
||||
import com.gszc.build.ResultBuilder;
|
||||
import org.apache.shiro.authc.AuthenticationException;
|
||||
import org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter;
|
||||
import org.slf4j.Logger;
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.conf;
|
||||
package com.gszc.conf;
|
||||
|
||||
|
||||
import org.apache.shiro.authc.AuthenticationToken;
|
@ -1,7 +1,7 @@
|
||||
package com.huishuitong.conf;
|
||||
package com.gszc.conf;
|
||||
|
||||
|
||||
import com.huishuitong.util.JwtUtils;
|
||||
import com.gszc.util.JwtUtils;
|
||||
import org.apache.shiro.authc.AuthenticationException;
|
||||
import org.apache.shiro.authc.AuthenticationInfo;
|
||||
import org.apache.shiro.authc.AuthenticationToken;
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.conf;
|
||||
package com.gszc.conf;
|
||||
|
||||
|
||||
import org.apache.shiro.mgt.DefaultSessionStorageEvaluator;
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.conf;
|
||||
package com.gszc.conf;
|
||||
|
||||
import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
|
||||
import org.springframework.context.annotation.Bean;
|
@ -1,5 +1,5 @@
|
||||
|
||||
package com.huishuitong.conf;
|
||||
package com.gszc.conf;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.constant;
|
||||
package com.gszc.constant;
|
||||
|
||||
public class RequestXml {
|
||||
public static final String XML = "<exchange>\n" +
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.constant;
|
||||
package com.gszc.constant;
|
||||
|
||||
public class ResultXml {
|
||||
public static final String QUERY_PATIENT = "<exchange>\n" +
|
@ -0,0 +1,4 @@
|
||||
package com.gszc.constant;
|
||||
|
||||
public class ServiceCode {
|
||||
}
|
@ -1,20 +1,7 @@
|
||||
package com.huishuitong.controller;
|
||||
package com.gszc.controller;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.huishuitong.model.WxUser;
|
||||
import com.huishuitong.service.LoginService;
|
||||
import com.huishuitong.build.Result;
|
||||
import com.huishuitong.build.ResultBuilder;
|
||||
import com.huishuitong.util.JwtUtils;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.servlet.http.Cookie;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
@RestController
|
||||
public class LoginController {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package com.huishuitong.mapper;
|
||||
package com.gszc.mapper;
|
||||
|
||||
import com.huishuitong.model.WxUser;
|
||||
import com.huishuitong.util.CommonMapper;
|
||||
import com.gszc.model.WxUser;
|
||||
import com.gszc.util.CommonMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.model;
|
||||
package com.gszc.model;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.service;
|
||||
package com.gszc.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.util;
|
||||
package com.gszc.util;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.util;
|
||||
package com.gszc.util;
|
||||
|
||||
import tk.mybatis.mapper.common.Mapper;
|
||||
import tk.mybatis.mapper.common.MySqlMapper;
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.util;
|
||||
package com.gszc.util;
|
||||
|
||||
|
||||
import com.auth0.jwt.JWT;
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.util;
|
||||
package com.gszc.util;
|
||||
|
||||
/**
|
||||
* 本地日志枚举
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.util;
|
||||
package com.gszc.util;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.util;
|
||||
package com.gszc.util;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import okhttp3.OkHttpClient;
|
@ -1,4 +1,4 @@
|
||||
package com.huishuitong.util;
|
||||
package com.gszc.util;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
@ -1,8 +1,8 @@
|
||||
package com.huishuitong.util;
|
||||
package com.gszc.util;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.huishuitong.constant.RequestXml;
|
||||
import com.gszc.constant.RequestXml;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentException;
|
||||
import org.dom4j.DocumentHelper;
|
@ -1,4 +0,0 @@
|
||||
package com.huishuitong.constant;
|
||||
|
||||
public class ServiceCode {
|
||||
}
|
Loading…
Reference in New Issue