Commit b5ee75ff by fudahua

登陆接口

parent cceb2a44
...@@ -292,13 +292,7 @@ public class LoginController extends WebBaseController{ ...@@ -292,13 +292,7 @@ public class LoginController extends WebBaseController{
return resultResponse(HaoBanErrCode.ERR_6); return resultResponse(HaoBanErrCode.ERR_6);
} }
if (!StringUtils.isNotBlank(wxEnterpriseId)) { return resultResponse(HaoBanErrCode.ERR_1, enterpriseDTOList);
List<WxEnterpriseDTO> enterpriseDTOS = enterpriseDTOList.stream().filter(dto -> dto.getWxEnterpriseId().equals(wxEnterpriseId)).collect(Collectors.toList());
return resultResponse(HaoBanErrCode.ERR_1, enterpriseDTOS);
} else {
logger.info("登陆选择多个企业:{}", JSONObject.toJSONString(enterpriseDTOList));
return resultResponse(HaoBanErrCode.ERR_1, enterpriseDTOList);
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment