|
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.uas.sso.common.encrypt.MD5;
|
|
|
import com.uas.sso.common.util.HttpUtil;
|
|
|
+import com.uas.sso.controller.UserManagerController;
|
|
|
import com.uas.sso.core.Const;
|
|
|
import com.uas.sso.core.Status;
|
|
|
import com.uas.sso.core.Type;
|
|
@@ -25,6 +26,8 @@ import com.uas.sso.sync.service.SyncUserService;
|
|
|
import com.uas.sso.util.AccountTypeUtils;
|
|
|
import com.uas.sso.util.CountUtils;
|
|
|
import com.uas.sso.util.PasswordLevelUtils;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.data.domain.PageRequest;
|
|
@@ -88,6 +91,7 @@ public class UserServiceImpl implements UserService {
|
|
|
|
|
|
private SyncBufferedLogger syncLogger = LoggerManager.getLogger(SyncBufferedLogger.class);
|
|
|
|
|
|
+ private static final Logger LOGGER = LoggerFactory.getLogger(UserServiceImpl.class);
|
|
|
@Override
|
|
|
public User findByMobile(String mobile, String mobileArea) {
|
|
|
return userDao.findByMobileAndMobileArea(mobile, mobileArea);
|
|
@@ -1003,7 +1007,7 @@ public class UserServiceImpl implements UserService {
|
|
|
if (otherApp != null && !apps.contains(otherApp)) {
|
|
|
apps.add(otherApp);
|
|
|
}
|
|
|
-
|
|
|
+ LOGGER.info("开通用户:syncUserToIm 手机号:{} ", user.getMobile());
|
|
|
try {
|
|
|
|
|
|
String imId = syncUserToIm(user, noEncryPwd, msg);
|