Commit 122b61c7 authored by Quxl's avatar Quxl

x

parent 2cd09daf
...@@ -99,7 +99,7 @@ public class AdminTokenServiceImpl implements AdminTokenService { ...@@ -99,7 +99,7 @@ public class AdminTokenServiceImpl implements AdminTokenService {
public boolean isLoginByToken(String token_string) { public boolean isLoginByToken(String token_string) {
HttpSession session = WebMvcConfig.getSession(); HttpSession session = WebMvcConfig.getSession();
try { try {
String sql = "select adminid from fc_admin where token = ?"; String sql = "select adminid from fc_admin where token = ? and state = 1";
Integer adminid = jdbcTemplate.queryForInt(sql, token_string); Integer adminid = jdbcTemplate.queryForInt(sql, token_string);
LoginToken token = new LoginToken(adminid); LoginToken token = new LoginToken(adminid);
session.setAttribute(TOKEN_NAME, token); session.setAttribute(TOKEN_NAME, token);
......
...@@ -163,7 +163,6 @@ public class AdminFirstController { ...@@ -163,7 +163,6 @@ public class AdminFirstController {
if(is_stop_apply == null) { if(is_stop_apply == null) {
is_stop_apply = false; is_stop_apply = false;
} }
memberFilmService.verifyFilmDuplicate(member_film_id);
memberFilmService.reject(is_stop_apply, member_film_id, apply_state_intro); memberFilmService.reject(is_stop_apply, member_film_id, apply_state_intro);
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
......
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