Commit f36460b1 authored by Quxl's avatar Quxl

xx

parent 171b6964
......@@ -35,6 +35,6 @@ public interface MemberService {
void updateToken(Integer member_id, String token_string);
void updateLang(Integer id, String string);
void updateLanguage(Integer id, String string);
}
......@@ -110,7 +110,7 @@ public class MemberServiceImpl implements MemberService {
}
@Override
public void updateLang(Integer id, String lang) {
public void updateLanguage(Integer id, String lang) {
jdbcTemplate.executeUpdate("update fc_member set lang = ? where id = ?", lang, id);
}
......
......@@ -140,7 +140,7 @@ public class OpenMemberApiController {
LoginToken token = memberTokenService.getToken();
if(token != null) {
memberService.updateLang((Integer)token.getId(), i18n_language.split("_")[0]);
memberService.updateLanguage((Integer)token.getId(), i18n_language.split("_")[0]);
}
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