Commit 4b512164 authored by luzhuang's avatar luzhuang

人员权限校验

parent aceb37d7
......@@ -3,7 +3,6 @@ package org.rcisoft.common.util.feignClient;
import org.rcisoft.core.result.Ret;
import org.rcisoft.common.util.feignDto.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.*;
......@@ -66,7 +65,7 @@ public interface ContactFeignClient {
/**
* 根据用户id获取用户信息(多个)
*/
@RequestMapping(value = "/account/get_user_head",method = RequestMethod.POST,consumes = MediaType.APPLICATION_JSON_VALUE)
@RequestMapping(value = "/account/get_user_head",method = RequestMethod.POST)
Ret<List<MTAccountIdRspDTO>> accountGetUserHead(@RequestBody MTUserGetsAccountReqDTO mtUserGetsReqDTO,
@RequestParam("zxClientType") String zxClientType,
@RequestParam("zxAccountId") Long zxAccountId);
......
......@@ -134,7 +134,7 @@ public class MTNotificationApiRequestClient {
log.debug("----------------------通知-权限验证---------------------");
Ret<List<Long>> haveJurisList = microappApiRequestClient.haveJurisdictionUserFast(haveJurisdictionReqDTO);
log.debug("----------------------通知-权限验证返回结果----------------------"+haveJurisList.getData());
if (haveJurisList.getData() == null){
if (haveJurisList.getData() == null || haveJurisList.getData().size() < 1){
return false;
}
List<String> haveJurisAccountIds = new ArrayList<>();
......
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