Commit d906e074 authored by Quxl's avatar Quxl

重构

parent 8beedc76
package com.egolm.film.api.admin.service;
public interface AdminFirstService {
}
package com.egolm.film.api.admin.service; package com.egolm.film.api.service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
package com.egolm.film.api.admin.service; package com.egolm.film.api.service;
import com.egolm.film.api.TokenService;
public interface AdminTokenService extends TokenService { public interface AdminTokenService extends TokenService {
......
package com.egolm.film.api.admin.service; package com.egolm.film.api.service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
package com.egolm.film.api.common.service; package com.egolm.film.api.service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
package com.egolm.film.api.common.service; package com.egolm.film.api.service;
public interface EmailService { public interface EmailService {
......
package com.egolm.film.api.service;
public interface FilmService {
void copyFilm(Integer member_film_id, Integer adminid);
}
package com.egolm.film.api.common.service; package com.egolm.film.api.service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
package com.egolm.film.api.member.service; package com.egolm.film.api.service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -135,4 +135,8 @@ public interface MemberService { ...@@ -135,4 +135,8 @@ public interface MemberService {
List<Map<String, Object>> queryChuShenList(String keyword, Integer state, Integer apply_state, String film_type, String enroll_type, String film_country, Page page); List<Map<String, Object>> queryChuShenList(String keyword, Integer state, Integer apply_state, String film_type, String enroll_type, String film_country, Page page);
void pass(Integer member_film_id);
void reject(Integer member_film_id);
} }
package com.egolm.film.api.member.service; package com.egolm.film.api.service;
import com.egolm.film.api.TokenService;
public interface MemberTokenService extends TokenService { public interface MemberTokenService extends TokenService {
......
package com.egolm.film.api.common.service; package com.egolm.film.api.service;
import java.util.Locale; import java.util.Locale;
......
package com.egolm.film.api; package com.egolm.film.api.service;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
......
package com.egolm.film.api.service;
//package com.egolm.film.api.user.service; //package com.egolm.film.api.user.service;
// //
//import java.util.Date; //import java.util.Date;
......
package com.egolm.film.api.user.service; package com.egolm.film.api.service;
import com.egolm.film.api.TokenService;
public interface UserTokenService extends TokenService { public interface UserTokenService extends TokenService {
......
package com.egolm.film.api.admin.service.impl; package com.egolm.film.api.service.impl;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
...@@ -11,7 +11,7 @@ import org.springframework.transaction.annotation.Transactional; ...@@ -11,7 +11,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.jdbc.Page; import com.egolm.common.jdbc.Page;
import com.egolm.film.api.admin.service.AdminAuthService; import com.egolm.film.api.service.AdminAuthService;
import com.egolm.film.bean.Fc_admin; import com.egolm.film.bean.Fc_admin;
import com.egolm.film.bean.Fc_admin_group; import com.egolm.film.bean.Fc_admin_group;
import com.egolm.film.bean.Fc_admin_group_filmtype; import com.egolm.film.bean.Fc_admin_group_filmtype;
......
package com.egolm.film.api.admin.service.impl; package com.egolm.film.api.service.impl;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
...@@ -13,7 +13,7 @@ import org.springframework.stereotype.Service; ...@@ -13,7 +13,7 @@ import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
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.admin.service.AdminTokenService; import com.egolm.film.api.service.AdminTokenService;
import com.egolm.film.bean.Fc_admin; import com.egolm.film.bean.Fc_admin;
import com.egolm.film.config.WebMvcConfig; import com.egolm.film.config.WebMvcConfig;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
......
package com.egolm.film.api.admin.service.impl; package com.egolm.film.api.service.impl;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service; ...@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
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.jdbc.Page; import com.egolm.common.jdbc.Page;
import com.egolm.film.api.admin.service.AdminUserService; import com.egolm.film.api.service.AdminUserService;
import com.egolm.film.util.SqlWhere; import com.egolm.film.util.SqlWhere;
@Service @Service
......
package com.egolm.film.api.common.service.impl; package com.egolm.film.api.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.api.common.service.CountryService; import com.egolm.film.api.service.CountryService;
@Service @Service
public class CountryServiceImpl implements CountryService { public class CountryServiceImpl implements CountryService {
......
package com.egolm.film.api.common.service.impl; package com.egolm.film.api.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.api.common.service.Messages; import com.egolm.film.api.service.Messages;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
@Component @Component
......
package com.egolm.film.api.common.service.impl; package com.egolm.film.api.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.api.common.service.EmailService; import com.egolm.film.api.service.EmailService;
@Service @Service
public class EmailServiceImpl implements EmailService { public class EmailServiceImpl implements EmailService {
......
package com.egolm.film.api.admin.service.impl; package com.egolm.film.api.service.impl;
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.common.jdbc.JdbcTemplate; import com.egolm.common.jdbc.JdbcTemplate;
import com.egolm.film.api.admin.service.AdminFirstService; import com.egolm.film.api.service.FilmService;
@Service @Service
public class AdminFirstServiceImpl implements AdminFirstService { public class FilmServiceImpl implements FilmService {
@Autowired @Autowired
JdbcTemplate jdbcTemplate; JdbcTemplate jdbcTemplate;
@Override
public void copyFilm(Integer member_film_id, Integer adminid) {
}
} }
package com.egolm.film.api.common.service.impl; package com.egolm.film.api.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.api.common.service.LanguageService; import com.egolm.film.api.service.LanguageService;
@Service @Service
public class LanguageServiceImpl implements LanguageService { public class LanguageServiceImpl implements LanguageService {
......
package com.egolm.film.api.member.service.impl; package com.egolm.film.api.service.impl;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
...@@ -19,8 +19,8 @@ import com.egolm.common.StringUtil; ...@@ -19,8 +19,8 @@ import com.egolm.common.StringUtil;
import com.egolm.common.jdbc.JdbcTemplate; import com.egolm.common.jdbc.JdbcTemplate;
import com.egolm.common.jdbc.Page; import com.egolm.common.jdbc.Page;
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.service.MemberService;
import com.egolm.film.api.member.service.MemberService; import com.egolm.film.api.service.Messages;
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;
import com.egolm.film.bean.Fc_member_film_all; import com.egolm.film.bean.Fc_member_film_all;
...@@ -503,4 +503,16 @@ public class MemberServiceImpl implements MemberService { ...@@ -503,4 +503,16 @@ public class MemberServiceImpl implements MemberService {
return jdbcTemplate.limit(sql, page, objs); return jdbcTemplate.limit(sql, page, objs);
} }
@Override
public void pass(Integer member_film_id) {
String sql = "update fc_member_film set apply_state = ? where id = ?";
jdbcTemplate.executeUpdate(sql, 2, member_film_id);
}
@Override
public void reject(Integer member_film_id) {
String sql = "update fc_member_film set apply_state = ? where id = ?";
jdbcTemplate.executeUpdate(sql, 3, member_film_id);
}
} }
package com.egolm.film.api.member.service.impl; package com.egolm.film.api.service.impl;
import java.util.Date; import java.util.Date;
...@@ -12,9 +12,9 @@ import org.springframework.stereotype.Service; ...@@ -12,9 +12,9 @@ import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
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.service.MemberService;
import com.egolm.film.api.member.service.MemberService; import com.egolm.film.api.service.MemberTokenService;
import com.egolm.film.api.member.service.MemberTokenService; import com.egolm.film.api.service.Messages;
import com.egolm.film.bean.Fc_member; import com.egolm.film.bean.Fc_member;
import com.egolm.film.config.WebMvcConfig; import com.egolm.film.config.WebMvcConfig;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
......
package com.egolm.film.api.service.impl;
//package com.egolm.film.api.user.service.impl; //package com.egolm.film.api.user.service.impl;
// //
//import java.math.BigDecimal; //import java.math.BigDecimal;
......
package com.egolm.film.api.user.service.impl; package com.egolm.film.api.service.impl;
import java.util.Date; import java.util.Date;
...@@ -12,8 +12,8 @@ import org.springframework.stereotype.Service; ...@@ -12,8 +12,8 @@ import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
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.service.Messages;
import com.egolm.film.api.user.service.UserTokenService; import com.egolm.film.api.service.UserTokenService;
import com.egolm.film.bean.Fc_user; import com.egolm.film.bean.Fc_user;
import com.egolm.film.config.WebMvcConfig; import com.egolm.film.config.WebMvcConfig;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
......
package com.egolm.film.api.common; package com.egolm.film.api.web;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -17,7 +17,7 @@ import com.aliyuncs.vod.model.v20170321.GetVideoPlayAuthResponse; ...@@ -17,7 +17,7 @@ import com.aliyuncs.vod.model.v20170321.GetVideoPlayAuthResponse;
import com.aliyuncs.vod.model.v20170321.RefreshUploadVideoResponse; import com.aliyuncs.vod.model.v20170321.RefreshUploadVideoResponse;
import com.egolm.common.StringUtil; import com.egolm.common.StringUtil;
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.service.Messages;
import com.egolm.film.util.AliyunUtil; import com.egolm.film.util.AliyunUtil;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
......
package com.egolm.film.api.common; package com.egolm.film.api.web;
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.api.common.service.CountryService; import com.egolm.film.api.service.CountryService;
import com.egolm.film.api.common.service.LanguageService; import com.egolm.film.api.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.api.admin; package com.egolm.film.api.web.admin;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.util.List; import java.util.List;
...@@ -14,8 +14,8 @@ import org.springframework.web.bind.annotation.ResponseBody; ...@@ -14,8 +14,8 @@ import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.StringUtil; import com.egolm.common.StringUtil;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.common.jdbc.Page; import com.egolm.common.jdbc.Page;
import com.egolm.film.api.admin.service.AdminAuthService; import com.egolm.film.api.service.AdminAuthService;
import com.egolm.film.api.admin.service.AdminTokenService; import com.egolm.film.api.service.AdminTokenService;
import com.egolm.film.bean.Fc_admin; import com.egolm.film.bean.Fc_admin;
import com.egolm.film.bean.Fc_admin_group; import com.egolm.film.bean.Fc_admin_group;
import com.egolm.film.config.WebMvcConfig; import com.egolm.film.config.WebMvcConfig;
......
package com.egolm.film.api.admin; package com.egolm.film.api.web.admin;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -11,14 +11,15 @@ import org.springframework.web.bind.annotation.ResponseBody; ...@@ -11,14 +11,15 @@ import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.common.jdbc.Page; import com.egolm.common.jdbc.Page;
import com.egolm.film.api.admin.service.AdminFirstService; import com.egolm.film.api.service.AdminTokenService;
import com.egolm.film.api.admin.service.AdminTokenService; import com.egolm.film.api.service.FilmService;
import com.egolm.film.api.member.service.MemberService; import com.egolm.film.api.service.MemberService;
import com.egolm.film.bean.Fc_member_film; import com.egolm.film.bean.Fc_member_film;
import com.egolm.film.bean.Fc_member_film_director; 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.model.LoginToken;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParam;
...@@ -36,7 +37,7 @@ import io.swagger.annotations.ApiOperation; ...@@ -36,7 +37,7 @@ import io.swagger.annotations.ApiOperation;
public class AdminFirstController { public class AdminFirstController {
@Autowired @Autowired
AdminFirstService service; FilmService service;
@Autowired @Autowired
MemberService memberService; MemberService memberService;
...@@ -91,8 +92,10 @@ public class AdminFirstController { ...@@ -91,8 +92,10 @@ public class AdminFirstController {
@ApiImplicitParam(paramType="query", dataType="int", required=false, name="member_film_id", value="申报影片ID"), @ApiImplicitParam(paramType="query", dataType="int", required=false, name="member_film_id", value="申报影片ID"),
}) })
public Object pass(Integer member_film_id) { public Object pass(Integer member_film_id) {
// LoginToken loginToken = tokenService.getToken(); LoginToken loginToken = tokenService.getToken();
// Integer adminid = (Integer)loginToken.getId(); Integer adminid = (Integer)loginToken.getId();
service.copyFilm(member_film_id, adminid);
memberService.pass(member_film_id);
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
...@@ -103,6 +106,7 @@ public class AdminFirstController { ...@@ -103,6 +106,7 @@ public class AdminFirstController {
@ApiImplicitParam(paramType="query", dataType="int", required=false, name="member_film_id", value="申报影片ID"), @ApiImplicitParam(paramType="query", dataType="int", required=false, name="member_film_id", value="申报影片ID"),
}) })
public Object reject(Integer member_film_id) { public Object reject(Integer member_film_id) {
memberService.reject(member_film_id);
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
......
package com.egolm.film.api.admin; package com.egolm.film.api.web.admin;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
...@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -9,7 +9,7 @@ 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.admin.service.AdminTokenService; import com.egolm.film.api.service.AdminTokenService;
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.admin; package com.egolm.film.api.web.admin;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -11,8 +11,8 @@ import org.springframework.web.bind.annotation.ResponseBody; ...@@ -11,8 +11,8 @@ import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.common.jdbc.Page; import com.egolm.common.jdbc.Page;
import com.egolm.film.api.admin.service.AdminTokenService; import com.egolm.film.api.service.AdminTokenService;
import com.egolm.film.api.admin.service.AdminUserService; import com.egolm.film.api.service.AdminUserService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParam;
......
package com.egolm.film.api.member; package com.egolm.film.api.web.member;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -12,8 +12,8 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -12,8 +12,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.member.service.MemberService; import com.egolm.film.api.service.MemberService;
import com.egolm.film.api.member.service.MemberTokenService; import com.egolm.film.api.service.MemberTokenService;
import com.egolm.film.bean.Fc_member_film; 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_all;
import com.egolm.film.bean.Fc_member_film_director; import com.egolm.film.bean.Fc_member_film_director;
......
package com.egolm.film.api.member; package com.egolm.film.api.web.member;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
...@@ -8,9 +8,9 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -8,9 +8,9 @@ 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.service.MemberService;
import com.egolm.film.api.member.service.MemberService; import com.egolm.film.api.service.MemberTokenService;
import com.egolm.film.api.member.service.MemberTokenService; import com.egolm.film.api.service.Messages;
import com.egolm.film.bean.Fc_member; import com.egolm.film.bean.Fc_member;
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.member; package com.egolm.film.api.web.member;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
...@@ -9,8 +9,8 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -9,8 +9,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.service.MemberTokenService;
import com.egolm.film.api.member.service.MemberTokenService; import com.egolm.film.api.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.member; package com.egolm.film.api.web.member;
import java.util.Locale; import java.util.Locale;
...@@ -17,9 +17,9 @@ import org.springframework.web.bind.annotation.ResponseBody; ...@@ -17,9 +17,9 @@ 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.service.EmailService;
import com.egolm.film.api.common.service.Messages; import com.egolm.film.api.service.MemberService;
import com.egolm.film.api.member.service.MemberService; import com.egolm.film.api.service.Messages;
import com.egolm.film.bean.Fc_member; import com.egolm.film.bean.Fc_member;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
import com.egolm.film.config.interceptor.LocaleInterceptor; import com.egolm.film.config.interceptor.LocaleInterceptor;
......
package com.egolm.film.api.user; package com.egolm.film.api.web.user;
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.api.common.service.Messages; import com.egolm.film.api.service.Messages;
import com.egolm.film.api.user.service.UserTokenService; import com.egolm.film.api.service.UserTokenService;
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.web.user;
//package com.egolm.film.api.user; //package com.egolm.film.api.user;
// //
//import java.util.Date; //import java.util.Date;
......
...@@ -8,8 +8,8 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -8,8 +8,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.egolm.film.api.TokenService; import com.egolm.film.api.service.AdminTokenService;
import com.egolm.film.api.admin.service.AdminTokenService; import com.egolm.film.api.service.TokenService;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
@Component @Component
......
...@@ -8,8 +8,8 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -8,8 +8,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.egolm.film.api.TokenService; import com.egolm.film.api.service.MemberTokenService;
import com.egolm.film.api.member.service.MemberTokenService; import com.egolm.film.api.service.TokenService;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
@Component @Component
......
...@@ -8,8 +8,8 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -8,8 +8,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.egolm.film.api.TokenService; import com.egolm.film.api.service.TokenService;
import com.egolm.film.api.user.service.UserTokenService; import com.egolm.film.api.service.UserTokenService;
import com.egolm.film.config.XException; import com.egolm.film.config.XException;
@Component @Component
......
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