|
|
@ -45,6 +45,7 @@ import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Set;
|
|
|
|
import java.util.Set;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.PostConstruct;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -76,6 +77,12 @@ public class SignInAccountServiceImpl implements SignInAccountService, Applicati
|
|
|
|
private ClientConfigService clientConfigService;
|
|
|
|
private ClientConfigService clientConfigService;
|
|
|
|
private ApplicationEventPublisher publisher;
|
|
|
|
private ApplicationEventPublisher publisher;
|
|
|
|
private static final List<String> tags = new ArrayList<>();
|
|
|
|
private static final List<String> tags = new ArrayList<>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostConstruct
|
|
|
|
|
|
|
|
public void init(){
|
|
|
|
|
|
|
|
tags.add("account");
|
|
|
|
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
@Cacheable(value = ":login:managers:", key = "''+#accountId")
|
|
|
|
@Cacheable(value = ":login:managers:", key = "''+#accountId")
|
|
|
|
public JSONObject getManager(String accountId) {
|
|
|
|
public JSONObject getManager(String accountId) {
|
|
|
@ -285,7 +292,6 @@ public class SignInAccountServiceImpl implements SignInAccountService, Applicati
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public String ForgetPassword(String client_moniker) throws Exception {
|
|
|
|
public String ForgetPassword(String client_moniker) throws Exception {
|
|
|
|
tags.add("account");
|
|
|
|
|
|
|
|
JSONObject client = clientMapper.findClientByMoniker(client_moniker);
|
|
|
|
JSONObject client = clientMapper.findClientByMoniker(client_moniker);
|
|
|
|
if (client != null) {
|
|
|
|
if (client != null) {
|
|
|
|
final String contact_email = client.getString("contact_email");
|
|
|
|
final String contact_email = client.getString("contact_email");
|
|
|
|