|
@@ -19,6 +19,7 @@ import vip.xiaonuo.coldchain.modular.push.utils.PushUtil;
|
|
|
import vip.xiaonuo.dev.modular.config.service.DevConfigService;
|
|
|
|
|
|
import java.util.List;
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
@CrossOrigin
|
|
|
@RestController
|
|
@@ -57,7 +58,7 @@ public class WxMpController {
|
|
|
|
|
|
if (CollUtil.isNotEmpty(userList)) {
|
|
|
//检查用户的组织机构
|
|
|
- long count = userList.stream().filter(x -> StrUtil.isNotBlank(x.getCreateOrg())).count();
|
|
|
+ long count = userList.stream().filter(x -> !Objects.equals(x.getCreateOrg(), "-1")).count();
|
|
|
if (count > 0) {
|
|
|
//进入授权页面
|
|
|
String redirect = devConfigService.getValueByKey("wx_front_authed_page");
|