Commit 5cc1da7f authored by Quxl's avatar Quxl

调整结构

parent de3a68e1
package com.egolm.film.login.service;
package com.egolm.film.api;
import com.egolm.film.model.LoginToken;
......
package com.egolm.film.login;
package com.egolm.film.api.admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
......@@ -7,9 +7,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx;
import com.egolm.film.api.admin.service.AdminTokenService;
import com.egolm.film.common.Messages;
import com.egolm.film.config.XException;
import com.egolm.film.login.service.AdminTokenService;
import com.egolm.film.model.LoginToken;
import io.swagger.annotations.Api;
......
package com.egolm.film.login.service;
package com.egolm.film.api.admin.service;
import com.egolm.film.api.TokenService;
public interface AdminTokenService extends TokenService {
......
package com.egolm.film.login.service.impl;
package com.egolm.film.api.admin.service.impl;
import java.util.List;
import java.util.Map;
......@@ -10,9 +10,9 @@ import org.springframework.stereotype.Service;
import com.egolm.common.StringUtil;
import com.egolm.common.jdbc.JdbcTemplate;
import com.egolm.film.api.admin.service.AdminTokenService;
import com.egolm.film.config.WebMvcConfig;
import com.egolm.film.config.XException;
import com.egolm.film.login.service.AdminTokenService;
import com.egolm.film.model.LoginToken;
@Service
......
......@@ -12,13 +12,13 @@ import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx;
import com.egolm.film.api.member.service.MemberService;
import com.egolm.film.api.member.service.MemberTokenService;
import com.egolm.film.bean.Fc_member_film;
import com.egolm.film.bean.Fc_member_film_all;
import com.egolm.film.bean.Fc_member_film_director;
import com.egolm.film.bean.Fc_member_film_issuer;
import com.egolm.film.bean.Fc_member_film_playactor;
import com.egolm.film.bean.Fc_member_film_show;
import com.egolm.film.login.service.MemberTokenService;
import com.egolm.film.model.LoginToken;
import io.swagger.annotations.Api;
......
......@@ -8,10 +8,10 @@ import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx;
import com.egolm.film.api.member.service.MemberService;
import com.egolm.film.api.member.service.MemberTokenService;
import com.egolm.film.bean.Fc_member;
import com.egolm.film.common.Messages;
import com.egolm.film.config.XException;
import com.egolm.film.login.service.MemberTokenService;
import com.egolm.film.model.LoginToken;
import io.swagger.annotations.Api;
......
package com.egolm.film.login;
package com.egolm.film.api.member;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
......@@ -7,9 +7,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx;
import com.egolm.film.api.member.service.MemberTokenService;
import com.egolm.film.common.Messages;
import com.egolm.film.config.XException;
import com.egolm.film.login.service.MemberTokenService;
import com.egolm.film.model.LoginToken;
import io.swagger.annotations.Api;
......
package com.egolm.film.login.service;
package com.egolm.film.api.member.service;
import com.egolm.film.api.TokenService;
public interface MemberTokenService extends TokenService {
......
package com.egolm.film.login.service.impl;
package com.egolm.film.api.member.service.impl;
import javax.servlet.http.HttpSession;
......@@ -6,12 +6,12 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.egolm.film.api.member.service.MemberService;
import com.egolm.film.api.member.service.MemberTokenService;
import com.egolm.film.bean.Fc_member;
import com.egolm.film.common.Messages;
import com.egolm.film.config.Common;
import com.egolm.film.config.WebMvcConfig;
import com.egolm.film.config.XException;
import com.egolm.film.login.service.MemberTokenService;
import com.egolm.film.model.LoginToken;
@Service
......
package com.egolm.film.login;
package com.egolm.film.api.user;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
......@@ -7,9 +7,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx;
import com.egolm.film.api.user.service.UserTokenService;
import com.egolm.film.common.Messages;
import com.egolm.film.config.XException;
import com.egolm.film.login.service.UserTokenService;
import com.egolm.film.model.LoginToken;
import io.swagger.annotations.Api;
......
package com.egolm.film.login.service;
package com.egolm.film.api.user.service;
import com.egolm.film.api.TokenService;
public interface UserTokenService extends TokenService {
......
package com.egolm.film.login.service.impl;
package com.egolm.film.api.user.service.impl;
import java.util.List;
import java.util.Map;
......@@ -10,9 +10,9 @@ import org.springframework.stereotype.Service;
import com.egolm.common.StringUtil;
import com.egolm.common.jdbc.JdbcTemplate;
import com.egolm.film.api.user.service.UserTokenService;
import com.egolm.film.config.WebMvcConfig;
import com.egolm.film.config.XException;
import com.egolm.film.login.service.UserTokenService;
import com.egolm.film.model.LoginToken;
@Service
......
......@@ -7,8 +7,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.egolm.film.api.admin.service.AdminTokenService;
import com.egolm.film.config.XException;
import com.egolm.film.login.service.AdminTokenService;
@Component
public class AdminLoginInterceptor extends HandlerInterceptorAdapter {
......
......@@ -7,8 +7,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.egolm.film.api.member.service.MemberTokenService;
import com.egolm.film.config.XException;
import com.egolm.film.login.service.MemberTokenService;
@Component
public class MemberLoginInterceptor extends HandlerInterceptorAdapter {
......
......@@ -7,8 +7,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.egolm.film.api.user.service.UserTokenService;
import com.egolm.film.config.XException;
import com.egolm.film.login.service.UserTokenService;
@Component
public class UserLoginInterceptor extends HandlerInterceptorAdapter {
......
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