|
@@ -23,7 +23,8 @@ import com.ym.mec.common.entity.ImUserModel;
|
|
import com.ym.mec.common.exception.BizException;
|
|
import com.ym.mec.common.exception.BizException;
|
|
import com.ym.mec.common.service.impl.BaseServiceImpl;
|
|
import com.ym.mec.common.service.impl.BaseServiceImpl;
|
|
import com.ym.mec.im.ImFeignService;
|
|
import com.ym.mec.im.ImFeignService;
|
|
-import com.ym.mec.user.UserFeignService;
|
|
|
|
|
|
+import com.ym.mec.im.UserFeignService;
|
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
@Service
|
|
@Service
|
|
public class SysUserServiceImpl extends BaseServiceImpl<Integer, SysUser> implements SysUserService {
|
|
public class SysUserServiceImpl extends BaseServiceImpl<Integer, SysUser> implements SysUserService {
|
|
@@ -43,8 +44,8 @@ public class SysUserServiceImpl extends BaseServiceImpl<Integer, SysUser> implem
|
|
@Autowired
|
|
@Autowired
|
|
private UserFeignService userFeignService;
|
|
private UserFeignService userFeignService;
|
|
|
|
|
|
- @Value("${message.autoRegister}")
|
|
|
|
- private boolean autoRegister;
|
|
|
|
|
|
+// @Value("${message.autoRegister}")
|
|
|
|
+ private boolean autoRegister = false;
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public BaseDAO<Integer, SysUser> getDAO() {
|
|
public BaseDAO<Integer, SysUser> getDAO() {
|