Commit 7502085e authored by Quxl's avatar Quxl

优化目录结构

parent 5cc1da7f
...@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.ResponseBody; ...@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.film.api.admin.service.AdminTokenService; import com.egolm.film.api.admin.service.AdminTokenService;
import com.egolm.film.common.Messages; import com.egolm.film.api.common.service.Messages;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
import com.egolm.film.model.LoginToken; import com.egolm.film.model.LoginToken;
......
package com.egolm.film.api; package com.egolm.film.api.common;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
...@@ -7,8 +7,8 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -7,8 +7,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.film.common.CountryService; import com.egolm.film.api.common.service.CountryService;
import com.egolm.film.common.LanguageService; import com.egolm.film.api.common.service.LanguageService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
......
package com.egolm.film.common; package com.egolm.film.api.common.service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
package com.egolm.film.common; package com.egolm.film.api.common.service;
public interface EmailService { public interface EmailService {
......
package com.egolm.film.common; package com.egolm.film.api.common.service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
package com.egolm.film.common; package com.egolm.film.api.common.service;
import java.util.Locale; import java.util.Locale;
......
package com.egolm.film.common.impl; package com.egolm.film.api.common.service.impl;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
...@@ -7,7 +7,7 @@ import java.util.Map; ...@@ -7,7 +7,7 @@ import java.util.Map;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.egolm.film.common.CountryService; import com.egolm.film.api.common.service.CountryService;
@Service @Service
public class CountryServiceImpl implements CountryService { public class CountryServiceImpl implements CountryService {
......
package com.egolm.film.common.impl; package com.egolm.film.api.common.service.impl;
import java.util.Locale; import java.util.Locale;
...@@ -8,7 +8,7 @@ import org.springframework.context.NoSuchMessageException; ...@@ -8,7 +8,7 @@ import org.springframework.context.NoSuchMessageException;
import org.springframework.context.i18n.LocaleContextHolder; import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import com.egolm.film.common.Messages; import com.egolm.film.api.common.service.Messages;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
@Component @Component
......
package com.egolm.film.common.impl; package com.egolm.film.api.common.service.impl;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.egolm.common.MailUtil; import com.egolm.common.MailUtil;
import com.egolm.film.common.EmailService; import com.egolm.film.api.common.service.EmailService;
@Service @Service
public class EmailServiceImpl implements EmailService { public class EmailServiceImpl implements EmailService {
......
package com.egolm.film.common.impl; package com.egolm.film.api.common.service.impl;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
...@@ -7,7 +7,7 @@ import java.util.Map; ...@@ -7,7 +7,7 @@ import java.util.Map;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.egolm.film.common.LanguageService; import com.egolm.film.api.common.service.LanguageService;
@Service @Service
public class LanguageServiceImpl implements LanguageService { public class LanguageServiceImpl implements LanguageService {
......
...@@ -7,10 +7,10 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -7,10 +7,10 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.film.api.common.service.Messages;
import com.egolm.film.api.member.service.MemberService; import com.egolm.film.api.member.service.MemberService;
import com.egolm.film.api.member.service.MemberTokenService; import com.egolm.film.api.member.service.MemberTokenService;
import com.egolm.film.bean.Fc_member; import com.egolm.film.bean.Fc_member;
import com.egolm.film.common.Messages;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
import com.egolm.film.model.LoginToken; import com.egolm.film.model.LoginToken;
......
...@@ -7,8 +7,8 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -7,8 +7,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.film.api.common.service.Messages;
import com.egolm.film.api.member.service.MemberTokenService; import com.egolm.film.api.member.service.MemberTokenService;
import com.egolm.film.common.Messages;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
import com.egolm.film.model.LoginToken; import com.egolm.film.model.LoginToken;
......
...@@ -17,10 +17,10 @@ import org.springframework.web.bind.annotation.ResponseBody; ...@@ -17,10 +17,10 @@ import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.MailUtil; import com.egolm.common.MailUtil;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.common.web.ServletUtil; import com.egolm.common.web.ServletUtil;
import com.egolm.film.api.common.service.EmailService;
import com.egolm.film.api.common.service.Messages;
import com.egolm.film.api.member.service.MemberService; import com.egolm.film.api.member.service.MemberService;
import com.egolm.film.bean.Fc_member; import com.egolm.film.bean.Fc_member;
import com.egolm.film.common.EmailService;
import com.egolm.film.common.Messages;
import com.egolm.film.config.Common; import com.egolm.film.config.Common;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
import com.egolm.film.config.interceptor.LocaleSessionInterceptor; import com.egolm.film.config.interceptor.LocaleSessionInterceptor;
......
...@@ -18,6 +18,7 @@ import org.springframework.transaction.annotation.Transactional; ...@@ -18,6 +18,7 @@ import org.springframework.transaction.annotation.Transactional;
import com.egolm.common.StringUtil; import com.egolm.common.StringUtil;
import com.egolm.common.jdbc.JdbcTemplate; import com.egolm.common.jdbc.JdbcTemplate;
import com.egolm.common.web.ServletUtil; import com.egolm.common.web.ServletUtil;
import com.egolm.film.api.common.service.Messages;
import com.egolm.film.api.member.service.MemberService; import com.egolm.film.api.member.service.MemberService;
import com.egolm.film.bean.Fc_member; import com.egolm.film.bean.Fc_member;
import com.egolm.film.bean.Fc_member_film; import com.egolm.film.bean.Fc_member_film;
...@@ -26,7 +27,6 @@ import com.egolm.film.bean.Fc_member_film_director; ...@@ -26,7 +27,6 @@ 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_issuer;
import com.egolm.film.bean.Fc_member_film_playactor; import com.egolm.film.bean.Fc_member_film_playactor;
import com.egolm.film.bean.Fc_member_film_show; import com.egolm.film.bean.Fc_member_film_show;
import com.egolm.film.common.Messages;
import com.egolm.film.config.Common; import com.egolm.film.config.Common;
import com.egolm.film.config.WebMvcConfig; import com.egolm.film.config.WebMvcConfig;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
......
...@@ -5,10 +5,10 @@ import javax.servlet.http.HttpSession; ...@@ -5,10 +5,10 @@ import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.egolm.film.api.common.service.Messages;
import com.egolm.film.api.member.service.MemberService; import com.egolm.film.api.member.service.MemberService;
import com.egolm.film.api.member.service.MemberTokenService; import com.egolm.film.api.member.service.MemberTokenService;
import com.egolm.film.bean.Fc_member; import com.egolm.film.bean.Fc_member;
import com.egolm.film.common.Messages;
import com.egolm.film.config.Common; import com.egolm.film.config.Common;
import com.egolm.film.config.WebMvcConfig; import com.egolm.film.config.WebMvcConfig;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
......
...@@ -7,8 +7,8 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -7,8 +7,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.film.api.common.service.Messages;
import com.egolm.film.api.user.service.UserTokenService; import com.egolm.film.api.user.service.UserTokenService;
import com.egolm.film.common.Messages;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
import com.egolm.film.model.LoginToken; import com.egolm.film.model.LoginToken;
......
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