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